package com.sqx.modules.resumes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description invoice
 * @author fang
 * @date 2022-08-22
 */
@Data
public class Invoice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    /**
     * 发票id
     */
    private Long invoiceId;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 1专票 2普票
     */
    private Integer invoiceType;

    /**
     * 开票金额
     */
    private BigDecimal money;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 状态 1待开票 2已开票
     */
    private String status;

    /**
     * 创建时间
     */
    private String createTime;

    @TableField(exist = false)
    private String companyName;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String phone;

    public Invoice() {}
}
