@ -19,7 +19,7 @@ public class Container extends BaseEntity {
@Schema(description = "溶液id")
private Long solutionId;
@Schema(description = "机器id")
@Schema(description = "泵id")
private String pumpId;
@NotBlank
@ -42,7 +42,9 @@ CREATE TABLE IF NOT EXISTS container (
solution_id INTEGER,
pump_id TEXT,
capacity_total INTEGER,
capacity_used INTEGER
capacity_used INTEGER,
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
INSERT OR IGNORE INTO container (id, type, solution_id, pump_id, capacity_total, capacity_used)