package com.jkcredit.invoice.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jkcredit.invoice.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description: 发票实体
 * @author: sunzhaoning
 * @create: 2019-05-30 08:55
 * @version: V1.0
 **/
@Data
@ApiModel(value = "发票实体")
public class Invoice extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 2287864395092918879L;

    /**
     * 标识id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 发票抬头
     */
    @ApiModelProperty(value = "发票抬头")
    private String company;

    /**
     * 税号
     */
    @ApiModelProperty(value = "税号")
    private String dutyParagraph;

    /**
     * 银行账号
     */
    @ApiModelProperty(value = "银行账号")
    private String bankNumber;

    /**
     * 开户行
     */
    @ApiModelProperty(value = "开户行")
    private String bankAddress;

    /**
     * 公司地址
     */
    @ApiModelProperty(value = "公司地址")
    private String address;

    /**
     * 经营范围
     */
    @ApiModelProperty(value = "经营范围")
    private String operatingRangeType;

    /**
     * 购方电话
     */
    @ApiModelProperty(value = "购方电话")
    private String buyerTel;

    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人")
    private String contact;

    /**
     * 联系人电话
     */
    @ApiModelProperty(value = "联系人电话")
    private String contactTel;
}
