CouponVO.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. /**
  10. * 优惠劵视图对象
  11. *
  12. * @author zsElectric
  13. * @since 2025-12-19 09:58
  14. */
  15. @Getter
  16. @Setter
  17. @Schema( description = "优惠劵视图对象")
  18. public class CouponVO implements Serializable {
  19. @Serial
  20. private static final long serialVersionUID = 1L;
  21. @Schema(description = "优惠劵编号")
  22. private Long id;
  23. @Schema(description = "优惠劵模板编号")
  24. private Long templateId;
  25. @Schema(description = "优惠劵名")
  26. private String name;
  27. @Schema(description = "优惠券编码")
  28. private String couponCode;
  29. @Schema(description = "优惠码状态 1-未使用2-已使用3-已过期")
  30. private Integer status;
  31. @Schema(description = "优惠劵描述")
  32. private String description;
  33. @Schema(description = "用户编号")
  34. private Long userId;
  35. @Schema(description = "领取类型(1-用户领取 2-后台发放)")
  36. private Integer takeType;
  37. @Schema(description = "领取时间")
  38. private LocalDateTime takeTime;
  39. @Schema(description = "过期时间")
  40. private LocalDateTime expireTime;
  41. @Schema(description = "使用订单号")
  42. private Long useOrderId;
  43. @Schema(description = "使用时间")
  44. private LocalDateTime useTime;
  45. @Schema(description = "创建者")
  46. private Long createBy;
  47. @Schema(description = "创建时间")
  48. private LocalDateTime createTime;
  49. @Schema(description = "更新者")
  50. private Long updateBy;
  51. @Schema(description = "更新时间")
  52. private LocalDateTime updateTime;
  53. @Schema(description = "逻辑删除(0-未删除 1-已删除)")
  54. private Integer isDeleted;
  55. }