package com.fdkankan.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fdkankan.db.base.BaseEntity;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 开票登记表
 * </p>
 *
 * @author 
 * @since 2022-06-02
 */
@Data
@TableName("t_invoice_register")
public class InvoiceRegister {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("invoice_id")
    private Long invoiceId;

    /**
     * 发票编号
     */
    @TableField("invoice_num")
    private String invoiceNum;

    /**
     * 快递单号
     */
    @TableField("ship_num")
    private String shipNum;

    /**
     * 电子发票url
     */
    @TableField("invoice_url")
    private String invoiceUrl;

    /**
     * 创建人id
     */
    @TableField("creater_id")
    private Long createrId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 修改人id
     */
    @TableField("updater_id")
    private Long updaterId;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;

    /**
     * 0-有效，1-删除, 2-禁用
     */
    @TableField("tb_status")
    @TableLogic
    private Integer tbStatus;


}
