|
|
@@ -0,0 +1,190 @@
|
|
|
+package com.dk.mdm.model.pojo.mst;
|
|
|
+
|
|
|
+import cn.afterturn.easypoi.excel.annotation.Excel;
|
|
|
+import com.baomidou.mybatisplus.annotation.*;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+import com.dk.common.infrastructure.annotaiton.ExportTitle;
|
|
|
+import com.dk.common.infrastructure.handler.*;
|
|
|
+import com.dk.common.model.pojo.PageInfo;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 打印模版
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@AllArgsConstructor
|
|
|
+@NoArgsConstructor
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
+@Accessors(chain = true)
|
|
|
+@ExportTitle("打印模版")
|
|
|
+@TableName(value = "t_mst_print_layout", autoResultMap = true)
|
|
|
+@ApiModel(value="实体类:打印模版", description="表名:t_mst_print_layout")
|
|
|
+public class PrintLayout extends PageInfo<PrintLayout> implements Serializable {
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 数据库字段
|
|
|
+ */
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 模版ID
|
|
|
+ */
|
|
|
+ @TableId(value = "layout_id", type = IdType.AUTO)
|
|
|
+ @ApiModelProperty(value = "模版ID")
|
|
|
+ @TableField(typeHandler = UuidTypeHandler.class)
|
|
|
+ private String layoutId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 模板名称
|
|
|
+ */
|
|
|
+ @Excel(name = "模板名称")
|
|
|
+ @ApiModelProperty(value = "模板名称")
|
|
|
+ private String layoutName;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 模板数据
|
|
|
+ */
|
|
|
+ @Excel(name = "模板数据")
|
|
|
+ @ApiModelProperty(value = "模板数据")
|
|
|
+ @TableField(typeHandler = JsonTypeHandler.class)
|
|
|
+ private JSONObject layoutData;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 业务单据
|
|
|
+ */
|
|
|
+ @Excel(name = "业务单据")
|
|
|
+ @ApiModelProperty(value = "业务单据")
|
|
|
+ private String docName;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 显示顺序 (【1 ~ 46655】)
|
|
|
+ */
|
|
|
+ @Excel(name = "显示顺序 (【1 ~ 46655】)")
|
|
|
+ @ApiModelProperty(value = "显示顺序 (【1 ~ 46655】)")
|
|
|
+ private Integer displayNo;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 有效标识
|
|
|
+ */
|
|
|
+ @Excel(name = "有效标识")
|
|
|
+ @ApiModelProperty(value = "有效标识")
|
|
|
+ private Boolean flgValid;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 备注
|
|
|
+ */
|
|
|
+ @Excel(name = "备注")
|
|
|
+ @ApiModelProperty(value = "备注")
|
|
|
+ private String remarks;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 企业ID
|
|
|
+ */
|
|
|
+ @TableField(fill = FieldFill.INSERT)
|
|
|
+ @Excel(name = "企业ID")
|
|
|
+ @ApiModelProperty(value = "企业ID")
|
|
|
+ private Integer cpId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "创建时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
|
|
|
+ @ApiModelProperty(value = "创建时间 (触发器自动处理)")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @TableField(typeHandler = TimestampTypeHandler.class)
|
|
|
+ private LocalDateTime opCreateTime;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建用户 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "创建用户 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "创建用户 (触发器自动处理)")
|
|
|
+ @TableField(typeHandler = UuidTypeHandler.class)
|
|
|
+ private String opCreateUserId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改时间 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "修改时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
|
|
|
+ @ApiModelProperty(value = "修改时间 (触发器自动处理)")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @TableField(typeHandler = TimestampTypeHandler.class)
|
|
|
+ private LocalDateTime opUpdateTime;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改用户 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "修改用户 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "修改用户 (触发器自动处理)")
|
|
|
+ @TableField(typeHandler = UuidTypeHandler.class)
|
|
|
+ private String opUpdateUserId;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据操作应用 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "数据操作应用 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "数据操作应用 (触发器自动处理)")
|
|
|
+ private String opAppCode;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据时间戳 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "数据时间戳 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "数据时间戳 (触发器自动处理)")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
+ @TableField(typeHandler = TimestampTypeHandler.class)
|
|
|
+ private LocalDateTime opTimestamp;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据操作数据库用户 (触发器自动处理)
|
|
|
+ */
|
|
|
+ @Excel(name = "数据操作数据库用户 (触发器自动处理)")
|
|
|
+ @ApiModelProperty(value = "数据操作数据库用户 (触发器自动处理)")
|
|
|
+ private String opDbUser;
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 相关属性
|
|
|
+ * @TableField(exist = false)
|
|
|
+ */
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 关联属性 + 查询条件
|
|
|
+ * @TableField(exist = false)
|
|
|
+ */
|
|
|
+ /**
|
|
|
+ * 有效标识list
|
|
|
+ */
|
|
|
+ @TableField(exist = false)
|
|
|
+ @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
|
|
|
+ private List<Boolean> flgValidList;
|
|
|
+
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+}
|