BusDmcgyq.java 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package com.railway.business.baseinfo.domain;
  2. import com.railway.common.core.domain.BaseEntity;
  3. import io.swagger.annotations.ApiModel;
  4. import io.swagger.annotations.ApiModelProperty;
  5. import lombok.Data;
  6. import lombok.EqualsAndHashCode;
  7. import org.hibernate.validator.constraints.Length;
  8. /**
  9. * 基础数据-地面磁感应器
  10. * @author zcf 2021-10-26
  11. */
  12. @Data
  13. @ApiModel("基础数据 - 地面磁感应器")
  14. @EqualsAndHashCode(callSuper = true)
  15. public class BusDmcgyq extends BaseEntity{
  16. @ApiModelProperty(value = "主键", hidden = true)
  17. private String id;
  18. @ApiModelProperty(value = "车间ID")
  19. private String deptId;
  20. @ApiModelProperty(value = "所属部门")
  21. private String deptName;
  22. @ApiModelProperty(value = "线别ID")
  23. private String lineId;
  24. @ApiModelProperty(value = "线别")
  25. private String lineName;
  26. @ApiModelProperty(value = "区间ID")
  27. @Length(min = 1, max = 20, message = "【区间ID】长度必须介于 {min} 和 {max} 之间")
  28. private String stationId;
  29. @ApiModelProperty(value = "站/区间")
  30. private String stationName;
  31. @ApiModelProperty(value = "行别")
  32. @Length(min = 1, max = 50, message = "【行别】长度必须介于 {min} 和 {max} 之间")
  33. private String xingbie;
  34. @ApiModelProperty(value = "行别")
  35. private String xingbieText;
  36. @ApiModelProperty(value = "支柱范围")
  37. @Length(min = 1, max = 50, message = "【支柱号】长度必须介于 {min} 和 {max} 之间")
  38. private String pillarArea;
  39. @ApiModelProperty(value = "股道")
  40. @Length(max = 100, message = "【股道】长度必须介于 {min} 和 {max} 之间")
  41. private String stationTrack;
  42. @ApiModelProperty(value = "管辖模式")
  43. @Length(max = 50, message = "【管辖模式】长度必须介于 {min} 和 {max} 之间")
  44. private String gxms;
  45. @ApiModelProperty(value = "分相处所")
  46. @Length(max = 100, message = "【分相处所】长度必须介于 {min} 和 {max} 之间")
  47. private String fxcs;
  48. @ApiModelProperty(value = "分相名称")
  49. @Length(min = 1, max = 100, message = "【分相名称】长度必须介于 {min} 和 {max} 之间")
  50. private String fxmc;
  51. @ApiModelProperty(value = "锚段号")
  52. @Length(max = 50, message = "【锚段号】长度必须介于 {min} 和 {max} 之间")
  53. private String mdh;
  54. @ApiModelProperty(value = "设备编号")
  55. @Length(min = 1, max = 50, message = "【设备编号】长度必须介于 {min} 和 {max} 之间")
  56. private String sbbh;
  57. @ApiModelProperty(value = "轨枕类型")
  58. @Length(max = 50, message = "【轨枕类型】长度必须介于 {min} 和 {max} 之间")
  59. private String gzlx;
  60. @ApiModelProperty(value = "磁枕里程")
  61. private Double czlc;
  62. @ApiModelProperty(value = "分相中心里程")
  63. private Double fxzxlc;
  64. @ApiModelProperty(value = "生产厂家")
  65. @Length(max = 100, message = "【生产厂家】长度必须介于 {min} 和 {max} 之间")
  66. private String sccj;
  67. @ApiModelProperty(value = "型号")
  68. @Length(max = 100, message = "【型号】长度必须介于 {min} 和 {max} 之间")
  69. private String xh;
  70. @ApiModelProperty(value = "del_flag")
  71. @Length(max = 1, message = "【del_flag】长度必须介于 {min} 和 {max} 之间")
  72. private String delFlag;
  73. @ApiModelProperty(value = "数据编号")
  74. @Length(max = 50, message = "【数据编号】长度必须介于 {min} 和 {max} 之间")
  75. private String sjbh;
  76. }