package com.lz.modules.flow.model;
import com.lz.modules.app.dto.DepartmentsSimpleDto;
import com.lz.modules.app.dto.StaffSimpleDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
* <p>
* </p>*考评组表
* @author quyixiao
* @since 2020-10-15
*/

@Data
@ApiModel(value = "考评组Dto")
public class EvaluationGroupDto {
    //
    @ApiModelProperty(value = "", name = "id")
    private Long id;
    //
    @ApiModelProperty(value = "", name = "name")
    private String name;
    //绩效管理员ID，system_user,id，逗号隔开
    @ApiModelProperty(value = "绩效管理员集合，如果人员离职不会返回", name = "managerIds")
    private List<StaffSimpleDto> managers;
    //参与部门id，逗号隔开
    @ApiModelProperty(value = "参与部门集合，如果部门不存在不会返回", name = "deps")
    private List<DepartmentsSimpleDto> deps;
    //参与考核员工staff_id，逗号隔开
    @ApiModelProperty(value = "参与考核员集合，如果人员离职不会返回", name = "staffs")
    private List<StaffSimpleDto> staffs;
    //0部门，1人员
    //排除人员ids，逗号隔开
    @ApiModelProperty(value = "排除人员集合，如果人员离职不会返回", name = "outs")
    private List<StaffSimpleDto> outs;
    /**
     *  
     * @return
     */
    public Long getId() {
        return id;
    }
    /**
     *  
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     *  
     * @return
     */
    public String getName() {
        return name;
    }
    /**
     *  
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }








    @Override
    public String toString() {
        return "EvaluationGroup{" +
                ",id=" + id +
                ",name=" + name +
                "}";
    }
}