ShowTestPlanDt.java 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.railway.business.bi.domain;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import com.railway.common.core.domain.BaseEntity;
  4. import io.swagger.annotations.ApiModel;
  5. import io.swagger.annotations.ApiModelProperty;
  6. import java.time.LocalDate;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import org.hibernate.validator.constraints.Length;
  10. import org.springframework.format.annotation.DateTimeFormat;
  11. /**
  12. * 大屏展示-试验计划兑现情况-单体
  13. *
  14. * @author ZhaoMn 2023-02-09
  15. */
  16. @Data
  17. @ApiModel("大屏展示-试验计划兑现情况-单体")
  18. @EqualsAndHashCode(callSuper = true)
  19. public class ShowTestPlanDt extends BaseEntity {
  20. @ApiModelProperty(value = "主键", hidden = true)
  21. private Long id;
  22. @ApiModelProperty(value = "线路名称")
  23. @Length(min = 1, max = 255, message = "【线路名称】长度必须介于 {min} 和 {max} 之间")
  24. private String lineName;
  25. @ApiModelProperty(value = "所亭名称")
  26. @Length(min = 1, max = 255, message = "【所亭名称】长度必须介于 {min} 和 {max} 之间")
  27. private String substationName;
  28. @ApiModelProperty(value = "设备名称")
  29. @Length(min = 1, max = 255, message = "【设备名称】长度必须介于 {min} 和 {max} 之间")
  30. private String sbmc;
  31. @ApiModelProperty(value = "运行编号")
  32. @Length(min = 1, max = 255, message = "【运行编号】长度必须介于 {min} 和 {max} 之间")
  33. private String yxbh;
  34. @ApiModelProperty(value = "试验周期")
  35. @Length(min = 1, max = 255, message = "【试验周期】长度必须介于 {min} 和 {max} 之间")
  36. private String testCycle;
  37. @ApiModelProperty(value = "计划试验日期")
  38. @JsonFormat(pattern = "yyyy-MM-dd")
  39. @DateTimeFormat(pattern = "yyyy-MM-dd")
  40. private LocalDate testPlanDate;
  41. @ApiModelProperty(value = "完成日期")
  42. @JsonFormat(pattern = "yyyy-MM-dd")
  43. @DateTimeFormat(pattern = "yyyy-MM-dd")
  44. private LocalDate completionDate;
  45. @ApiModelProperty(value = "del_flag")
  46. private String delFlag;
  47. @ApiModelProperty(value = "导入文件记录ID")
  48. private Long fileId;
  49. public ShowTestPlanDt() {
  50. }
  51. }