package com.storlead.sales.mail.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.storlead.framework.mybatis.entity.SysBaseField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 邮件模板
 * </p>
 *
 * @author chenkq
 * @since 2024-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("email_templates")
@ApiModel(value="EmailTemplatesEntity对象", description="邮件模板")
public class EmailTemplatesEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "0:常用语：1：模板")
    @TableField("template_type")
    private String templateType;


    @ApiModelProperty(value = "模板名称")
    @TableField("template_title")
    private String templateTitle;

    @ApiModelProperty(value = "发件人邮箱")
    @TableField("template_content")
    private String templateContent;


}
