package com.muchinfo.mtp3pojos.entity;

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 com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 仓单出入库物流信息表
 * </p>
 *
 * @author XKF
 * @since 2024-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WROUTINEXPRESS")
@ApiModel(value="Wroutinexpress对象", description="仓单出入库物流信息表")
public class Wroutinexpress extends Model<Wroutinexpress> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请ID")
    private Long applyid;

    @ApiModelProperty(value = "出入库类型 - 1:入库 2:出库")
    @TableField("ORDERTYPE")
    private Integer ordertype;

    @ApiModelProperty(value = "入库方式  - 1:物流 2:自送 3:自提")
    @TableField("OUTINMODEL")
    private Integer outinmodel;

    @ApiModelProperty(value = "货运方式[1:物流] - 1:水运 2:铁路 3:公路")
    @TableField("SHIPPINGMODEL")
    private Integer shippingmodel;

    @ApiModelProperty(value = "物流单号[1:物流]")
    @TableField("EXPRESSNUM")
    private String expressnum;

    @ApiModelProperty(value = "物流公司[1:物流]")
    @TableField("EXPRESSCOMPANY")
    private String expresscompany;

    @ApiModelProperty(value = "车牌号")
    @TableField("VEHICLENUM")
    private String vehiclenum;

    @ApiModelProperty(value = "物流联系人")
    @TableField("CONTACTNAME")
    private String contactname;

    @ApiModelProperty(value = "联系人电话")
    @TableField("CONTACTNUM")
    private String contactnum;

    @ApiModelProperty(value = "出入库时间")
    @TableField("OUTINDATE")
    private Date outindate;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATORID")
    private Long creatorid;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATETIME")
    private Date createtime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATORID")
    private Long updatorid;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATETIME")
    private Date updatetime;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;


    @Override
    public Serializable pkVal() {
        return this.applyid;
    }

}
