From 01e64fe75bb1914c00ac2da749511296c6588f96 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期五, 24 二月 2023 18:25:51 +0800 Subject: [PATCH] 司机管理完善,佣金管理完成 --- management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/model/TCoupon.java | 36 +++++++++++++++++++++++++----------- 1 files changed, 25 insertions(+), 11 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 1d04f01..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,18 +33,20 @@ /** * 创建时间 */ - private Date createtime; + @ApiModelProperty(value = "创建时间") + @TableField("create_time") + private Date createTime; @ApiModelProperty(value = "用户id") @TableField("user_id") private Integer userId; @ApiModelProperty(value = "代理商id") - @TableField("agentId") + @TableField("agent_id") private Integer agentId; @ApiModelProperty(value = "分公司id") - @TableField("branchOfficeId") + @TableField("branch_office_id") private Integer branchOfficeId; @ApiModelProperty(value = "优惠券名称") @@ -191,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() { @@ -215,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