package cn.iocoder.yudao.module.order.vo.orderLocation;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import com.alibaba.excel.annotation.ExcelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 订单仓位 Response VO
* @author 系统管理员
*/
@Data
@ApiModel("管理后台 - 订单仓位 Response VO")
public class OrderLocationBackVO {

    @ExcelProperty("主键")
    @ApiModelProperty(value = "主键", required = true)
    private Long id;

    @ExcelProperty("订单id")
    @ApiModelProperty(value = "订单id", required = true)
    private Long orderId;

    @ExcelProperty("库域id")
    @ApiModelProperty(value = "库域id", required = true)
    private Long wareId;

    @ExcelProperty("库区id")
    @ApiModelProperty(value = "库区id")
    private Long areaId;

    @ExcelProperty("仓位id")
    @ApiModelProperty(value = "仓位id")
    private Long locationId;

    @ExcelProperty("订单项id")
    @ApiModelProperty(value = "订单项id")
    private Long orderItemId;

    @ExcelProperty("入仓id")
    @ApiModelProperty(value = "入仓id")
    private Long warehouseInId;

    @ExcelProperty("最后操作的用户id")
    @ApiModelProperty(value = "最后操作的用户id")
    private Long adminId;

    @ExcelProperty("创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;


    @ApiModelProperty(value = "库域名称")
    private String warehouseName;
    @ApiModelProperty(value = "库区名称")
    private String areaName;
    @ApiModelProperty(value = "仓位名称")
    private String locationName;

}
