You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
851 B

5 months ago
  1. package com.qyft.ms.model.entity;
  2. import com.baomidou.mybatisplus.annotation.TableName;
  3. import io.swagger.v3.oas.annotations.media.Schema;
  4. import jakarta.validation.constraints.NotBlank;
  5. import lombok.Data;
  6. import lombok.EqualsAndHashCode;
  7. @EqualsAndHashCode(callSuper = false)
  8. @Schema(description = "容器表")
  9. @TableName("container")
  10. @Data
  11. public class Container {
  12. @NotBlank
  13. @Schema(description = "容器id")
  14. private Long id;
  15. @NotBlank
  16. @Schema(description = "类型 0 溶液 1 废液")
  17. private Long type;
  18. @Schema(description = "溶液id")
  19. private Long solutionId;
  20. @Schema(description = "机器id")
  21. private String pumpId;
  22. @NotBlank
  23. @Schema(description = "总容量")
  24. private Integer capacityTotal;
  25. @NotBlank
  26. @Schema(description = "使用容量")
  27. private Integer capacityUsed;
  28. }