package com.ruoyi.system.domain;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
/**
|
* 发票申请对象 sys_invoice
|
*
|
* @author ruoyi
|
* @date 2026-02-02
|
*/
|
public class SysInvoice extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 发票ID */
|
private Long invoiceId;
|
|
/** 服务单号(新系统ID) */
|
@Excel(name = "服务单号(新)")
|
private Long serviceOrderId;
|
|
/** 旧系统服务单号 */
|
@Excel(name = "服务单号(旧)")
|
private Long legacyServiceOrderId;
|
|
/** 开票类型(1-个人, 2-企业) */
|
@Excel(name = "开票类型", readConverterExp = "1=个人,2=企业")
|
private Integer invoiceType;
|
|
/** 发票抬头 */
|
@Excel(name = "发票抬头")
|
private String invoiceName;
|
|
/** 发票金额 */
|
@Excel(name = "发票金额")
|
private BigDecimal invoiceMoney;
|
|
/** 发票备注 */
|
@Excel(name = "发票备注")
|
private String invoiceRemarks;
|
|
/** 企业注册地址 */
|
@Excel(name = "企业注册地址")
|
private String companyAddress;
|
|
/** 企业开户银行 */
|
@Excel(name = "企业开户银行")
|
private String companyBank;
|
|
/** 企业银行帐号 */
|
@Excel(name = "企业银行帐号")
|
private String companyBankNo;
|
|
/** 邮编 */
|
@Excel(name = "邮编")
|
private String zipCode;
|
|
/** 邮寄地址 */
|
@Excel(name = "邮寄地址")
|
private String mailAddress;
|
|
/** 联系人 */
|
@Excel(name = "联系人")
|
private String contactName;
|
|
/** 联系电话 */
|
@Excel(name = "联系电话")
|
private String contactPhone;
|
|
/** 联系邮箱 */
|
@Excel(name = "联系邮箱")
|
private String contactEmail;
|
|
/** 申请状态(0-待审核, 1-已通过, 2-已驳回) */
|
@Excel(name = "申请状态", readConverterExp = "0=待审核,1=已通过,2=已驳回")
|
private Integer status;
|
|
/** 发票编号 */
|
@Excel(name = "发票编号")
|
private String invoiceNo;
|
|
/** 发票链接 */
|
@Excel(name = "发票链接")
|
private String invoiceUrl;
|
|
/** 申请人ID */
|
private Long applyUserId;
|
|
/** 申请时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date applyTime;
|
|
/** 审核人ID */
|
private Long auditUserId;
|
|
/** 审核时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date auditTime;
|
|
/** 审核备注 */
|
private String auditRemarks;
|
|
/** 同步状态(0-未同步, 1-已同步, 2-失败) */
|
private Integer syncStatus;
|
|
/** 旧系统发票ID */
|
private Integer legacyInvoiceId;
|
|
/** 服务单号(格式化,如GZ20260202-001)- 仅用于查询返回 */
|
private String serviceCode;
|
|
public void setInvoiceId(Long invoiceId)
|
{
|
this.invoiceId = invoiceId;
|
}
|
|
public Long getInvoiceId()
|
{
|
return invoiceId;
|
}
|
public void setServiceOrderId(Long serviceOrderId)
|
{
|
this.serviceOrderId = serviceOrderId;
|
}
|
|
public Long getServiceOrderId()
|
{
|
return serviceOrderId;
|
}
|
public void setLegacyServiceOrderId(Long legacyServiceOrderId)
|
{
|
this.legacyServiceOrderId = legacyServiceOrderId;
|
}
|
|
public Long getLegacyServiceOrderId()
|
{
|
return legacyServiceOrderId;
|
}
|
public void setInvoiceType(Integer invoiceType)
|
{
|
this.invoiceType = invoiceType;
|
}
|
|
public Integer getInvoiceType()
|
{
|
return invoiceType;
|
}
|
public void setInvoiceName(String invoiceName)
|
{
|
this.invoiceName = invoiceName;
|
}
|
|
public String getInvoiceName()
|
{
|
return invoiceName;
|
}
|
public void setInvoiceMoney(BigDecimal invoiceMoney)
|
{
|
this.invoiceMoney = invoiceMoney;
|
}
|
|
public BigDecimal getInvoiceMoney()
|
{
|
return invoiceMoney;
|
}
|
public void setInvoiceRemarks(String invoiceRemarks)
|
{
|
this.invoiceRemarks = invoiceRemarks;
|
}
|
|
public String getInvoiceRemarks()
|
{
|
return invoiceRemarks;
|
}
|
public void setCompanyAddress(String companyAddress)
|
{
|
this.companyAddress = companyAddress;
|
}
|
|
public String getCompanyAddress()
|
{
|
return companyAddress;
|
}
|
public void setCompanyBank(String companyBank)
|
{
|
this.companyBank = companyBank;
|
}
|
|
public String getCompanyBank()
|
{
|
return companyBank;
|
}
|
public void setCompanyBankNo(String companyBankNo)
|
{
|
this.companyBankNo = companyBankNo;
|
}
|
|
public String getCompanyBankNo()
|
{
|
return companyBankNo;
|
}
|
public void setZipCode(String zipCode)
|
{
|
this.zipCode = zipCode;
|
}
|
|
public String getZipCode()
|
{
|
return zipCode;
|
}
|
public void setMailAddress(String mailAddress)
|
{
|
this.mailAddress = mailAddress;
|
}
|
|
public String getMailAddress()
|
{
|
return mailAddress;
|
}
|
public void setContactName(String contactName)
|
{
|
this.contactName = contactName;
|
}
|
|
public String getContactName()
|
{
|
return contactName;
|
}
|
public void setContactPhone(String contactPhone)
|
{
|
this.contactPhone = contactPhone;
|
}
|
|
public String getContactPhone()
|
{
|
return contactPhone;
|
}
|
public void setContactEmail(String contactEmail)
|
{
|
this.contactEmail = contactEmail;
|
}
|
|
public String getContactEmail()
|
{
|
return contactEmail;
|
}
|
public void setStatus(Integer status)
|
{
|
this.status = status;
|
}
|
|
public Integer getStatus()
|
{
|
return status;
|
}
|
public void setInvoiceNo(String invoiceNo)
|
{
|
this.invoiceNo = invoiceNo;
|
}
|
|
public String getInvoiceNo()
|
{
|
return invoiceNo;
|
}
|
public void setInvoiceUrl(String invoiceUrl)
|
{
|
this.invoiceUrl = invoiceUrl;
|
}
|
|
public String getInvoiceUrl()
|
{
|
return invoiceUrl;
|
}
|
public void setApplyUserId(Long applyUserId)
|
{
|
this.applyUserId = applyUserId;
|
}
|
|
public Long getApplyUserId()
|
{
|
return applyUserId;
|
}
|
public void setApplyTime(Date applyTime)
|
{
|
this.applyTime = applyTime;
|
}
|
|
public Date getApplyTime()
|
{
|
return applyTime;
|
}
|
public void setAuditUserId(Long auditUserId)
|
{
|
this.auditUserId = auditUserId;
|
}
|
|
public Long getAuditUserId()
|
{
|
return auditUserId;
|
}
|
public void setAuditTime(Date auditTime)
|
{
|
this.auditTime = auditTime;
|
}
|
|
public Date getAuditTime()
|
{
|
return auditTime;
|
}
|
public void setAuditRemarks(String auditRemarks)
|
{
|
this.auditRemarks = auditRemarks;
|
}
|
|
public String getAuditRemarks()
|
{
|
return auditRemarks;
|
}
|
|
public Integer getSyncStatus() {
|
return syncStatus;
|
}
|
|
public void setSyncStatus(Integer syncStatus) {
|
this.syncStatus = syncStatus;
|
}
|
|
public Integer getLegacyInvoiceId() {
|
return legacyInvoiceId;
|
}
|
|
public void setLegacyInvoiceId(Integer legacyInvoiceId) {
|
this.legacyInvoiceId = legacyInvoiceId;
|
}
|
|
public String getServiceCode() {
|
return serviceCode;
|
}
|
|
public void setServiceCode(String serviceCode) {
|
this.serviceCode = serviceCode;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("invoiceId", getInvoiceId())
|
.append("serviceOrderId", getServiceOrderId())
|
.append("legacyServiceOrderId", getLegacyServiceOrderId())
|
.append("invoiceType", getInvoiceType())
|
.append("invoiceName", getInvoiceName())
|
.append("invoiceMoney", getInvoiceMoney())
|
.append("invoiceRemarks", getInvoiceRemarks())
|
.append("companyAddress", getCompanyAddress())
|
.append("companyBank", getCompanyBank())
|
.append("companyBankNo", getCompanyBankNo())
|
.append("zipCode", getZipCode())
|
.append("mailAddress", getMailAddress())
|
.append("contactName", getContactName())
|
.append("contactPhone", getContactPhone())
|
.append("contactEmail", getContactEmail())
|
.append("status", getStatus())
|
.append("invoiceNo", getInvoiceNo())
|
.append("invoiceUrl", getInvoiceUrl())
|
.append("applyUserId", getApplyUserId())
|
.append("applyTime", getApplyTime())
|
.append("auditUserId", getAuditUserId())
|
.append("auditTime", getAuditTime())
|
.append("auditRemarks", getAuditRemarks())
|
.toString();
|
}
|
}
|