package com.ho.user.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: DeptRespNodeVO
 * TODO:类文件简单描述
 * @Author:
 * @CreateDate: 2019/9/19 22:01
 * @UpdateUser:
 * @UpdateDate: 2019/9/19 22:01
 * @Version: 0.0.1
 */
@Data
public class DeptRespNodeVO {
    @ApiModelProperty(value = "组织id")
    private Integer id;

    @ApiModelProperty(value = "组织编码")
    private String deptNo;

    @ApiModelProperty(value = "组织名称")
    private String title;

    @ApiModelProperty(value = "组织父级id")
    private Integer pid;

    @ApiModelProperty(value = "组织状态")
    private Integer status;

    @ApiModelProperty(value = "组织关系id")
    private String relationCode;

    @ApiModelProperty(value = "是否展开 默认不展开(false)")
    private boolean spread;

    @ApiModelProperty(value = "部门经理名称 ---负责人")
    private String managerName;

    @ApiModelProperty(value = "部门经理电话 ---联系电话")
    private String phone;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "父级名称")
    private String pidName;

    @ApiModelProperty(value = "子集")
    private List<?> children;
}
