package cn.iocoder.yudao.module.system.controller.admin.tenantbalance.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 租户余额新增/修改 Request VO")
@Data
public class TenantBalanceSaveReqVO {

    @Schema(description = "租户 Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19954")
    private Long id;

    @Schema(description = "当前积分余额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "当前积分余额不能为空")
    private Integer balance;

    @Schema(description = "乐观锁版本号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "乐观锁版本号不能为空")
    private Integer version;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "更新时间不能为空")
    private LocalDateTime updatedAt;

    @Schema(description = "测试账号数")
    @ExcelProperty("测试账号数")
    private Integer testAccountNum;
}