12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- package com.simuwang.base.pojo.dos;
- 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.simuwang.base.pojo.vo.EmailTemplateInfoVO;
- import lombok.Data;
- import java.util.Date;
- @Data
- @TableName("email_template_info")
- public class EmailTemplateInfoDO {
- /**
- * 主键Id
- */
- @TableId(value = "id",type = IdType.AUTO)
- private Integer id;
- /**
- * 模板名称
- */
- @TableId(value = "name")
- private String name;
- /**
- * 模板类型:1-excel类型,2-正文类型
- */
- @TableId(value = "type")
- private Integer type;
- /**
- * 模版方向:1-行,2-列,-1其他
- */
- @TableId(value = "direction")
- private Integer direction;
- /**
- * 循环开始数字或者字母
- */
- @TableId(value = "start_index")
- private String startIndex;
- /**
- * 循环结束数字或者字母
- */
- @TableId(value = "end_index")
- private String endIndex;
- /**
- * 模版备注
- */
- @TableId(value = "description")
- private String description;
- /**
- * 状态:0-关闭,1-开启
- */
- @TableId(value = "status")
- private Integer status;
- /**
- * 是否有效:0-无效,1-有效
- */
- @TableField(value = "isvalid")
- private Integer isvalid;
- /**
- * 创建者Id
- */
- @TableField(value = "creatorid")
- private Integer creatorId;
- /**
- * 创建时间
- */
- @TableField(value = "createtime")
- private Date createTime;
- /**
- * 修改者Id
- */
- @TableField(value = "updaterid")
- private Integer updaterId;
- /**
- * 更新时间
- */
- @TableField(value = "updatetime")
- private Date updateTime;
- public EmailTemplateInfoVO toVO() {
- EmailTemplateInfoVO vo = new EmailTemplateInfoVO();
- vo.setName(this.name);
- vo.setId(this.id);
- vo.setStatus(this.status);
- vo.setDescription(this.description);
- vo.setDirection(this.direction);
- vo.setType(this.type);
- return vo;
- }
- }
|