package cn.iocoder.yudao.module.pms.controller.admin.yanfan.category.vo;

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

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - yf产品分类新增/修改 Request VO")
@Data
public class IotYfCategorySaveReqVO {

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

    @Schema(description = "产品分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "产品分类名称不能为空")
    private String categoryName;

    @Schema(description = "租户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
//    @NotEmpty(message = "租户名称不能为空")
    private String tenantName;

    @Schema(description = "是否系统通用（0-否，1-是）", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "是否系统通用（0-否，1-是）不能为空")
    private Boolean isSys;

    @Schema(description = "父级ID", example = "19957")
    private Long parentId;

    @Schema(description = "显示顺序")
    private Integer orderNum;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "部门id", example = "32675")
    private Long deptId;

}
