TUserPointsOrder.java 1009 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package com.aitori.entity;
  2. import com.baomidou.mybatisplus.annotation.*;
  3. import io.swagger.v3.oas.annotations.media.Schema;
  4. import lombok.Data;
  5. import java.io.Serial;
  6. import java.io.Serializable;
  7. import java.math.BigDecimal;
  8. import java.time.LocalDateTime;
  9. @Data
  10. @TableName("t_user_points_order")
  11. @Schema(description = "用户积分订单表")
  12. public class TUserPointsOrder implements Serializable {
  13. @Serial
  14. private static final long serialVersionUID = 1L;
  15. @TableId(value = "id", type = IdType.AUTO)
  16. private Long id;
  17. @Schema(description = "用户ID")
  18. private Long userId;
  19. @Schema(description = "产品ID")
  20. private Integer productId;
  21. @Schema(description = "积分")
  22. private Integer points;
  23. @Schema(description = "交易ID")
  24. private String transactionId;
  25. @Schema(description = "支付价格")
  26. private BigDecimal payPrice;
  27. @TableField(fill = FieldFill.INSERT)
  28. @Schema(description = "创建时间")
  29. private LocalDateTime createTime;
  30. }