/**
 *@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="TSysSmsTemplate")
@Data
@Accessors(chain = true)
@Entity(tableName="t_sys_sms_template",comment="",pk_constraint="PRIMARY")
public class TSysSmsTemplate implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8046699642326794482L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="id",description="主键",nullable=false)
	@Id(strategy="generator",generator="cn.orm.sqltoy.plugins.id.impl.NanoTimeIdGenerator")
	@Column(name="id",comment="主键",length=32L,type=java.sql.Types.VARCHAR,nullable=false)
	private String id;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="templateName",description="模板标题",nullable=true)
	@Column(name="template_name",comment="模板标题",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String templateName;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="templateCode",description="模板CODE",nullable=true)
	@Column(name="template_code",comment="模板CODE",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String templateCode;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="templateType",description="模板类型：1短信 2邮件 3微信",nullable=true)
	@Column(name="template_type",comment="模板类型：1短信 2邮件 3微信",length=1L,type=java.sql.Types.VARCHAR,nullable=true)
	private String templateType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="templateContent",description="模板内容",nullable=true)
	@Column(name="template_content",comment="模板内容",length=1000L,type=java.sql.Types.VARCHAR,nullable=true)
	private String templateContent;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="templateTestJson",description="模板测试json",nullable=true)
	@Column(name="template_test_json",comment="模板测试json",length=1000L,type=java.sql.Types.VARCHAR,nullable=true)
	private String templateTestJson;
	
	/**
	 * 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="createBy",description="创建人登录名称",nullable=true)
	@Column(name="create_by",comment="创建人登录名称",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String createBy;
	
	/**
	 * 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="updateBy",description="更新人登录名称",nullable=true)
	@Column(name="update_by",comment="更新人登录名称",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String updateBy;
	
	/** default constructor */
	public TSysSmsTemplate() {
	}
	
	/** pk constructor */
	public TSysSmsTemplate(String id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
