package com.cpop.oam.business.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 部门表Bo
 *
 * @author DB.lost
 * @since 2023-05-10
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "SysDept对象", description = "部门表")
public class DeptBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     */
    @ApiModelProperty("部门id")
    private String id;

    /**
     * 父部门id
     */
    @ApiModelProperty("父部门id")
    private String parentId;

    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称",required = true)
    private String name;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序",required = true)
    private Integer orderNo;

    /**
     * 负责人
     */
    @ApiModelProperty("负责人")
    private String leader;

    /**
     * 电话
     */
    @ApiModelProperty("电话")
    private String phone;

    /**
     * 邮箱
     */
    @ApiModelProperty("邮箱")
    private String email;

    /**
     * 部门状态:1正常,0停用
     */
    @ApiModelProperty(value = "部门状态:1正常,0停用",required = true)
    private Boolean status;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

}
