package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-01-10
 */
@Getter
@Setter
@TableName("t_mail_template")
public class MailTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发件人邮箱
     */
    @TableField("send_mail")
    private String sendMail;

    /**
     * 发件人邮箱密码
     */
    @TableField("send_password")
    private String sendPassword;

    /**
     * 发件人主机
     */
    @TableField("send_host")
    private String sendHost;

    /**
     * 收件主题
     */
    @TableField("subject")
    private String subject;

    /**
     * 邮件内容
     */
    @TableField("msg")
    private String msg;

    @TableField("rec_status")
    @TableLogic(value = "A",delval = "I")
    private String recStatus;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 0订单发票，1深时演示场景，2验证码，3权益会员过期
     */
    @TableField("type")
    private Integer type;

    /**
     * zh 中文，en英文
     */
    @TableField("lang")
    private String lang;


}
