package com.ruoyi.web.sales.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.web.base.domain.base.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 客户管理对象
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_customer")
@ApiModel(value = "BaseCustomer对象", description = "客户管理")
public class BaseCustomer extends Base {

    private static final long serialVersionUID = 1L;

    @Excel(name = "客户编号")
    @ApiModelProperty(value = "客户编号")
    private String customerNum;

    @Excel(name = "客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @Excel(name = "客户地址")
    @ApiModelProperty(value = "客户地址")
    private String customerAddress;

    @Excel(name = "客户等级", readConverterExp = "1=1级,2=2级,3=3级,4=4级,5=5级")
    @ApiModelProperty(value = "客户等级")
    private Integer customerLevel;

    @Excel(name = "联络人")
    @ApiModelProperty(value = "联络人")
    private String contactPerson;

    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String contactPhone;

    @Excel(name = "应收客户")
    @ApiModelProperty(value = "应收客户")
    private String receivableCustomer;

    @Excel(name = "收款客户")
    @ApiModelProperty(value = "收款客户")
    private String payeeCustomer;

    @Excel(name = "送货客户")
    @ApiModelProperty(value = "送货客户")
    private String deliveryCustomer;

    @Excel(name = "信用控制", readConverterExp = "0=空白,1=启用,2=不启用")
    @ApiModelProperty(value = "信用控制")
    private Integer creditControl;

    @Excel(name = "开户银行")
    @ApiModelProperty(value = "开户银行")
    private String bankName;

    @Excel(name = "银行账号")
    @ApiModelProperty(value = "银行账号")
    private String bankAccount;

    @Excel(name = "开票类型", readConverterExp = "0=空白,1=普票,2=增票")
    @ApiModelProperty(value = "开票类型")
    private Integer invoiceType;

    @Excel(name = "客户渠道")
    @ApiModelProperty(value = "客户渠道")
    private String customerChannel;

    @Excel(name = "检疫统计类型", readConverterExp = "0=无,1=按客户,2=按市场")
    @ApiModelProperty(value = "检疫统计类型")
    private Integer quarantineStatType;

    @Excel(name = "品牌")
    @ApiModelProperty(value = "品牌")
    private String brand;

    @Excel(name = "盖章颜色")
    @ApiModelProperty(value = "盖章颜色")
    private String stampColor;

    @Excel(name = "状态", readConverterExp = "0=停用,1=启用")
    @ApiModelProperty(value = "状态")
    private Integer status;

    @Excel(name = "是否浙食链客户")
    @ApiModelProperty(value = "是否浙食链客户")
    private Integer zslCustomer;

    @Excel(name = "生产/经营许可证")
    @ApiModelProperty(value = "生产/经营许可证")
    private String businessPermit;

    @Excel(name = "营业执照")
    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @Excel(name = "税号")
    @ApiModelProperty(value = "税号")
    private String taxNumber;
}
