package com.storlead.trade.entity;

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

@Data
@TableName("template")
public class TemplateEntity extends SysBaseField {

    @ApiModelProperty(value = "模板ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "模板类型")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "语言")
    @TableField("language")
    private String language;

    @ApiModelProperty(value = "主题")
    @TableField("subject")
    private String subject;

    @ApiModelProperty(value = "正文")
    @TableField("content")
    private String content;

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

//    @ApiModelProperty(value = "创建人")
//    @TableField("craete_by")
//    private Long craeteBy;
//
//    @ApiModelProperty(value = "创建时间")
//    @TableField("craete_time")
//    private LocalDateTime craeteTime;
//
//    @ApiModelProperty(value = "更新人")
//    @TableField("update_by")
//    private Long updateBy;
//
//    @ApiModelProperty(value = "更新时间")
//    @TableField("update_time")
//    private LocalDateTime updateTime;
}