package cn.iocoder.yudao.module.pms.controller.admin.depttype.vo;

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

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 部门类型新增/修改 Request VO")
@Data
public class IotDeptTypeSaveReqVO {

    @Schema(description = "部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8853")
    private Long id;

    @Schema(description = "部门ID", example = "22428")
    private Long deptId;

    @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "部门名称不能为空")
    private String name;

    @Schema(description = "部门状态（zj钻井 xj修井）", example = "2")
    private String type;

}