FbsTechnologicalProcess.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. package org.jeecg.modules.fbsBasedate.entity;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. import java.util.Date;
  5. import java.util.List;
  6. import com.baomidou.mybatisplus.annotation.IdType;
  7. import com.baomidou.mybatisplus.annotation.TableField;
  8. import com.baomidou.mybatisplus.annotation.TableId;
  9. import com.baomidou.mybatisplus.annotation.TableName;
  10. import lombok.Data;
  11. import com.fasterxml.jackson.annotation.JsonFormat;
  12. import org.springframework.format.annotation.DateTimeFormat;
  13. import org.jeecgframework.poi.excel.annotation.Excel;
  14. /**
  15. * @Description: 工艺流程档案
  16. * @author: jeecg-boot
  17. * @date: 2021-01-14
  18. * @version: V1.0
  19. */
  20. @Data
  21. @TableName("fbs_technological_process")
  22. public class FbsTechnologicalProcess implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. /**工艺流程主键*/
  25. @TableId(type = IdType.UUID)
  26. private String id;
  27. /**名称*/
  28. @Excel(name = "名称", width = 15)
  29. private String name;
  30. /**排序*/
  31. @Excel(name = "排序", width = 15)
  32. private Integer sort;
  33. /**备注*/
  34. @Excel(name = "备注", width = 15)
  35. private String memo;
  36. /**删除标记0正常1删除*/
  37. @Excel(name = "删除标记0正常1删除", width = 15)
  38. private String delFlag;
  39. /**创建人*/
  40. @Excel(name = "创建人", width = 15)
  41. private String createBy;
  42. /**创建时间*/
  43. @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  44. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  45. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  46. private Date createTime;
  47. /**最后修改人*/
  48. @Excel(name = "最后修改人", width = 15)
  49. private String updateBy;
  50. /**最后修改时间*/
  51. @Excel(name = "最后修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  52. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  53. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  54. private Date updateTime;
  55. /**自定义字段1*/
  56. @Excel(name = "自定义字段1", width = 15)
  57. private String def1;
  58. /**自定义字段2*/
  59. @Excel(name = "自定义字段2", width = 15)
  60. private String def2;
  61. /**自定义字段3*/
  62. @Excel(name = "自定义字段3", width = 15)
  63. private String def3;
  64. /**自定义字段4*/
  65. @Excel(name = "自定义字段4", width = 15)
  66. private String def4;
  67. /**自定义字段5*/
  68. @Excel(name = "自定义字段5", width = 15)
  69. private String def5;
  70. /**拉取时间*/
  71. private String pullDate;
  72. //存货名称
  73. @TableField(exist = false)
  74. private String cinvCName;
  75. //子表工艺名称
  76. @TableField(exist = false)
  77. private String itemName;
  78. //标准工时
  79. @TableField(exist = false)
  80. private BigDecimal standardWorkingHours;
  81. //明细
  82. @TableField(exist = false)
  83. private List<FbsTechnologicalProcessItem> fbsTechnologicalProcessItemList;
  84. }