Invoice.java 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. package com.fdkankan.ucenter.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableLogic;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import java.io.Serializable;
  8. import java.math.BigDecimal;
  9. import java.util.Date;
  10. import lombok.Getter;
  11. import lombok.Setter;
  12. /**
  13. * <p>
  14. * 发票表
  15. * </p>
  16. *
  17. * @author
  18. * @since 2022-07-13
  19. */
  20. @Getter
  21. @Setter
  22. @TableName("t_invoice")
  23. public class Invoice implements Serializable {
  24. private static final long serialVersionUID = 1L;
  25. @TableId(value = "id", type = IdType.AUTO)
  26. private Long id;
  27. /**
  28. * 订单表t_order的id
  29. */
  30. @TableField("order_id")
  31. private Long orderId;
  32. /**
  33. * 订单表t_virtual_order的id 消费
  34. */
  35. @TableField("virtual_order_id")
  36. private Long virtualOrderId;
  37. /**
  38. * 订单表t_increment_order的id 权益
  39. */
  40. @TableField("increment_order_id")
  41. private Long incrementOrderId;
  42. /**
  43. * 用户表t_user的id
  44. */
  45. @TableField("user_id")
  46. private Long userId;
  47. /**
  48. * 发票类型,1表示不需要发票,2表示增值税普通发票,3表示增值税专用发票
  49. */
  50. @TableField("type")
  51. private Integer type;
  52. /**
  53. * 发票抬头(个人还是公司)
  54. */
  55. @TableField("title")
  56. private String title;
  57. /**
  58. * 税号
  59. */
  60. @TableField("code")
  61. private String code;
  62. /**
  63. * 创建时间
  64. */
  65. @TableField("create_time")
  66. private String createTime;
  67. /**
  68. * 公司名称
  69. */
  70. @TableField("organized_name")
  71. private String organizedName;
  72. /**
  73. * 公司地址
  74. */
  75. @TableField("organized_address")
  76. private String organizedAddress;
  77. /**
  78. * 注册电话
  79. */
  80. @TableField("register_phone")
  81. private String registerPhone;
  82. /**
  83. * 开户银行
  84. */
  85. @TableField("bank_name")
  86. private String bankName;
  87. /**
  88. * 银行账户
  89. */
  90. @TableField("bank_account")
  91. private String bankAccount;
  92. /**
  93. * 0表示购买相机,1表示充值,2会员权益, 3下载订单
  94. */
  95. @TableField("consume_type")
  96. private Integer consumeType;
  97. /**
  98. * 开票金额
  99. */
  100. @TableField("money")
  101. private BigDecimal money;
  102. /**
  103. * 相机主表t_camera的id
  104. */
  105. @TableField("camera_id")
  106. private Long cameraId;
  107. /**
  108. * 0:发票未开,1:发票已开,2:已发出
  109. */
  110. @TableField("finish")
  111. private Integer finish;
  112. /**
  113. * 电子发票收件邮箱
  114. */
  115. @TableField("email_address")
  116. private String emailAddress;
  117. /**
  118. * 记录的状态,A: 生效,I: 禁用
  119. */
  120. @TableField("rec_status")
  121. @TableLogic(value = "A",delval = "I")
  122. private String recStatus;
  123. /**
  124. * 更新时间
  125. */
  126. @TableField("update_time")
  127. private String updateTime;
  128. /**
  129. * 收货地址
  130. */
  131. @TableField("ship_address")
  132. private String shipAddress;
  133. /**
  134. * 收货地区
  135. */
  136. @TableField("ship_area")
  137. private String shipArea;
  138. /**
  139. * 收货地区路径
  140. */
  141. @TableField("ship_area_path")
  142. private String shipAreaPath;
  143. /**
  144. * 收货手机
  145. */
  146. @TableField("ship_mobile")
  147. private String shipMobile;
  148. /**
  149. * 收货人姓名
  150. */
  151. @TableField("ship_name")
  152. private String shipName;
  153. /**
  154. * 收货电话
  155. */
  156. @TableField("ship_phone")
  157. private String shipPhone;
  158. /**
  159. * 收货邮编
  160. */
  161. @TableField("ship_zip_code")
  162. private String shipZipCode;
  163. /**
  164. * 发送状态:0未发送,1快递发送,2邮箱发送
  165. */
  166. @TableField("send")
  167. private Integer send;
  168. /**
  169. * 快递公司
  170. */
  171. @TableField("express_company")
  172. private String expressCompany;
  173. /**
  174. * 快递单号
  175. */
  176. @TableField("express_number")
  177. private String expressNumber;
  178. /**
  179. * 电子发票存放url
  180. */
  181. @TableField("e_invoice")
  182. private String eInvoice;
  183. /**
  184. * 备注
  185. */
  186. @TableField("remarks")
  187. private String remarks;
  188. /**
  189. * 订单表t_download_order的id 权益
  190. */
  191. @TableField("download_order_id")
  192. private Long downloadOrderId;
  193. /**
  194. * 开票状态(0-否,1-是)
  195. */
  196. @TableField("invoiced")
  197. private Integer invoiced;
  198. }