|
@@ -1,37 +0,0 @@
|
|
|
-/*
|
|
|
- * 爱组搭,低代码组件化开发平台
|
|
|
- * ------------------------------------------
|
|
|
- * 受知识产权保护,请勿删除版权申明,开发平台不允许做非法网站,后果自负
|
|
|
- */
|
|
|
-package com.aizuda.boot.modules.system.entity;
|
|
|
-
|
|
|
-import com.aizuda.core.bean.SuperEntity;
|
|
|
-import com.aizuda.core.validation.Create;
|
|
|
-import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
-import jakarta.validation.constraints.NotNull;
|
|
|
-import jakarta.validation.constraints.PositiveOrZero;
|
|
|
-import lombok.Getter;
|
|
|
-import lombok.Setter;
|
|
|
-
|
|
|
-/**
|
|
|
- * 系统部门主管
|
|
|
- *
|
|
|
- * @author 青苗
|
|
|
- * @since 2024-03-22
|
|
|
- */
|
|
|
-@Getter
|
|
|
-@Setter
|
|
|
-@Schema(name = "SysDepartmentHead", description = "系统部门主管")
|
|
|
-public class SysDepartmentHead extends SuperEntity {
|
|
|
-
|
|
|
- @Schema(description = "部门ID")
|
|
|
- @NotNull(groups = Create.class)
|
|
|
- @PositiveOrZero
|
|
|
- private Long departmentId;
|
|
|
-
|
|
|
- @Schema(description = "主管ID")
|
|
|
- @NotNull(groups = Create.class)
|
|
|
- @PositiveOrZero
|
|
|
- private Long headId;
|
|
|
-
|
|
|
-}
|