|  | @@ -3,7 +3,10 @@ package com.ylx.massage.domain;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import com.baomidou.mybatisplus.annotation.TableLogic;
 |  |  import com.baomidou.mybatisplus.annotation.TableLogic;
 | 
											
												
													
														|  |  import com.baomidou.mybatisplus.extension.activerecord.Model;
 |  |  import com.baomidou.mybatisplus.extension.activerecord.Model;
 | 
											
												
													
														|  | 
 |  | +import io.swagger.annotations.ApiModel;
 | 
											
												
													
														|  |  import io.swagger.annotations.ApiModelProperty;
 |  |  import io.swagger.annotations.ApiModelProperty;
 | 
											
												
													
														|  | 
 |  | +import lombok.Getter;
 | 
											
												
													
														|  | 
 |  | +import lombok.Setter;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import java.io.Serializable;
 |  |  import java.io.Serializable;
 | 
											
												
													
														|  |  import java.math.BigDecimal;
 |  |  import java.math.BigDecimal;
 | 
											
										
											
												
													
														|  | @@ -15,7 +18,9 @@ import java.util.Date;
 | 
											
												
													
														|  |   * @author makejava
 |  |   * @author makejava
 | 
											
												
													
														|  |   * @since 2024-05-13 16:32:59
 |  |   * @since 2024-05-13 16:32:59
 | 
											
												
													
														|  |   */
 |  |   */
 | 
											
												
													
														|  | -@SuppressWarnings("serial")
 |  | 
 | 
											
												
													
														|  | 
 |  | +@Setter
 | 
											
												
													
														|  | 
 |  | +@Getter
 | 
											
												
													
														|  | 
 |  | +@ApiModel(value = "Coupon" ,description = "优惠券")
 | 
											
												
													
														|  |  public class Coupon extends Model<Coupon> {
 |  |  public class Coupon extends Model<Coupon> {
 | 
											
												
													
														|  |      //优惠券id
 |  |      //优惠券id
 | 
											
												
													
														|  |      @ApiModelProperty("优惠券id")
 |  |      @ApiModelProperty("优惠券id")
 | 
											
										
											
												
													
														|  | @@ -79,126 +84,6 @@ public class Coupon extends Model<Coupon> {
 | 
											
												
													
														|  |      private Integer isDelete;
 |  |      private Integer isDelete;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    public String getId() {
 |  | 
 | 
											
												
													
														|  | -        return id;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setId(String id) {
 |  | 
 | 
											
												
													
														|  | -        this.id = id;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public String getName() {
 |  | 
 | 
											
												
													
														|  | -        return name;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setName(String name) {
 |  | 
 | 
											
												
													
														|  | -        this.name = name;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Integer getType() {
 |  | 
 | 
											
												
													
														|  | -        return type;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setType(Integer type) {
 |  | 
 | 
											
												
													
														|  | -        this.type = type;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Integer getDiscountType() {
 |  | 
 | 
											
												
													
														|  | -        return discountType;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setDiscountType(Integer discountType) {
 |  | 
 | 
											
												
													
														|  | -        this.discountType = discountType;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public BigDecimal getDiscountValue() {
 |  | 
 | 
											
												
													
														|  | -        return discountValue;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setDiscountValue(BigDecimal discountValue) {
 |  | 
 | 
											
												
													
														|  | -        this.discountValue = discountValue;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public BigDecimal getThresholdAmount() {
 |  | 
 | 
											
												
													
														|  | -        return thresholdAmount;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setThresholdAmount(BigDecimal thresholdAmount) {
 |  | 
 | 
											
												
													
														|  | -        this.thresholdAmount = thresholdAmount;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Integer getObtainWay() {
 |  | 
 | 
											
												
													
														|  | -        return obtainWay;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setObtainWay(Integer obtainWay) {
 |  | 
 | 
											
												
													
														|  | -        this.obtainWay = obtainWay;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Integer getTermDays() {
 |  | 
 | 
											
												
													
														|  | -        return termDays;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setTermDays(Integer termDays) {
 |  | 
 | 
											
												
													
														|  | -        this.termDays = termDays;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Integer getStatus() {
 |  | 
 | 
											
												
													
														|  | -        return status;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setStatus(Integer status) {
 |  | 
 | 
											
												
													
														|  | -        this.status = status;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Integer getUsedNum() {
 |  | 
 | 
											
												
													
														|  | -        return usedNum;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setUsedNum(Integer usedNum) {
 |  | 
 | 
											
												
													
														|  | -        this.usedNum = usedNum;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Integer getUserLimit() {
 |  | 
 | 
											
												
													
														|  | -        return userLimit;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setUserLimit(Integer userLimit) {
 |  | 
 | 
											
												
													
														|  | -        this.userLimit = userLimit;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public String getExtParam() {
 |  | 
 | 
											
												
													
														|  | -        return extParam;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setExtParam(String extParam) {
 |  | 
 | 
											
												
													
														|  | -        this.extParam = extParam;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Date getCreateTime() {
 |  | 
 | 
											
												
													
														|  | -        return createTime;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setCreateTime(Date createTime) {
 |  | 
 | 
											
												
													
														|  | -        this.createTime = createTime;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Date getUpdateTime() {
 |  | 
 | 
											
												
													
														|  | -        return updateTime;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setUpdateTime(Date updateTime) {
 |  | 
 | 
											
												
													
														|  | -        this.updateTime = updateTime;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public Integer getIsDelete() {
 |  | 
 | 
											
												
													
														|  | -        return isDelete;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -    public void setIsDelete(Integer isDelete) {
 |  | 
 | 
											
												
													
														|  | -        this.isDelete = isDelete;
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |      /**
 |  |      /**
 | 
											
												
													
														|  |       * 获取主键值
 |  |       * 获取主键值
 | 
											
												
													
														|  |       *
 |  |       *
 |