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

import cn.ezhizao.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author 周晓
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class BizSocialSecurityDeclare extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "客户主键")
    private Long companyId;

    @ApiModelProperty(value = "账套外键")
    private Integer accountSetsId;

    @ApiModelProperty(value = "登录账套外键")
    @TableField(value="tenant_id",fill= FieldFill.INSERT)
    private Long tenantId;

    @ApiModelProperty(value = "当前维护人员")
    private Long currentEmployeeId;

    @ApiModelProperty(value = "全部维护人员")
    private String employeeIds;

    @TableField(exist = false)
    private String companyName;
    @TableField(exist = false)
    private String companyLevel;
    @TableField(exist = false)
    private String currentDate;
    @TableField(exist = false)
    private String checkoutDate;

    @TableField(exist = false)
    private BizSocialSecurityDeclareDetail detail;

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

    @TableField(exist = false)
    private String fromCompanyName;

    @TableField(exist = false)
    private String taxType;

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

    @TableField(exist = false)
    private String keyword;

    @ApiModelProperty("工单外键")
    private Long workOrderId;
}
