package com.agentdriving.user.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* @author zhibing.pu
|
* @date 2023/3/24 9:59
|
*/
|
@Data
|
@TableName("t_bill")
|
public class Bill {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
@TableField("userId")
|
private Integer userId;
|
/**
|
* 订单id
|
*/
|
@TableField("orderId")
|
private Integer orderId;
|
/**
|
* 发票类型 1电子发票
|
*/
|
@TableField("billType")
|
private Integer billType;
|
/**
|
* 发票抬头 1公司 2个人
|
*/
|
@TableField("billHeaderType")
|
private Integer billHeaderType;
|
/**
|
* 公司名称/个人抬头名称
|
*/
|
@TableField("companyName")
|
private String companyName;
|
/**
|
* 公司税号
|
*/
|
@TableField("companyTaxNumber")
|
private String companyTaxNumber;
|
/**
|
* 发票内容
|
*/
|
@TableField("billContent")
|
private String billContent;
|
/**
|
* 更多内容
|
*/
|
@TableField("moreContent")
|
private String moreContent;
|
/**
|
* 发票金额
|
*/
|
@TableField("billAmount")
|
private Double billAmount;
|
/**
|
* 收件人姓名
|
*/
|
@TableField("addresseeName")
|
private String addresseeName;
|
/**
|
* 收件人电话
|
*/
|
@TableField("addresseePhone")
|
private String addresseePhone;
|
/**
|
* 收件人邮箱
|
*/
|
@TableField("addresseeEmail")
|
private String addresseeEmail;
|
/**
|
* 开票状态 1待开票 2已开票 3开票失败
|
*/
|
@TableField("state")
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
@TableField("createTime")
|
private Date createTime;
|
}
|