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

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

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

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

    @Schema(description = "关联中间表业务主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4270")
    @NotEmpty(message = "关联中间表业务主键不能为空")
    private String bsnId;

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

    @Schema(description = "用户填写的值")
    private String fldVal;

}
