InvoiceLibrary.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. package com.malk.qiwang.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import java.io.Serializable;
  6. import java.math.BigDecimal;
  7. import java.time.LocalDate;
  8. import java.time.LocalDateTime;
  9. import lombok.Getter;
  10. import lombok.Setter;
  11. /**
  12. * <p>
  13. * 发票库表
  14. * </p>
  15. *
  16. * @author LQY
  17. * @since 2026-04-27
  18. */
  19. @Getter
  20. @Setter
  21. @TableName("invoice_library")
  22. public class InvoiceLibrary implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. /**
  25. * 自增主键
  26. */
  27. @TableId(value = "id", type = IdType.AUTO)
  28. private Long id;
  29. /**
  30. * OA流水号
  31. */
  32. private String oaId;
  33. /**
  34. * 发票代码
  35. */
  36. private String invoiceCode;
  37. /**
  38. * 发票号码
  39. */
  40. private String invoiceNumber;
  41. /**
  42. * 发票类型
  43. */
  44. private String invoiceType;
  45. /**
  46. * 开票日期
  47. */
  48. private LocalDate invoiceDate;
  49. /**
  50. * 不含税金额
  51. */
  52. private BigDecimal amount;
  53. /**
  54. * 税额
  55. */
  56. private BigDecimal taxAmount;
  57. /**
  58. * 含税金额
  59. */
  60. private BigDecimal totalAmount;
  61. /**
  62. * 购买方名称
  63. */
  64. private String buyerName;
  65. /**
  66. * 购买方税号
  67. */
  68. private String buyerTaxId;
  69. /**
  70. * 销售方名称
  71. */
  72. private String sellerName;
  73. /**
  74. * 销售方税号
  75. */
  76. private String sellerTaxId;
  77. /**
  78. * 状态: 0: 流程中 1: 已通过
  79. */
  80. private String oaStatus;
  81. /**
  82. * 是否已经生成凭证 0: 否 1: 是
  83. */
  84. private String invoiceStatus;
  85. /**
  86. * 创建时间
  87. */
  88. private LocalDateTime createdAt;
  89. /**
  90. * 更新时间
  91. */
  92. private LocalDateTime updatedAt;
  93. /**
  94. * 科目
  95. */
  96. private String accountTitle;
  97. /**
  98. * 部门
  99. */
  100. private String dep;
  101. /**
  102. * 报销金额
  103. */
  104. private BigDecimal payAmount;
  105. /**
  106. * 表单名称
  107. */
  108. private String formName;
  109. // 付款主体
  110. private String paySubject;
  111. // 付款账号
  112. private String payAccount;
  113. //银行全称
  114. private String bankName;
  115. //是否长摊
  116. private String isLongTerm;
  117. //是否有发票
  118. private String hasInvoice;
  119. //子表报销金额
  120. private BigDecimal detailAmount;
  121. //共享税额
  122. private BigDecimal sharedTaxAmount;
  123. //共享未税金额
  124. private BigDecimal sharedAmount;
  125. //共享税率
  126. private String sharedRate;
  127. }