package com.ruoyi.web.sales.domain;

import com.baomidou.mybatisplus.annotation.TableField;
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("rel_customer_market")
@ApiModel(value = "RelCustomerMarket对象", description = "客户市场维护")
public class RelCustomerMarket extends Base {
    private static final long serialVersionUID = 1L;

    @Excel(name = "物流线编号")
    @ApiModelProperty(value = "物流线编号")
    private String lineNum;

    @TableField(exist = false)
    @Excel(name = "物流线名称")
    @ApiModelProperty(value = "物流线名称")
    private String lineName;

    @Excel(name = "市场编号")
    @ApiModelProperty(value = "市场编号")
    private String marketNum;

    @TableField(exist = false)
    @Excel(name = "市场名称")
    @ApiModelProperty(value = "市场名称")
    private String marketName;

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

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

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

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

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

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

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