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

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
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 lombok.experimental.Accessors;

/**
 * 收票反馈对象 biz_financial_receive_ticket_feedback
 *
 * @author ruoyi
 * @date 2023-11-17
 */
@Data
@TableName(value = "biz_financial_receive_ticket_feedback")
@Accessors(chain = true)
public class BizFinancialReceiveTicketFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收票外键 */
    @ApiModelProperty(value = "${comment}")
    private Long financialReceiveTicketId;

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

    /** 收票详情外键 */
    @ApiModelProperty(value = "${comment}")
    private Long financialReceiveTicketDetailId;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd",sort=8)
    @ApiModelProperty(value = "回复时间")
    private Date feedbackTime;

    /** $column.columnComment */
    @ApiModelProperty(value = "回复时间")
    private Long tenantId;

    /** 回复详情 */
    @Excel(name = "回复详情",sort=7)
    @ApiModelProperty(value = "回复详情")
    private String feedbackContent;

    /** 是否同步信息 */
//    @Excel(name = "是否同步信息")
    @ApiModelProperty(value = "是否同步信息")
    private Integer needSync;

    /** 状态 */
    @ApiModelProperty(value = "状态")
    private Integer status;

    @TableField(exist = false)
    @Excel(name = "状态",sort=4)
    private String statusText;

    @TableField(exist = false)
    private String currentMonth;

    @Excel(name = "纳税性质",sort=3)
    @TableField(exist = false)
    private String taxType;

    @Excel(name = "反馈信息",sort=6)
    @ApiModelProperty(value = "反馈信息")
    private String remark;

    @Excel(name = "收票月份",sort=5)
    @TableField(exist = false)
    private String collectTicket;

    @TableField(exist = false)
    @Excel(name = "客户名称",sort=1)
    private String companyName;

    @TableField(exist = false)
    @Excel(name = "来源",sort=2)
    private String fromCompanyName;

    @TableField(exist = false)
    private String year;
    @TableField(exist = false)
    private String month;

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

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

    @TableField(exist = false)
    private String toTenantName;

    public void setRemark(String remark)
    {
        this.remark = remark;
    }
}
