From 352f7504b8e340996b37718950635a674d0045b0 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期一, 27 二月 2023 18:16:26 +0800
Subject: [PATCH] 订单管理

---
 management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/model/TCoupon.java |   68 +++++++++++++++++++++++++++++----
 1 files changed, 59 insertions(+), 9 deletions(-)

diff --git a/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/model/TCoupon.java b/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/model/TCoupon.java
index e4cee29..d2b091b 100644
--- a/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/model/TCoupon.java
+++ b/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/model/TCoupon.java
@@ -33,11 +33,21 @@
     /**
      * 创建时间
      */
-    private Date createtime;
+    @ApiModelProperty(value = "创建时间")
+    @TableField("create_time")
+    private Date createTime;
 
     @ApiModelProperty(value = "用户id")
     @TableField("user_id")
     private Integer userId;
+
+    @ApiModelProperty(value = "代理商id")
+    @TableField("agent_id")
+    private Integer agentId;
+
+    @ApiModelProperty(value = "分公司id")
+    @TableField("branch_office_id")
+    private Integer branchOfficeId;
 
     @ApiModelProperty(value = "优惠券名称")
     @TableField("coupon_name")
@@ -74,6 +84,34 @@
     @ApiModelProperty(value = "赠送数量 新人券")
     @TableField("coupon_send_quantity")
     private Integer couponSendQuantity;
+
+    @ApiModelProperty(value = "是否冻结 1正常 2冻结")
+    @TableField("coupon_state")
+    private Integer couponState;
+
+    public Integer getAgentId() {
+        return agentId;
+    }
+
+    public void setAgentId(Integer agentId) {
+        this.agentId = agentId;
+    }
+
+    public Integer getBranchOfficeId() {
+        return branchOfficeId;
+    }
+
+    public void setBranchOfficeId(Integer branchOfficeId) {
+        this.branchOfficeId = branchOfficeId;
+    }
+
+    public Integer getCouponState() {
+        return couponState;
+    }
+
+    public void setCouponState(Integer couponState) {
+        this.couponState = couponState;
+    }
 
     public Integer getCouponValidity() {
         return couponValidity;
@@ -155,12 +193,12 @@
         this.id = id;
     }
 
-    public Date getCreatetime() {
-        return createtime;
+    public Date getCreateTime() {
+        return createTime;
     }
 
-    public void setCreatetime(Date createtime) {
-        this.createtime = createtime;
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
     }
 
     public String getCouponName() {
@@ -179,9 +217,21 @@
     @Override
     public String toString() {
         return "TCoupon{" +
-        "id=" + id +
-        ", createtime=" + createtime +
-        ", couponName=" + couponName +
-        "}";
+                "id=" + id +
+                ", createTime=" + createTime +
+                ", userId=" + userId +
+                ", agentId=" + agentId +
+                ", branchOfficeId=" + branchOfficeId +
+                ", couponName='" + couponName + '\'' +
+                ", couponType=" + couponType +
+                ", couponCode='" + couponCode + '\'' +
+                ", couponStatus=" + couponStatus +
+                ", couponServiceType=" + couponServiceType +
+                ", couponConditionalAmount=" + couponConditionalAmount +
+                ", couponPreferentialAmount=" + couponPreferentialAmount +
+                ", couponValidity=" + couponValidity +
+                ", couponSendQuantity=" + couponSendQuantity +
+                ", couponState=" + couponState +
+                '}';
     }
 }

--
Gitblit v1.7.1