| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package com.zsElectric.boot.business.model.vo;
- import java.io.Serial;
- import java.io.Serializable;
- import java.time.LocalDateTime;
- import io.swagger.v3.oas.annotations.media.Schema;
- import lombok.Getter;
- import lombok.Setter;
- import java.time.LocalDateTime;
- import java.math.BigDecimal;
- /**
- * 优惠劵模板视图对象
- *
- * @author zsElectric
- * @since 2025-12-19 10:10
- */
- @Getter
- @Setter
- @Schema( description = "优惠劵模板视图对象")
- public class CouponTemplateVO implements Serializable {
- @Serial
- private static final long serialVersionUID = 1L;
- @Schema(description = "主键ID")
- private Long id;
- @Schema(description = "优惠券码")
- private String code;
- @Schema(description = "优惠劵名")
- private String name;
- @Schema(description = "类型:1(折扣)、2(满减)、3(无门槛)")
- private Integer type;
- @Schema(description = "优惠劵描述")
- private String description;
- @Schema(description = "状态 1.上线 2.下线")
- private Integer status;
- @Schema(description = "发放数量, -1 - 则表示不限制")
- private Integer totalCount;
- @Schema(description = "失效时间,领取后的几天。")
- private Integer failureTime;
- @Schema(description = "满减门槛 (设置满多少金额可用,单位:元)")
- private BigDecimal usePrice;
- @Schema(description = "优惠值(折扣率/减额)")
- private BigDecimal discountPrice;
- @Schema(description = "领取时间:周 星期一 1 2 3 4 5 6 7")
- private String validTimeWeeks;
- @Schema(description = "领取时间 时分 08:20")
- private String validTimeHour;
- @Schema(description = "发放的总数量")
- private Integer totalCountAll;
- @Schema(description = "失效的数量")
- private Integer failureCount;
- @Schema(description = "创建时间")
- private LocalDateTime createTime;
- @Schema(description = "创建人")
- private Long createBy;
- @Schema(description = "更新时间")
- private LocalDateTime updateTime;
- @Schema(description = "更新人")
- private Long updateBy;
- @Schema(description = "乐观锁")
- private Integer version;
- @Schema(description = "逻辑删除(0-未删除 1-已删除)")
- private Integer isDeleted;
- }
|