From 8ce578f52d2dc071beb043560baded7803787f07 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期三, 06 九月 2023 17:36:22 +0800
Subject: [PATCH] 删除鹓雏管理端的时间限制
---
standard-server/src/main/java/com/yuanchu/limslaboratory/pojo/Product.java | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/standard-server/src/main/java/com/yuanchu/limslaboratory/pojo/Product.java b/standard-server/src/main/java/com/yuanchu/limslaboratory/pojo/Product.java
index 14a985e..720a24d 100644
--- a/standard-server/src/main/java/com/yuanchu/limslaboratory/pojo/Product.java
+++ b/standard-server/src/main/java/com/yuanchu/limslaboratory/pojo/Product.java
@@ -60,11 +60,36 @@
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updateTime;
- @ApiModelProperty(value = "涔愯閿�", hidden = true)
+ @ApiModelProperty(value = "鐗堟湰", hidden = true)
private Integer version;
@ApiModelProperty(value = "鍏宠仈 鍨嬪彿id", example = "1", hidden = true)
private Integer specifications_id;
+ public Product() {
+ }
+ public Product(Integer id, String name, String father, String unit, String required, String internal, Integer state, Date createTime, Date updateTime, Integer version, Integer specifications_id) {
+ this.id = id;
+ this.name = name;
+ this.father = father;
+ this.unit = unit;
+ this.required = required;
+ this.internal = internal;
+ this.state = state;
+ this.createTime = createTime;
+ this.updateTime = updateTime;
+ this.version = version;
+ this.specifications_id = specifications_id;
+ }
+
+ public Product(String name, String father, String unit, Date createTime, Date updateTime, Integer version, Integer specifications_id) {
+ this.name = name;
+ this.father = father;
+ this.unit = unit;
+ this.createTime = createTime;
+ this.updateTime = updateTime;
+ this.version = version;
+ this.specifications_id = specifications_id;
+ }
}
--
Gitblit v1.9.3