|
@@ -1,11 +1,12 @@
|
|
package com.diagbot.entity;
|
|
package com.diagbot.entity;
|
|
|
|
|
|
-import java.math.BigDecimal;
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
-import java.time.LocalDateTime;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
+
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
@@ -34,12 +35,12 @@ public class ProductOrder implements Serializable {
|
|
/**
|
|
/**
|
|
* 记录创建时间
|
|
* 记录创建时间
|
|
*/
|
|
*/
|
|
- private LocalDateTime gmtCreate;
|
|
|
|
|
|
+ private Date gmtCreate;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 记录修改时间,如果时间是1970年则表示纪录未修改
|
|
* 记录修改时间,如果时间是1970年则表示纪录未修改
|
|
*/
|
|
*/
|
|
- private LocalDateTime gmtModified;
|
|
|
|
|
|
+ private Date gmtModified;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 创建人,0表示无创建人值
|
|
* 创建人,0表示无创建人值
|
|
@@ -59,12 +60,12 @@ public class ProductOrder implements Serializable {
|
|
/**
|
|
/**
|
|
* 用户id
|
|
* 用户id
|
|
*/
|
|
*/
|
|
- private Integer userId;
|
|
|
|
|
|
+ private Long userId;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 下单时间(申请时间)
|
|
* 下单时间(申请时间)
|
|
*/
|
|
*/
|
|
- private LocalDateTime time;
|
|
|
|
|
|
+ private Date time;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 订单总价
|
|
* 订单总价
|
|
@@ -88,19 +89,19 @@ public class ProductOrder implements Serializable {
|
|
this.isDeleted = isDeleted;
|
|
this.isDeleted = isDeleted;
|
|
}
|
|
}
|
|
|
|
|
|
- public LocalDateTime getGmtCreate() {
|
|
|
|
|
|
+ public Date getGmtCreate() {
|
|
return gmtCreate;
|
|
return gmtCreate;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setGmtCreate(LocalDateTime gmtCreate) {
|
|
|
|
|
|
+ public void setGmtCreate(Date gmtCreate) {
|
|
this.gmtCreate = gmtCreate;
|
|
this.gmtCreate = gmtCreate;
|
|
}
|
|
}
|
|
|
|
|
|
- public LocalDateTime getGmtModified() {
|
|
|
|
|
|
+ public Date getGmtModified() {
|
|
return gmtModified;
|
|
return gmtModified;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setGmtModified(LocalDateTime gmtModified) {
|
|
|
|
|
|
+ public void setGmtModified(Date gmtModified) {
|
|
this.gmtModified = gmtModified;
|
|
this.gmtModified = gmtModified;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -128,19 +129,19 @@ public class ProductOrder implements Serializable {
|
|
this.num = num;
|
|
this.num = num;
|
|
}
|
|
}
|
|
|
|
|
|
- public Integer getUserId() {
|
|
|
|
|
|
+ public Long getUserId() {
|
|
return userId;
|
|
return userId;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setUserId(Integer userId) {
|
|
|
|
|
|
+ public void setUserId(Long userId) {
|
|
this.userId = userId;
|
|
this.userId = userId;
|
|
}
|
|
}
|
|
|
|
|
|
- public LocalDateTime getTime() {
|
|
|
|
|
|
+ public Date getTime() {
|
|
return time;
|
|
return time;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setTime(LocalDateTime time) {
|
|
|
|
|
|
+ public void setTime(Date time) {
|
|
this.time = time;
|
|
this.time = time;
|
|
}
|
|
}
|
|
|
|
|