package com.hotent.baseInfo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 目录内容新增DTO
 *
 * @author 超级管理员
 * @since 2025-01-23
 */
@ApiModel(value = "ContentCreateDto", description = "目录内容新增DTO")
@Getter
@Setter
public class ContentCreateDto {

    @ApiModelProperty(value = "目录ID  修改时传入")
    private String catalogId;

    @ApiModelProperty(value = "上级类别ID", required = true)
    @NotEmpty(message = "上级类别ID不能为空")
    private String parentId;

    @ApiModelProperty(value = "目录编码", required = true)
    private String code;

    @ApiModelProperty(value = "内容名称", required = true)
    @NotEmpty(message = "内容名称不能为空")
    private String catalogName;

    @ApiModelProperty(value = "监审形式（多选）", required = true)
    @NotEmpty(message = "监审形式不能为空")
    private String auditType;

    @ApiModelProperty(value = "定价部门", required = true)
    @NotEmpty(message = "定价部门不能为空")
    private String pricingDept;


    @ApiModelProperty(value = "定价级别")
    private String priceLevel;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "节点类型")
    private String nodeType;
}