/**
 *@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.time.LocalDateTime;

/**
 * @project sqltoy-quickstart
 * @author BJTU
 * @version 1.0.0 
 */
@Schema(name="TSysConfig",description="参数配置表")
@Data
@Accessors(chain = true)
@Entity(tableName="t_sys_config",comment="参数配置表",pk_constraint="PRIMARY")
public class TSysConfig implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5878987348227149253L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="id",description="参数主键",nullable=false)
	@Id(strategy="identity")
	@Column(name="id",comment="参数主键",length=10L,type=java.sql.Types.INTEGER,nullable=false,autoIncrement=true)
	private Integer id;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="configName",description="参数名称",nullable=true)
	@Column(name="config_name",comment="参数名称",length=100L,defaultValue="",type=java.sql.Types.VARCHAR,nullable=true)
	private String configName;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="configKey",description="参数键名",nullable=true)
	@Column(name="config_key",comment="参数键名",length=100L,defaultValue="",type=java.sql.Types.VARCHAR,nullable=true)
	private String configKey;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="configValue",description="参数键值",nullable=true)
	@Column(name="config_value",comment="参数键值",length=200L,defaultValue="",type=java.sql.Types.VARCHAR,nullable=true)
	private String configValue;
	
	/**
	 * jdbcType:CHAR
	 */
	@Schema(name="configType",description="系统内置（Y是 N否）",nullable=true)
	@Column(name="config_type",comment="系统内置（Y是 N否）",length=1L,defaultValue="N",type=java.sql.Types.CHAR,nullable=true)
	private String configType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="createBy",description="创建者",nullable=true)
	@Column(name="create_by",comment="创建者",length=64L,defaultValue="",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,defaultValue="",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=200L,type=java.sql.Types.VARCHAR,nullable=true)
	private String remark;
	
	/** default constructor */
	public TSysConfig() {
	}
	
	/** pk constructor */
	public TSysConfig(Integer id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
