package com.pj.tb_agreement;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
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)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;	

	/**
	 * 类型 
	 */
	private String type;	

	/**
	 * 内容 
	 */
	private String content;	





	


}
