package com.ruoyi.order.api.model; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDateTime; /** *

* *

* * @author xiaochen * @since 2024-08-07 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("t_order_invoice") @ApiModel(value="TOrderInvoice对象", description="") public class TOrderInvoice implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "主键") @TableId(value = "id", type = IdType.NONE) private Long id; @ApiModelProperty(value = "流水号") @TableField("code") private String code; @ApiModelProperty(value = "用户id") @TableField("app_user_id") private Long appUserId; @ApiModelProperty(value = "开票订单类型(1=充电订单,2=购物订单,3=兑换订单,4=会员订单)") @TableField("order_type") private Integer orderType; @ApiModelProperty(value = "开票公司") @TableField("invoicing_company") private String invoicingCompany; @ApiModelProperty(value = "发票类型id") @TableField("invoice_type_id") private Integer invoiceTypeId; @ApiModelProperty(value = "发票类型") @TableField("invoice_type") private String invoiceType; @ApiModelProperty(value = "发票材质(1=纸质发票,2=电子发票)") @TableField("invoice_material") private Integer invoiceMaterial; @ApiModelProperty(value = "开票方式(1=人工,2=自动)") @TableField("invoicing_method") private Integer invoicingMethod; @ApiModelProperty(value = "抬头类型(1=个人,2=企业)") @TableField("invoicing_object_type") private Integer invoicingObjectType; @ApiModelProperty(value = "名称") @TableField("name") private String name; @ApiModelProperty(value = "纳税识别号") @TableField("tax_identification_number") private String taxIdentificationNumber; @ApiModelProperty(value = "公司地址") @TableField("company_address") private String companyAddress; @ApiModelProperty(value = "公司电话") @TableField("company_phone") private String companyPhone; @ApiModelProperty(value = "开户银行") @TableField("deposit_bank") private String depositBank; @ApiModelProperty(value = "银行账户") @TableField("bank_account") private String bankAccount; @ApiModelProperty(value = "开票总金额") @TableField("total_amount") private BigDecimal totalAmount; @ApiModelProperty(value = "电子发票地址") @TableField("invoice_url") private String invoiceUrl; @ApiModelProperty(value = "邮箱") @TableField("mailbox") private String mailbox; @ApiModelProperty(value = "状态(1=待开票,2=开票中,3=已开票)") @TableField("status") private Integer status; @ApiModelProperty(value = "添加时间") @TableField("create_time") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime createTime; @ApiModelProperty(value = "开票时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField("billing_time") private LocalDateTime billingTime; @ApiModelProperty(value = "开票人id") @TableField("billing_user_id") private Integer billingUserId; }