/**
 *@Generated by sagacity-quickvo 5.0
 */
package cn.pojo.entity;

import java.io.Serializable;
import cn.orm.sqltoy.config.annotation.Entity;
import cn.orm.sqltoy.config.annotation.Id;
import cn.orm.sqltoy.config.annotation.Column;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * @project sqltoy-quickstart
 * @author BJTU
 * @version 1.0.0 
 */
@Schema(name="TSysDictData",description="字典数据表")
@Data
@Accessors(chain = true)
@Entity(tableName="t_sys_dict_data",comment="字典数据表",pk_constraint="PRIMARY")
public class TSysDictData implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 292279991676352403L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:BIGINT
	 */
	@Schema(name="id",description="字典编码",nullable=false)
	@Id(strategy="identity")
	@Column(name="id",comment="字典编码",length=19L,type=java.sql.Types.BIGINT,nullable=false,autoIncrement=true)
	private BigInteger id;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="dictSort",description="字典排序",nullable=true)
	@Column(name="dict_sort",comment="字典排序",length=10L,defaultValue="0",type=java.sql.Types.INTEGER,nullable=true)
	private Integer dictSort;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="dictLabel",description="字典标签(数据项名称/字典项文本)",nullable=true)
	@Column(name="dict_label",comment="字典标签(数据项名称/字典项文本)",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String dictLabel;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="dictValue",description="字典键值(数据项值)",nullable=true)
	@Column(name="dict_value",comment="字典键值(数据项值)",length=100L,type=java.sql.Types.VARCHAR,nullable=true)
	private String dictValue;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="dictType",description="字典类型",nullable=true)
	@Column(name="dict_type",comment="字典类型",length=80L,type=java.sql.Types.VARCHAR,nullable=true)
	private String dictType;
	
	/**
	 * jdbcType:CHAR
	 */
	@Schema(name="status",description="状态（0正常 1停用）",nullable=true)
	@Column(name="status",comment="状态（0正常 1停用）",length=1L,defaultValue="0",type=java.sql.Types.CHAR,nullable=true)
	private String status;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="createBy",description="创建者",nullable=true)
	@Column(name="create_by",comment="创建者",length=64L,type=java.sql.Types.VARCHAR,nullable=true)
	private String createBy;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="createTime",description="创建时间",nullable=true)
	@Column(name="create_time",comment="创建时间",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime createTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="updateBy",description="更新者",nullable=true)
	@Column(name="update_by",comment="更新者",length=64L,type=java.sql.Types.VARCHAR,nullable=true)
	private String updateBy;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="updateTime",description="更新时间",nullable=true)
	@Column(name="update_time",comment="更新时间",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime updateTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="remark",description="备注",nullable=true)
	@Column(name="remark",comment="备注",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String remark;
	
	/** default constructor */
	public TSysDictData() {
	}
	
	/** pk constructor */
	public TSysDictData(BigInteger id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
