Customer.java 7.09 KB
package com.huaheng.pc.config.customer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@ApiModel(value="com.huaheng.pc.general.customer.domain.Customer")
@Data
@TableName(value = "customer")
public class Customer implements Serializable {
    /**
     * 客户内部号
     */
     @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="客户内部号")
    private Integer id;

    /**
     * 客户ID
     */
    @TableField(value = "code")
    @ApiModelProperty(value="客户ID")
    private String code;

    /**
     * 配送点代码
     */
    @TableField(value = "shipToCode")
    @ApiModelProperty(value="配送点代码")
    private String shipToCode;

    @TableField(value = "warehouseCode")
    @ApiModelProperty(value="null")
    private String warehouseCode;

    /**
     * 货主编码
     */
    @TableField(value = "companyCode")
    @ApiModelProperty(value="货主编码")
    private String companyCode;

    /**
     * 名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value="名称")
    private String name;

    /**
     * 地址1
     */
    @TableField(value = "address1")
    @ApiModelProperty(value="地址1")
    private String address1;

    /**
     * 地址2
     */
    @TableField(value = "address2")
    @ApiModelProperty(value="地址2")
    private String address2;

    /**
     * 城市
     */
    @TableField(value = "city")
    @ApiModelProperty(value="城市")
    private String city;

    /**
     * 省份
     */
    @TableField(value = "province")
    @ApiModelProperty(value="省份")
    private String province;

    /**
     * 国家
     */
    @TableField(value = "country")
    @ApiModelProperty(value="国家")
    private String country;

    /**
     * 邮编
     */
    @TableField(value = "postalCode")
    @ApiModelProperty(value="邮编")
    private String postalCode;

    /**
     * 父
     */
    @TableField(value = "parent")
    @ApiModelProperty(value="父")
    private Integer parent;

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

    /**
     * 电话
     */
    @TableField(value = "phoneNum")
    @ApiModelProperty(value="电话")
    private String phoneNum;

    @TableField(value = "mobile")
    @ApiModelProperty(value="null")
    private String mobile;

    /**
     * 传真
     */
    @TableField(value = "faxNum")
    @ApiModelProperty(value="传真")
    private String faxNum;

    /**
     * E-mail
     */
    @TableField(value = "email")
    @ApiModelProperty(value="E-mail")
    private String email;

    /**
     * 有效
     */
    @TableField(value = "enable")
    @ApiModelProperty(value="有效")
    private Boolean enable;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    @ApiModelProperty(value="创建时间")
    private Date created;

    /**
     * 创建用户
     */
    @TableField(value = "createdBy")
    @ApiModelProperty(value="创建用户")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "lastUpdated")
    @ApiModelProperty(value="创建时间")
    private Date lastUpdated;

    /**
     * 更新用户
     */
    @TableField(value = "lastUpdatedBy")
    @ApiModelProperty(value="更新用户")
    private String lastUpdatedBy;

    /**
     * 数据版本
     */
    @TableField(value = "version")
    @ApiModelProperty(value="数据版本")
    private Integer version;

    /**
     * 发票开票人
     */
    @TableField(value = "userDef1")
    @ApiModelProperty(value="发票开票人")
    private String userDef1;

    /**
     * 发票收款人
     */
    @TableField(value = "userDef2")
    @ApiModelProperty(value="发票收款人")
    private String userDef2;

    /**
     * 开票单位
     */
    @TableField(value = "userDef3")
    @ApiModelProperty(value="开票单位")
    private String userDef3;

    /**
     * 发票代码
     */
    @TableField(value = "userDef4")
    @ApiModelProperty(value="发票代码")
    private String userDef4;

    /**
     * 自定义字段5
     */
    @TableField(value = "userDef5")
    @ApiModelProperty(value="自定义字段5")
    private String userDef5;

    /**
     * 自定义字段6
     */
    @TableField(value = "userDef6")
    @ApiModelProperty(value="自定义字段6")
    private String userDef6;

    /**
     * 自定义字段7
     */
    @TableField(value = "userDef7")
    @ApiModelProperty(value="自定义字段7")
    private String userDef7;

    /**
     * 自定义字段8
     */
    @TableField(value = "userDef8")
    @ApiModelProperty(value="自定义字段8")
    private String userDef8;

    /**
     * 处理标记
     */
    @TableField(value = "processStamp")
    @ApiModelProperty(value="处理标记")
    private String processStamp;

    @TableField(value = "deleted")
    @ApiModelProperty(value="是否删除")
    private Boolean deleted;

    private static final long serialVersionUID = 1L;

    public static final String COL_CODE = "code";

    public static final String COL_SHIPTOCODE = "shipToCode";

    public static final String COL_WAREHOUSECODE = "warehouseCode";

    public static final String COL_COMPANYCODE = "companyCode";

    public static final String COL_NAME = "name";

    public static final String COL_ADDRESS1 = "address1";

    public static final String COL_ADDRESS2 = "address2";

    public static final String COL_CITY = "city";

    public static final String COL_PROVINCE = "province";

    public static final String COL_COUNTRY = "country";

    public static final String COL_POSTALCODE = "postalCode";

    public static final String COL_PARENT = "parent";

    public static final String COL_ATTENTIONTO = "attentionTo";

    public static final String COL_PHONENUM = "phoneNum";

    public static final String COL_MOBILE = "mobile";

    public static final String COL_FAXNUM = "faxNum";

    public static final String COL_EMAIL = "email";

    public static final String COL_ENABLE = "enable";

    public static final String COL_CREATED = "created";

    public static final String COL_CREATEDBY = "createdBy";

    public static final String COL_LASTUPDATED = "lastUpdated";

    public static final String COL_LASTUPDATEDBY = "lastUpdatedBy";

    public static final String COL_VERSION = "version";

    public static final String COL_USERDEF1 = "userDef1";

    public static final String COL_USERDEF2 = "userDef2";

    public static final String COL_USERDEF3 = "userDef3";

    public static final String COL_USERDEF4 = "userDef4";

    public static final String COL_USERDEF5 = "userDef5";

    public static final String COL_USERDEF6 = "userDef6";

    public static final String COL_USERDEF7 = "userDef7";

    public static final String COL_USERDEF8 = "userDef8";

    public static final String COL_PROCESSSTAMP = "processStamp";
}