BusGlkg.java 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. package com.railway.business.catenary.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 author 2021-10-26
  11. */
  12. @Data
  13. @ApiModel("基础数据-检查表-隔离开关")
  14. @EqualsAndHashCode(callSuper = true)
  15. public class BusGlkg extends BaseEntity{
  16. @ApiModelProperty(value = "主键")
  17. private String id;
  18. @ApiModelProperty(value = "段别")
  19. @Length(min = 1, max = 100, message = "【段别】长度必须介于 {min} 和 {max} 之间")
  20. private String db;
  21. @ApiModelProperty(value = "所属部门")
  22. @Length(min = 1, max = 100, message = "【所属部门】长度必须介于 {min} 和 {max} 之间")
  23. private String bm;
  24. @ApiModelProperty(value = "所属部门名称")
  25. private String deptName;
  26. @ApiModelProperty(value = "线别")
  27. @Length(min = 1, max = 100, message = "【线别】长度必须介于 {min} 和 {max} 之间")
  28. private String xb;
  29. @ApiModelProperty(value = "线别名称")
  30. private String lineName;
  31. @ApiModelProperty(value = "区间")
  32. @Length(min = 1, max = 100, message = "【区间】长度必须介于 {min} 和 {max} 之间")
  33. private String qj;
  34. @ApiModelProperty(value = "区间名称")
  35. private String stationName;
  36. @ApiModelProperty(value = "行别")
  37. @Length(min = 1, max = 100, message = "【行别】长度必须介于 {min} 和 {max} 之间")
  38. private String hb;
  39. @ApiModelProperty(value = "行别字典中文")
  40. private String xingbieText;
  41. @ApiModelProperty(value = "支柱号")
  42. @Length(min = 1, max = 100, message = "【支柱号】长度必须介于 {min} 和 {max} 之间")
  43. private String zzh;
  44. @ApiModelProperty(value = "公里标")
  45. @Length(min = 1, max = 100, message = "【公里标】长度必须介于 {min} 和 {max} 之间")
  46. private String glb;
  47. @ApiModelProperty(value = "开关编号")
  48. @Length(min = 1, max = 100, message = "【开关编号】长度必须介于 {min} 和 {max} 之间")
  49. private String kgbh;
  50. @ApiModelProperty(value = "生产厂家")
  51. @Length(min = 1, max = 200, message = "【生产厂家】长度必须介于 {min} 和 {max} 之间")
  52. private String sccj;
  53. @ApiModelProperty(value = "开关型号")
  54. @Length(min = 1, max = 100, message = "【开关型号】长度必须介于 {min} 和 {max} 之间")
  55. private String kgxh;
  56. @ApiModelProperty(value = "del_flag")
  57. @Length(min = 1, max = 1, message = "【del_flag】长度必须介于 {min} 和 {max} 之间")
  58. private String delFlag;
  59. public BusGlkg() {
  60. }
  61. }