package com.zt.plat.module.base.controller.admin.templtp.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "管理后台 - 实例字段值新增/修改 Request VO")
@Data
public class TemplateInstanceDataSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "10920")
    private Long id;

    @Schema(description = "关联实例主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "25824")
    @NotEmpty(message = "关联实例主键不能为空")
    private String inscId;

    @Schema(description = "字段标识;关联字段库", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "字段标识;关联字段库不能为空")
    private String fldKy;

    @Schema(description = "用户填写的值", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotEmpty(message = "用户填写的值不能为空")
    private Object fldVal;

}
