AiivhQuotaHistoryDTO.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.backendsys.entity.Ai.Aiivh;
  2. import com.backendsys.entity.validator.RangeStringArray;
  3. import lombok.Data;
  4. /**
  5. * AI数智人-用户配额使用记录表 (内部)
  6. */
  7. @Data
  8. public class AiivhQuotaHistoryDTO {
  9. public static interface Create{}
  10. public static interface Update{}
  11. private Long id;
  12. private Long user_id;
  13. @RangeStringArray(message="触发类型取值有误,范围应是(MAKE_ANCHOR, MAKE_TIMBRE)", value = {"MAKE_ANCHOR", "MAKE_TIMBRE"})
  14. private String activity_type;
  15. private String activity_type_description;
  16. @RangeStringArray(message="配额类型取值有误,范围应是(Anchor, Timbre)", value = {"Anchor", "Timbre"})
  17. private String quota_type;
  18. private Integer quota_adjustment;
  19. //
  20. // @Range(min = 1, max = 9999, message = "形象配额数量必须在 {min} 到 {max} 之间")
  21. // private Integer anchor_count;
  22. // private Float anchor_subtotal_point;
  23. //
  24. // @Range(min = 1, max = 9999, message = "声音复刻配额数量必须在 {min} 到 {max} 之间")
  25. // private Integer timbre_count;
  26. // private Float timbre_subtotal_point;
  27. //
  28. // private Float total_point;
  29. private String create_time;
  30. private String create_time_begin;
  31. private String create_time_end;
  32. private String update_time;
  33. }