|
@@ -0,0 +1,233 @@
|
|
|
|
|
+package com.happy.Model;
|
|
|
|
|
+
|
|
|
|
|
+import java.util.Date;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * @Description
|
|
|
|
|
+ * @Author raojiaolong
|
|
|
|
|
+ * @Date 2023-08-21
|
|
|
|
|
+ */
|
|
|
|
|
+public class HotelCoupon {
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ private Integer id; // 主键
|
|
|
|
|
+
|
|
|
|
|
+ private String hotelIds; // 适用民宿
|
|
|
|
|
+
|
|
|
|
|
+ private String name; // 名称
|
|
|
|
|
+
|
|
|
|
|
+ private Integer type; // 类型(1.优惠卷 2.折扣卷)
|
|
|
|
|
+
|
|
|
|
|
+ private Double rebatePrice; // 折扣
|
|
|
|
|
+
|
|
|
|
|
+ private Double deductionPrice; // 减免金额
|
|
|
|
|
+
|
|
|
|
|
+ private Double maxDeduction; // 最大减免金额
|
|
|
|
|
+
|
|
|
|
|
+ private Integer grantNumber; // 发放数量
|
|
|
|
|
+
|
|
|
|
|
+ private Date limitNumber; // 每人限领
|
|
|
|
|
+
|
|
|
|
|
+ private Date grantStartDate; // 发放开始时间
|
|
|
|
|
+
|
|
|
|
|
+ private Date grantEndDate; // 发放结束时间
|
|
|
|
|
+
|
|
|
|
|
+ private Double meetPrice; // 满减金额
|
|
|
|
|
+
|
|
|
|
|
+ private Date effectiveStartDate; // 有效期开始时间
|
|
|
|
|
+
|
|
|
|
|
+ private Date effectiveEndDate; // 有效期结束时间
|
|
|
|
|
+
|
|
|
|
|
+ private Integer effectiveDay; // 生效时间天数
|
|
|
|
|
+
|
|
|
|
|
+ private Integer loseEffectiveDay; // 失效时间天数
|
|
|
|
|
+
|
|
|
|
|
+ private Integer createId; // 创建人
|
|
|
|
|
+
|
|
|
|
|
+ private Date createDate; // 创建时间
|
|
|
|
|
+
|
|
|
|
|
+ private Date modifyDate; // 修改时间
|
|
|
|
|
+
|
|
|
|
|
+ private Integer status; // 状态(0删除 1正常)
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Integer getId() {
|
|
|
|
|
+ return id;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setId(Integer id) {
|
|
|
|
|
+ this.id = id;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public String getHotelIds() {
|
|
|
|
|
+ return hotelIds;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setHotelIds(String hotelIds) {
|
|
|
|
|
+ this.hotelIds = hotelIds;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ 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 Double getRebatePrice() {
|
|
|
|
|
+ return rebatePrice;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setRebatePrice(Double rebatePrice) {
|
|
|
|
|
+ this.rebatePrice = rebatePrice;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Double getDeductionPrice() {
|
|
|
|
|
+ return deductionPrice;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setDeductionPrice(Double deductionPrice) {
|
|
|
|
|
+ this.deductionPrice = deductionPrice;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Double getMaxDeduction() {
|
|
|
|
|
+ return maxDeduction;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setMaxDeduction(Double maxDeduction) {
|
|
|
|
|
+ this.maxDeduction = maxDeduction;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Integer getGrantNumber() {
|
|
|
|
|
+ return grantNumber;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setGrantNumber(Integer grantNumber) {
|
|
|
|
|
+ this.grantNumber = grantNumber;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Date getLimitNumber() {
|
|
|
|
|
+ return limitNumber;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setLimitNumber(Date limitNumber) {
|
|
|
|
|
+ this.limitNumber = limitNumber;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Date getGrantStartDate() {
|
|
|
|
|
+ return grantStartDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setGrantStartDate(Date grantStartDate) {
|
|
|
|
|
+ this.grantStartDate = grantStartDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Date getGrantEndDate() {
|
|
|
|
|
+ return grantEndDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setGrantEndDate(Date grantEndDate) {
|
|
|
|
|
+ this.grantEndDate = grantEndDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Double getMeetPrice() {
|
|
|
|
|
+ return meetPrice;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setMeetPrice(Double meetPrice) {
|
|
|
|
|
+ this.meetPrice = meetPrice;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Date getEffectiveStartDate() {
|
|
|
|
|
+ return effectiveStartDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setEffectiveStartDate(Date effectiveStartDate) {
|
|
|
|
|
+ this.effectiveStartDate = effectiveStartDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Date getEffectiveEndDate() {
|
|
|
|
|
+ return effectiveEndDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setEffectiveEndDate(Date effectiveEndDate) {
|
|
|
|
|
+ this.effectiveEndDate = effectiveEndDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Integer getEffectiveDay() {
|
|
|
|
|
+ return effectiveDay;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setEffectiveDay(Integer effectiveDay) {
|
|
|
|
|
+ this.effectiveDay = effectiveDay;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Integer getLoseEffectiveDay() {
|
|
|
|
|
+ return loseEffectiveDay;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setLoseEffectiveDay(Integer loseEffectiveDay) {
|
|
|
|
|
+ this.loseEffectiveDay = loseEffectiveDay;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Integer getCreateId() {
|
|
|
|
|
+ return createId;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCreateId(Integer createId) {
|
|
|
|
|
+ this.createId = createId;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Date getCreateDate() {
|
|
|
|
|
+ return createDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCreateDate(Date createDate) {
|
|
|
|
|
+ this.createDate = createDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Date getModifyDate() {
|
|
|
|
|
+ return modifyDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setModifyDate(Date modifyDate) {
|
|
|
|
|
+ this.modifyDate = modifyDate;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public Integer getStatus() {
|
|
|
|
|
+ return status;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setStatus(Integer status) {
|
|
|
|
|
+ this.status = status;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+}
|