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
35 lines
851 B
package com.qyft.ms.model.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import jakarta.validation.constraints.NotBlank;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
@Schema(description = "容器表")
|
|
@TableName("container")
|
|
@Data
|
|
public class Container {
|
|
@NotBlank
|
|
@Schema(description = "容器id")
|
|
private Long id;
|
|
|
|
@NotBlank
|
|
@Schema(description = "类型 0 溶液 1 废液")
|
|
private Long type;
|
|
|
|
@Schema(description = "溶液id")
|
|
private Long solutionId;
|
|
|
|
@Schema(description = "机器id")
|
|
private String pumpId;
|
|
|
|
@NotBlank
|
|
@Schema(description = "总容量")
|
|
private Integer capacityTotal;
|
|
|
|
@NotBlank
|
|
@Schema(description = "使用容量")
|
|
private Integer capacityUsed;
|
|
}
|