package com.cpop.oam.business.bo;

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


/**
 * 部门表Bo
 *
 * @author DB.lost
 * @since 2023-05-10
 */
@Data
@Accessors(chain = true)
@Schema(description = "部门表")
public class DeptBo {

    /**
     * 部门id
     */
    @Schema(description ="部门id")
    private String id;

    /**
     * 父部门id
     */
    @Schema(description ="父部门id")
    private String parentId;

    /**
     * 部门名称
     */
    @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    /**
     * 排序
     */
    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer orderNo;

    /**
     * 负责人
     */
    @Schema(description ="负责人")
    private String leader;

    /**
     * 电话
     */
    @Schema(description ="电话")
    private String phone;

    /**
     * 邮箱
     */
    @Schema(description ="邮箱")
    private String email;

    /**
     * 部门状态:1正常,0停用
     */
    @Schema(description = "部门状态:1正常,0停用", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean status;

    /**
     * 备注
     */
    @Schema(description ="备注")
    private String remark;

}
