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

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

@Schema(description = "管理后台 - 定额费率字段标签保存 Request VO")
@Data
public class QuotaRateFieldLabelSaveReqVO {

    @Schema(description = "标签ID（更新时必填）", example = "1")
    private Long id;

    @Schema(description = "模式节点ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "模式节点ID不能为空")
    private Long catalogItemId;

    @Schema(description = "标签名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "土石方工程")
    @NotBlank(message = "标签名称不能为空")
    private String labelName;

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

}
