/**
 *@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="TSysSms")
@Data
@Accessors(chain = true)
@Entity(tableName="t_sys_sms",comment="",pk_constraint="PRIMARY")
public class TSysSms implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8506641727593816233L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="id",description="ID",nullable=false)
	@Id(strategy="generator",generator="cn.orm.sqltoy.plugins.id.impl.NanoTimeIdGenerator")
	@Column(name="id",comment="ID",length=32L,type=java.sql.Types.VARCHAR,nullable=false)
	private String id;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="esTitle",description="消息标题",nullable=true)
	@Column(name="es_title",comment="消息标题",length=100L,type=java.sql.Types.VARCHAR,nullable=true)
	private String esTitle;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="esType",description="发送方式：1短信 2邮件 3微信",nullable=true)
	@Column(name="es_type",comment="发送方式：1短信 2邮件 3微信",length=1L,type=java.sql.Types.VARCHAR,nullable=true)
	private String esType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="esReceiver",description="接收人",nullable=true)
	@Column(name="es_receiver",comment="接收人",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String esReceiver;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="esParam",description="发送所需参数Json格式",nullable=true)
	@Column(name="es_param",comment="发送所需参数Json格式",length=1000L,type=java.sql.Types.VARCHAR,nullable=true)
	private String esParam;
	
	/**
	 * jdbcType:LONGTEXT
	 */
	@Schema(name="esContent",description="推送内容",nullable=true)
	@Column(name="es_content",comment="推送内容",length=2147483647L,type=java.sql.Types.VARCHAR,nullable=true)
	private String esContent;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="esSendTime",description="推送时间",nullable=true)
	@Column(name="es_send_time",comment="推送时间",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime esSendTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="esSendStatus",description="推送状态 0未推送 1推送成功 2推送失败 -1失败不再发送",nullable=true)
	@Column(name="es_send_status",comment="推送状态 0未推送 1推送成功 2推送失败 -1失败不再发送",length=1L,type=java.sql.Types.VARCHAR,nullable=true)
	private String esSendStatus;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="esSendNum",description="发送次数 超过5次不再发送",nullable=true)
	@Column(name="es_send_num",comment="发送次数 超过5次不再发送",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer esSendNum;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="esResult",description="推送失败原因",nullable=true)
	@Column(name="es_result",comment="推送失败原因",length=255L,type=java.sql.Types.VARCHAR,nullable=true)
	private String esResult;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="remark",description="备注",nullable=true)
	@Column(name="remark",comment="备注",length=500L,type=java.sql.Types.VARCHAR,nullable=true)
	private String remark;
	
	/**
	 * 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="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=32L,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;
	
	/** default constructor */
	public TSysSms() {
	}
	
	/** pk constructor */
	public TSysSms(String id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
