package com.pj.project.tb_agreement;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Model: tb_agreement -- 隐私政策管理
 * @author qzy 
 */
@Data
@Accessors(chain = true)
@TableName(TbAgreement.TABLE_NAME)
@EqualsAndHashCode(callSuper = false)
public class TbAgreement extends Model<TbAgreement> implements Serializable {

	// ---------- 模块常量 ----------
	/**
	 * 序列化版本id 
	 */
	private static final long serialVersionUID = 1L;	
	/**
	 * 此模块对应的表名 
	 */
	public static final String TABLE_NAME = "tb_agreement";	
	/**
	 * 此模块对应的权限码 
	 */
	public static final String PERMISSION_CODE = "tb-agreement";
	public static final String PERMISSION_CODE_ADD = "tb-agreement-add";
	public static final String PERMISSION_CODE_EDIT = "tb-agreement-edit";
	public static final String PERMISSION_CODE_DEL = "tb-agreement-del";




	// ---------- 表中字段 ----------
	/**
	 * 隐私政策管理主键 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;	

	/**
	 * 类型 
	 */
	private Integer textType;	

	/**
	 * 隐私管理文本内容 
	 */
	private String context;	

	/**
	 * 版本号 
	 */
	private Integer version;

	/**
	 * 创建时间 
	 */
	private String createTime;	





	


}
