package com.yuchen.saas.payment.api.entity.invoice;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * <p>
 * 自动开票表
 * </p>
 *
 * @author caiwq
 * @since 2024-08-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_invoice_auto")
@ApiModel(value="SaasInvoiceAuto对象", description="自动开票表")
public class SaasInvoiceAuto extends BaseEntity {

    /**
     * 售方类型(1:平台售方 2:客户(组织))
     */
    @ApiModelProperty(name = "sellerType", value = "售方类型(1:平台售方 2:客户(组织))")
    private Integer sellerType;
    /**
     * 售方ID
     */
    @ApiModelProperty(name = "sellerId", value = "售方ID")
    private Long sellerId;
    /**
     * 客户ID
     */
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;
    /**
     * 公司名称
     */
    @ApiModelProperty(name = "companyName", value = "公司名称")
    private String companyName;
    /**
     * 纳税人识别号
     */
    @ApiModelProperty(name = "taxNo", value = "纳税人识别号")
    private String taxNo;
    /**
     * 开户行
     */
    @ApiModelProperty(name = "bankName", value = "开户行")
    private String bankName;
    /**
     * 账号
     */
    @ApiModelProperty(name = "account", value = "账号")
    private String account;
    /**
     * 电话
     */
    @ApiModelProperty(name = "phone", value = "电话")
    private String phone;
    /**
     * 开票地址
     */
    @ApiModelProperty(name = "invoiceUrl", value = "开票地址")
    private String invoiceUrl;
    /**
     * 启用状态(1:启用 2:禁用)
     */
    @ApiModelProperty(name = "enableStatus", value = "启用状态(1:启用 2:禁用)")
    private Integer enableStatus;

}
