package com.yhy.module.core.controller.admin.quota.vo;

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

@Schema(description = "管理后台 - 定额调整明细创建/更新 Request VO")
@Data
public class QuotaAdjustmentDetailSaveReqVO {

    @Schema(description = "主键ID", example = "1")
    private Long id;

    @Schema(description = "调整设置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "调整设置ID不能为空")
    private Long adjustmentSettingId;

    @Schema(description = "定额调整编号（引用其他调整设置ID）", example = "2")
    private Long adjustmentCode;

    @Schema(description = "调整内容", example = "增加10%")
    private String adjustment;

    @Schema(description = "排序", example = "1")
    private Integer sortOrder;

}
