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

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

import java.util.List;

/**
 * 票据上传对象 biz_archive_receive_ticket
 *
 * @author ruoyi
 * @date 2023-11-26
 */
@Data
@TableName(value = "biz_archive_receive_ticket")
public class BizArchiveReceiveTicket extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

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

    /** 年 */
    @Excel(name = "年")
    @ApiModelProperty(value = "年")
    private String year;

    /** 月 */
    @Excel(name = "月")
    @ApiModelProperty(value = "月")
    private String month;

    /** 票据类型 关联票据类型字典 */
    @ApiModelProperty(value = "月")
    private Long typeId;

    /** 文件地址 */
    @Excel(name = "文件地址")
    @ApiModelProperty(value = "文件地址")
    private String fileUrl;

    /** 文件名 */
    @Excel(name = "文件名")
    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty("文件列表")
    @TableField(exist = false)
    private List<BizArchiveReceiveTicket> files;

    @TableField(exist = false)
    private Integer isFinished;
    @TableField(exist = false)
    private BizArchiveReceiveTicketFinished uploadTicketFinished;

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


}
