|
@@ -0,0 +1,226 @@
|
|
|
+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.TableId;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 订单明细表
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author gaodm
|
|
|
+ * @since 2018-09-18
|
|
|
+ */
|
|
|
+@TableName("diag_order_details")
|
|
|
+public class OrderDetails implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 订单明细id
|
|
|
+ */
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否删除,N:未删除,Y:删除
|
|
|
+ */
|
|
|
+ private String isDeleted;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 记录创建时间
|
|
|
+ */
|
|
|
+ private LocalDateTime gmtCreate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 记录修改时间,如果时间是1970年则表示纪录未修改
|
|
|
+ */
|
|
|
+ private LocalDateTime gmtModified;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建人,0表示无创建人值
|
|
|
+ */
|
|
|
+ private String creator;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改人,如果为0则表示纪录未修改
|
|
|
+ */
|
|
|
+ private String modifier;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 订单编号
|
|
|
+ */
|
|
|
+ private String orderNum;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 产品id
|
|
|
+ */
|
|
|
+ private Integer productId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 用户id
|
|
|
+ */
|
|
|
+ private Integer userId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 审核状态(0.不通过1.通过)
|
|
|
+ */
|
|
|
+ private Integer auditStatus;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 单个服务的价钱
|
|
|
+ */
|
|
|
+ private BigDecimal unitPrice;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 订单状态(0.未付款1.已付款)
|
|
|
+ */
|
|
|
+ private Integer status;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 不通过类型
|
|
|
+ */
|
|
|
+ private Integer rejectType;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 不通过原因
|
|
|
+ */
|
|
|
+ private String rejectReason;
|
|
|
+
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getIsDeleted() {
|
|
|
+ return isDeleted;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsDeleted(String isDeleted) {
|
|
|
+ this.isDeleted = isDeleted;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getGmtCreate() {
|
|
|
+ return gmtCreate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGmtCreate(LocalDateTime gmtCreate) {
|
|
|
+ this.gmtCreate = gmtCreate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getGmtModified() {
|
|
|
+ return gmtModified;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGmtModified(LocalDateTime gmtModified) {
|
|
|
+ this.gmtModified = gmtModified;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCreator() {
|
|
|
+ return creator;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreator(String creator) {
|
|
|
+ this.creator = creator;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getModifier() {
|
|
|
+ return modifier;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setModifier(String modifier) {
|
|
|
+ this.modifier = modifier;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getOrderNum() {
|
|
|
+ return orderNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrderNum(String orderNum) {
|
|
|
+ this.orderNum = orderNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getProductId() {
|
|
|
+ return productId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProductId(Integer productId) {
|
|
|
+ this.productId = productId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getUserId() {
|
|
|
+ return userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUserId(Integer userId) {
|
|
|
+ this.userId = userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getAuditStatus() {
|
|
|
+ return auditStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAuditStatus(Integer auditStatus) {
|
|
|
+ this.auditStatus = auditStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public BigDecimal getUnitPrice() {
|
|
|
+ return unitPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUnitPrice(BigDecimal unitPrice) {
|
|
|
+ this.unitPrice = unitPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getStatus() {
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStatus(Integer status) {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getRejectType() {
|
|
|
+ return rejectType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRejectType(Integer rejectType) {
|
|
|
+ this.rejectType = rejectType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRejectReason() {
|
|
|
+ return rejectReason;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRejectReason(String rejectReason) {
|
|
|
+ this.rejectReason = rejectReason;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "OrderDetails{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", isDeleted=" + isDeleted +
|
|
|
+ ", gmtCreate=" + gmtCreate +
|
|
|
+ ", gmtModified=" + gmtModified +
|
|
|
+ ", creator=" + creator +
|
|
|
+ ", modifier=" + modifier +
|
|
|
+ ", orderNum=" + orderNum +
|
|
|
+ ", productId=" + productId +
|
|
|
+ ", userId=" + userId +
|
|
|
+ ", auditStatus=" + auditStatus +
|
|
|
+ ", unitPrice=" + unitPrice +
|
|
|
+ ", status=" + status +
|
|
|
+ ", rejectType=" + rejectType +
|
|
|
+ ", rejectReason=" + rejectReason +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|