package com.hzy.project.business.invoice.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hzy.framework.aspectj.lang.annotation.Excel;
import com.hzy.framework.web.domain.BaseEntity;

/**
 * 发票对象 t_invoice
 * 
 * @author ruoyi
 * @date 2026-01-02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Invoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long invoiceId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 发票日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "发票日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invoiceDate;

    /** 发票文件路径 */
    @Excel(name = "发票文件路径")
    private String invoiceUrl;

    /** 发票金额 */
    @Excel(name = "发票金额")
    private BigDecimal grossAmount;

    /** 发票状态 */
    @Excel(name = "发票状态")
    private String invoiceStatus;

    /** 所得税标记 */
    @Excel(name = "所得税标记")
    private String incomeTaxFlag;

    /** 所得税税率 */
    @Excel(name = "所得税税率")
    private BigDecimal incomeTaxRate;

    /** 报销日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "报销日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reimbursementDate;

    /** 删除标志 */
    private String delFlag;

}
