KuaidiWeight.java 1.88 KB
package com.huaheng.pc.config.weight.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.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName Weight
 * @Description TODO
 * @Author Administrator
 * @Date 2020/12/716:41
 */
@Data
@TableName(value = "kuaidi_weight")
public class KuaidiWeight {

    private static final long serialVersionUID = 1L;

    /**
     * 出库id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 快递单号
     */
    @TableField(value = "trackCode")
    @ApiModelProperty(value = "快递单号")
    private String trackCode;
    /**
     * 重量
     */
    @TableField(value = "weight")
    @ApiModelProperty(value = "重量")
    private String weight;
    /**
     * 仓库
     */
    @TableField(value = "warehouseCode")
    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

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

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id
                = id;
    }

    public String getTrackCode() {
        return trackCode;
    }

    public void setTrackCode(String trackCode) {
        this.trackCode
                = trackCode;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight
                = weight;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created
                = created;
    }
}