package com.zc.business.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 值班人员信息对象 dc_employees
 * 
 * @author ruoyi
 * @date 2024-01-04
 */
public class DcEmployees extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** $column.columnComment */
    @ApiModelProperty("所属岗位")
//    @Excel(name = "所属岗位")
    private String postId;

    /** $column.columnComment */
    @ApiModelProperty("所属机构")
//    @Excel(name = "所属机构")
    private Long organizationId;

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

    /**  */
    @ApiModelProperty(value = "联系电话", required = true)
    @Excel(name = "联系电话")
    private String contactNumber;
    /**  */

    @ApiModelProperty("岗位")
    @Excel(name = "岗位")
    private String postName;

    @ApiModelProperty("机构")
    @Excel(name = "机构")
    private String organizationName;

    private  Long parentId;
    //人员类型1为路管人员2为应急人员
    @Excel(name = "人员类型 1-路管人员 2-交警人员")
    private Long employeesType;
    //类型参数
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getEmployeesType() {
        return employeesType;
    }

    public void setEmployeesType(Long employeesType) {
        this.employeesType = employeesType;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPostId(String postId) 
    {
        this.postId = postId;
    }

    public String getPostId() 
    {
        return postId;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContactNumber(String contactNumber) 
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() 
    {
        return contactNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("postId", getPostId())
            .append("organizationId", getOrganizationId())
            .append("name", getName())
            .append("contactNumber", getContactNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("employeesType", getEmployeesType())
            .toString();
    }
}