| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- package com.kym.entity.vo;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.kym.entity.BaseEntity;
- import lombok.Data;
- import lombok.experimental.Accessors;
- import java.time.LocalDateTime;
- import java.util.List;
- /**
- * 优惠券表
- *
- * @author skyline
- * @since 2024-04-25
- */
- @Data
- @Accessors(chain = true)
- public class CouponVo extends BaseEntity {
- /**
- * 活动id
- */
- private Long activityId;
- /**
- * 优惠券名称
- */
- private String name;
- /**
- * 优惠券描述
- */
- private String couponDesc;
- /**
- * 开始时间
- */
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private LocalDateTime startTime;
- /**
- * 结束时间
- */
- @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private LocalDateTime endTime;
- /**
- * 领取方式:Release-系统发放,Collect-主动领取
- */
- private String receiveType;
- /**
- * 券种:Discount折扣券、FullDiscount满减券
- */
- private String couponType;
- /**
- * 使用门槛:最小服务费金额(分)
- */
- private Integer minServiceMoney;
- /**
- * 折扣:100代表无折扣,75代表75折;折扣金额(分)
- */
- private Integer discount;
- /**
- * 优惠允许叠加:0-不允许,1-允许
- */
- private Integer allowStacke;
- /**
- * 数量限制
- */
- private Integer quantity;
- /**
- * 已领取/发放数量
- */
- private Integer claimedQuantity;
- /**
- * 已使用数量
- */
- private Integer usedQuantity;
- /**
- * 活动状态:0-未开始,1-进行中,2-已结束,3-已取消
- */
- private Integer status;
- /**
- * 备注
- */
- private String remark;
- /**
- * 适用站点ID
- */
- private List<String> stationIds;
- }
|