package com.ai.da.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "更新订阅计划")
public class UpdateSubscriptionPlanDTO {

    @Schema(description = "id")
    @NotNull(message = "subscription plan id cannot be empty")
    private Long id;

    @Schema(description = "当前订阅开始时间")
    private Long currentPeriodStart;

    @Schema(description = "当前订阅结束时间")
    private Long currentPeriodEnd;

    @Schema(description = "当前订阅总的子账号数量")
    private Integer accountNum;

    @Schema(description = "当前订阅可用积分上限")
    private BigDecimal creditLimit;

    @Schema(description = "管理员账户id")
    private Long adminAccId;

    @Schema(description = "订阅重命名")
    private String name;

}
