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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 系数调整类别配置 VO")
@Data
public class QuotaAdjustmentCoefficientCategoryVO {

    @Schema(description = "类别ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "类别ID不能为空")
    private Long categoryId;

    @Schema(description = "类别名称", example = "人工")
    private String categoryName;

    @Schema(description = "类别类型", example = "labor")
    private String categoryType;

    @Schema(description = "系数", requiredMode = Schema.RequiredMode.REQUIRED, example = "1.2")
    @NotNull(message = "系数不能为空")
    private BigDecimal coefficient;
}
