Carrier.java 4.67 KB
package com.huaheng.pc.config.carrier.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.carrier.domain.Carrier")
@Data
@TableName(value = "carrier")
public class Carrier implements Serializable {
    /**
     * 内部号
     */
     @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="内部号")
    private Integer id;

    /**
     * 编码
     */
    @TableField(value = "code")
    @ApiModelProperty(value="编码")
    private String code;

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

    /**
     * 仓库代码
     */
    @TableField(value = "warehouseCode")
    @ApiModelProperty(value="仓库代码")
    private String warehouseCode;

    /**
     * 运单获取地址url
     */
    @TableField(value = "waybillServerUrl")
    @ApiModelProperty(value="运单获取地址url")
    private String waybillServerUrl;

    /**
     * 创建时间
     */
    @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 = "enable")
    @ApiModelProperty(value="有效")
    private Integer enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_CODE = "code";

    public static final String COL_NAME = "name";

    public static final String COL_WAREHOUSECODE = "warehouseCode";

    public static final String COL_WAYBILLSERVERURL = "waybillServerUrl";

    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_ENABLE = "enable";
}