DiscountsActivityVO.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.zsElectric.boot.business.model.vo;
  2. import java.io.Serial;
  3. import java.io.Serializable;
  4. import java.time.LocalDateTime;
  5. import io.swagger.v3.oas.annotations.media.Schema;
  6. import lombok.Getter;
  7. import lombok.Setter;
  8. import java.time.LocalDateTime;
  9. import java.math.BigDecimal;
  10. /**
  11. * 优惠活动视图对象
  12. *
  13. * @author zsElectric
  14. * @since 2025-12-20 16:16
  15. */
  16. @Getter
  17. @Setter
  18. @Schema(description = "优惠活动视图对象")
  19. public class DiscountsActivityVO implements Serializable {
  20. @Serial
  21. private static final long serialVersionUID = 1L;
  22. @Schema(description = "主键ID")
  23. private Long id;
  24. @Schema(description = "活动名称")
  25. private String name;
  26. @Schema(description = "优惠类型 1-新用户首单立减 2-活动折扣")
  27. private Integer type;
  28. @Schema(description = "优惠金额/折扣")
  29. private BigDecimal discount;
  30. @Schema(description = "活动描述")
  31. private String activityDesc;
  32. @Schema(description = "状态 0-未启用 1-启用")
  33. private Integer status;
  34. @Schema(description = "创建时间")
  35. private LocalDateTime createTime;
  36. @Schema(description = "创建人")
  37. private Long createBy;
  38. @Schema(description = "更新时间")
  39. private LocalDateTime updateTime;
  40. @Schema(description = "更新人")
  41. private Long updateBy;
  42. @Schema(description = "逻辑删除(0-未删除 1-已删除)")
  43. private Integer isDeleted;
  44. }