package com.backendsys.entity.Ai.Aiivh; import com.backendsys.entity.validator.RangeStringArray; import lombok.Data; /** * AI数智人-用户配额使用记录表 (内部) */ @Data public class AiivhQuotaHistoryDTO { public static interface Create{} public static interface Update{} private Long id; private Long user_id; @RangeStringArray(message="触发类型取值有误,范围应是(MAKE_ANCHOR, MAKE_TIMBRE)", value = {"MAKE_ANCHOR", "MAKE_TIMBRE"}) private String activity_type; private String activity_type_description; @RangeStringArray(message="配额类型取值有误,范围应是(Anchor, Timbre)", value = {"Anchor", "Timbre"}) private String quota_type; private Integer quota_adjustment; // // @Range(min = 1, max = 9999, message = "形象配额数量必须在 {min} 到 {max} 之间") // private Integer anchor_count; // private Float anchor_subtotal_point; // // @Range(min = 1, max = 9999, message = "声音复刻配额数量必须在 {min} 到 {max} 之间") // private Integer timbre_count; // private Float timbre_subtotal_point; // // private Float total_point; private String create_time; private String create_time_begin; private String create_time_end; private String update_time; }