package cn.ezhizao.project.business.salary.domain;

import cn.ezhizao.framework.aspectj.lang.annotation.Excel;
import cn.ezhizao.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 工资对象 biz_financial_salary
 *
 * @author ruoyi
 * @date 2023-11-16
 */
@Data
@TableName(value = "biz_financial_salary")
public class BizFinancialSalary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户主键 */
    @ApiModelProperty(value = "${comment}")
    private Long companyId;

    /** 账套外键 */
    @ApiModelProperty(value = "${comment}")
    private Long accountSetsId;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private Long tenantId;

    /** 当前维护人员 */
    @ApiModelProperty(value = "${comment}")
    private Long currentEmployeeId;

    /** 全部维护人员 */
    @ApiModelProperty(value = "${comment}")
    private String employeeIds;

    /** 工单外键 */
    @ApiModelProperty(value = "${comment}")
    private Long workOrderId;

    /** 任务停止 */
    @Excel(name = "任务停止")
    @ApiModelProperty(value = "任务停止")
    private Integer isStop;

    /** 列表显示新增 */
    @TableField(exist = false)
    private String companyName;
    @TableField(exist = false)
    private String fromCompanyName;
    @TableField(exist = false)
    private String taxType;

    @TableField(exist = false)
    private List<BizFinancialSalaryDetail> details;

    /** 查询条件新增 */
    @TableField(exist = false)
    private String year;

    @TableField(exist = false)
    private String month;

    @TableField(exist = false)
    private Integer status;

    @TableField(exist = false)
    private Integer hasIndividualIncomeTax;

    @TableField(exist = false)
    private Integer isZero;

    //是否为自己负责(当前登陆人Id)
    @TableField(exist = false)
    private Long principal;

    //执行人
    @TableField(exist = false)
    private String serviceName;
}
