package cn.iocoder.lyzsys.module.tjt.controller.admin.profit.vo;

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

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Schema(description = "管理后台 - 项目成本结算测算保存 Request VO")
@Data
public class ProjectProfitSettlementSaveReqVO {

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

    @Schema(description = "考核结果")
    @Size(max = 64, message = "考核结果长度不能超过 64 个字符")
    private String assessmentResult;

    @Schema(description = "备注")
    @Size(max = 500, message = "备注长度不能超过 500 个字符")
    private String remark;

}
