package com.bohuikeji.delivery.backstage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bohuikeji.frame.module.admin.annotation.TableQueryField;
import com.bohuikeji.frame.module.admin.base.EntityBase;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.bohuikeji.frame.module.admin.annotation.TableShowField;
import com.bohuikeji.frame.module.admin.annotation.TableNewField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 仓库记录表
 * </p>
 *
 * @author 10552
 * @since 2019-08-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="TWarehousing对象", description="仓库记录表")
@TableName("t_warehousing")
public class TWarehousing extends EntityBase<TWarehousing> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "仓库记录id")
    @TableId(value = "warehousing_id", type = IdType.AUTO)
    @TableShowField(value = "ID",id = true)
    @TableNewField(show = false)
    private Integer warehousingId;

    @ApiModelProperty(value = "仓库名称")
    @TableField("warehouse_name")
    @TableShowField("仓库名称")
    @TableNewField
    @TableQueryField
    private String warehouseName;

    @ApiModelProperty(value = "货架名称")
    @TableField("shelves_name")
    @TableShowField("货架名称")
    @TableNewField
    @TableQueryField
    private String shelvesName;

    @ApiModelProperty(value = "存放位置")
    @TableField("where_layer")
    @TableShowField("存放位置")
    @TableNewField
    @TableQueryField
    private String whereLayer;

    @ApiModelProperty(value = "入库时间（保管时间）")
    @TableField("storage_time")
    @TableShowField("入库时间（保管时间）")
    @TableNewField
    private LocalDateTime storageTime;

    @ApiModelProperty(value = "货物照片")
    @TableField("cargo_photos")
    @TableShowField("货物照片")
    @TableNewField
    private String cargoPhotos;

    @ApiModelProperty(value = "货物类别")
    @TableField("cargo_category")
    @TableShowField("货物类别")
    @TableNewField
    @TableQueryField
    private String cargoCategory;

    @ApiModelProperty(value = "订单号")
    @TableField("order_num")
    @TableShowField("订单号")
    @TableNewField
    @TableQueryField
    private String orderNum;

    @ApiModelProperty(value = "物流编号")
    @TableField("logistics_num")
    @TableShowField("物流编号")
    @TableNewField
    @TableQueryField
    private String logisticsNum;

    @ApiModelProperty(value = "寄件人手机号")
    @TableField("mailing_phone")
    @TableShowField("寄件人手机号")
    @TableNewField
    private String mailingPhone;

    @ApiModelProperty(value = "寄件地址")
    @TableField("mailing_address")
    @TableShowField("寄件地址")
    @TableNewField
    private String mailingAddress;

    @ApiModelProperty(value = "收件人")
    @TableField("receipt_name")
    @TableShowField("收件人")
    @TableNewField
    private String receiptName;

    @ApiModelProperty(value = "收件人手机号")
    @TableField("receipt_phone")
    @TableShowField("收件人手机号")
    @TableNewField
    private String receiptPhone;

    @ApiModelProperty(value = "收件地址")
    @TableField("receipt_address")
    @TableShowField("收件地址")
    @TableNewField
    private String receiptAddress;

    @ApiModelProperty(value = "派送员")
    @TableField("courier_name")
    @TableShowField("派送员")
    @TableNewField
    @TableQueryField
    private String courierName;

    @ApiModelProperty(value = "派送员手机号")
    @TableField("courier_phone")
    @TableShowField("派送员手机号")
    @TableNewField
    @TableQueryField
    private String courierPhone;

    @ApiModelProperty(value = "车牌号")
    @TableField("plate_num")
    @TableShowField("车牌号")
    @TableNewField
    @TableQueryField
    private String plateNum;

    @ApiModelProperty(value = "仓库状体")
    @TableField("warehouse_status")
    @TableShowField("仓库状体")
    @TableNewField
    private String warehouseStatus;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    @TableShowField("更新时间")
    @TableNewField
    private LocalDateTime updateTime;


}
