MesMdcl.java 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. package com.jeesite.modules.mes.entity;
  2. import java.util.List;
  3. import javax.validation.constraints.Size;
  4. import com.jeesite.common.collect.ListUtils;
  5. import com.jeesite.common.entity.DataEntity;
  6. import com.jeesite.common.mybatis.annotation.Column;
  7. import com.jeesite.common.mybatis.annotation.Table;
  8. /**
  9. * 密度测量表Entity
  10. * @author sxl
  11. * @version 2026-07-27
  12. */
  13. @Table(name="mes_mdcl", alias="a", label="密度测量表信息", columns={
  14. @Column(name="id", attrName="id", label="id", isPK=true),
  15. @Column(name="lu_code", attrName="luCode", label="炉号"),
  16. @Column(name="bao_code", attrName="baoCode", label="包号"),
  17. @Column(name="md_value", attrName="mdValue", label="密度值"),
  18. @Column(name="di_value", attrName="diValue", label="DI值"),
  19. @Column(name="remark", attrName="remark", label="备注"),
  20. @Column(name="result", attrName="result", label="判定结果"),
  21. @Column(name="create_by", attrName="createBy", label="创建人", isUpdate=false, isQuery=false),
  22. @Column(name="create_date", attrName="createDate", label="创建时间", isUpdate=false, isQuery=false, isUpdateForce=true),
  23. @Column(name="update_by", attrName="updateBy", label="更新人", isQuery=false),
  24. @Column(name="update_date", attrName="updateDate", label="更新时间", isQuery=false, isUpdateForce=true),
  25. }, orderBy="a.update_date DESC"
  26. )
  27. public class MesMdcl extends DataEntity<MesMdcl> {
  28. private static final long serialVersionUID = 1L;
  29. private String luCode; // 炉号
  30. private String baoCode; // 包号
  31. private String mdValue; // 密度值
  32. private String diValue; // DI值
  33. private String result; // 判定结果
  34. private String remark; //备注
  35. private List imgList = ListUtils.newArrayList(); // 图片
  36. public String getRemark() {
  37. return remark;
  38. }
  39. public void setRemark(String remark) {
  40. this.remark = remark;
  41. }
  42. public MesMdcl() {
  43. this(null);
  44. }
  45. public MesMdcl(String id){
  46. super(id);
  47. }
  48. @Size(min=0, max=64, message="炉号长度不能超过 64 个字符")
  49. public String getLuCode() {
  50. return luCode;
  51. }
  52. public void setLuCode(String luCode) {
  53. this.luCode = luCode;
  54. }
  55. @Size(min=0, max=64, message="包号长度不能超过 64 个字符")
  56. public String getBaoCode() {
  57. return baoCode;
  58. }
  59. public void setBaoCode(String baoCode) {
  60. this.baoCode = baoCode;
  61. }
  62. @Size(min=0, max=64, message="密度值长度不能超过 64 个字符")
  63. public String getMdValue() {
  64. return mdValue;
  65. }
  66. public void setMdValue(String mdValue) {
  67. this.mdValue = mdValue;
  68. }
  69. @Size(min=0, max=64, message="DI值长度不能超过 64 个字符")
  70. public String getDiValue() {
  71. return diValue;
  72. }
  73. public void setDiValue(String diValue) {
  74. this.diValue = diValue;
  75. }
  76. @Size(min=0, max=64, message="判定结果长度不能超过 64 个字符")
  77. public String getResult() {
  78. return result;
  79. }
  80. public void setResult(String result) {
  81. this.result = result;
  82. }
  83. public List getImgList() {
  84. return imgList;
  85. }
  86. public void setImgList(List imgList) {
  87. this.imgList = imgList;
  88. }
  89. }