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

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

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@ApiModel("biz_financial_keep_account 财务记账")
public class BizFinancialKeepAccount extends BaseEntity {
    @ApiModelProperty("客户外键")
    private Long companyId;
    @ApiModelProperty("账套外键")
    private Integer accountSetsId;
    @ApiModelProperty("登录账套外键")

    private Long tenantId;
    @ApiModelProperty("当前维护人员")
    private Long currentEmployeeId;
    @ApiModelProperty("全部维护人员")
    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 List<BizFinancialKeepAccountDetail> details;


    // 用于收票报表的属性
//    @TableField(exist = false)
//    private List<BizFinancialTicketReportDetail> receiveTickets;
//    @TableField(exist = false)
//    private List<BizFinancialTicketReportDetail> scanTickets;
//    @TableField(exist = false)
//    private List<BizFinancialTicketReportDetail> salaryTickets;

    @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;
    @ApiModelProperty(value = "是否零申报")
    @TableField(exist = false)
    private Integer isZero;
}
