xuhy
2023-03-02 3b4e776dfa939ae6f3206ab68fe038aabb14a5b3
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")
@@ -78,6 +88,46 @@
    @ApiModelProperty(value = "是否冻结 1正常 2冻结")
    @TableField("coupon_state")
    private Integer couponState;
    @ApiModelProperty(value = "优惠券数量")
    @TableField("coupon_count")
    private Integer couponCount;
    @ApiModelProperty(value = "剩余数量")
    @TableField("remaining_quantity")
    private Integer remainingQuantity;
    public Integer getRemainingQuantity() {
        return remainingQuantity;
    }
    public void setRemainingQuantity(Integer remainingQuantity) {
        this.remainingQuantity = remainingQuantity;
    }
    public Integer getCouponCount() {
        return couponCount;
    }
    public void setCouponCount(Integer couponCount) {
        this.couponCount = couponCount;
    }
    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;
@@ -167,12 +217,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() {
@@ -191,9 +241,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 +
                '}';
    }
}