longz
2026-05-28 aa67b3cb0fe26fab576f7710c978ff3594426cca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.sinata.appointment.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_dept")
@Schema(description = "部门")
public class SysDept extends BaseEntity {
 
    @Schema(description = "父部门 id,根为 0")
    private Long parentId;
 
    @Schema(description = "部门名称")
    private String deptName;
 
    @Schema(description = "排序")
    private Integer sortOrder;
 
    /** 1 启用 0 禁用 */
    @Schema(description = "部门状态:1启用 0禁用")
    private Integer status;
}