package com.ruoyi.credit.domain;

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_employee_library
 * 
 * @author ruoyi
 * @date 2025-12-22
 */
public class EmployeeLibrary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工库ID */
    private Long libraryId;

    /** 安保公司ID */
    @Excel(name = "安保公司ID")
    private Long companyId;

    /** 员工库名称 */
    @Excel(name = "员工库名称")
    private String libraryName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 员工总数 */
    @Excel(name = "员工总数")
    private Integer totalEmployees;

    /** 员工库状态 */
    @Excel(name = "员工库状态")
    private String libraryStatus;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    // 状态常量
    public static final String STATUS_ACTIVE = "ACTIVE";
    public static final String STATUS_INACTIVE = "INACTIVE";
    public static final String STATUS_ARCHIVED = "ARCHIVED";

    public void setLibraryId(Long libraryId) 
    {
        this.libraryId = libraryId;
    }

    public Long getLibraryId() 
    {
        return libraryId;
    }

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setLibraryName(String libraryName) 
    {
        this.libraryName = libraryName;
    }

    public String getLibraryName() 
    {
        return libraryName;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setTotalEmployees(Integer totalEmployees) 
    {
        this.totalEmployees = totalEmployees;
    }

    public Integer getTotalEmployees() 
    {
        return totalEmployees;
    }

    public void setLibraryStatus(String libraryStatus) 
    {
        this.libraryStatus = libraryStatus;
    }

    public String getLibraryStatus() 
    {
        return libraryStatus;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("libraryId", getLibraryId())
            .append("companyId", getCompanyId())
            .append("libraryName", getLibraryName())
            .append("description", getDescription())
            .append("totalEmployees", getTotalEmployees())
            .append("libraryStatus", getLibraryStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("deptId", getDeptId())
            .toString();
    }
}