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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.time.LocalDateTime;
import com.zt.plat.module.base.dal.dataobject.businessdictionarytype.BusinessDictionaryDataDO;

@Schema(description = "管理后台 - 业务字典类型新增/修改 Request VO")
@Data
public class BusinessDictionaryTypeSaveReqVO {

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

    @Schema(description = "字典名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "字典名称不能为空")
    private String name;

    @Schema(description = "字典类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "字典类型不能为空")
    private String type;

    @Schema(description = "状态(0正常 1停用)", example = "2")
    private Long status;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "删除时间")
    private LocalDateTime delTime;

    @Schema(description = "业务字典数据列表")
    private List<BusinessDictionaryDataDO> businessDictionaryDatas;

}