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;
|
}
|