Supplier.java 7.11 KB
package com.huaheng.pc.config.supplier.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.config.supplier.domain.Supplier")
@Data
@TableName(value = "supplier")
public class Supplier 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 = "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 = "state")
    @ApiModelProperty(value = "省份")
    private String state;

    /**
     * 国家
     */
    @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 = "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 = "carrier")
    @ApiModelProperty(value = "承运人")
    private String carrier;

    /**
     * 创建时间
     */
    @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;

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

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

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

    /**
     * 自定义字段4
     */
    @TableField(value = "userDef4")
    @ApiModelProperty(value = "自定义字段4")
    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_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_STATE = "state";

    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_FAXNUM = "faxNum";

    public static final String COL_EMAIL = "email";

    public static final String COL_ENABLE = "enable";

    public static final String COL_CARRIER = "carrier";

    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";

    public static final String COL_DELETED = "deleted";
}