/*
 *  Copyright 2019-2020 Zheng Jie
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package com.youchain.businessdata.service.dto;

import com.youchain.basicdata.domain.Area;
import com.youchain.basicdata.service.dto.AreaDto;
import com.youchain.basicdata.service.dto.ItemDto;
import com.youchain.basicdata.service.dto.ItemSmallDto;
import com.youchain.basicdata.service.dto.PointDto;
import com.youchain.modules.system.domain.Dept;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.sql.Timestamp;
import java.io.Serializable;

/**
 * @author huojin
 * @website https://eladmin.vip
 * @description /
 * @date 2023-08-16
 **/
@Data
public class PickDetailDto implements Serializable {

    /**
     * ID
     */
    private Long id;

    /**
     * 订单序号
     */
    private Long pickId;

    /**
     * ID
     */
    private String type;

    /**
     * 物料序号
     */
    private ItemDto item;

    /**
     * 行号
     */
    private Long lineNo;

    /**
     * po订单号
     */
    private String po;

    /**
     * 状态
     */
    private String status;

    /**
     * 订单数量
     */
    private Double orderQty;

    /**
     * 分配数量
     */
    private Double allocatedQty;

    /**
     * 拣货数量
     */
    private Double pickedQty;

    /**
     * 发运数量
     */
    private Double shippedQty;

    /**
     * 重量
     */
    private Double weight;

    /**
     * 体积
     */
    private Double volume;

    /**
     * 备注
     */
    private String remark;

    /**
     * 批次号
     */
    private String propC1;

    /**
     * 序列号
     */
    private String propC2;

    /**
     * 属性3
     */
    private String propC3;

    /**
     * 纯需求
     */
    private Double propC4;

    /**
     * 属性5
     */
    private String propC5;

    /**
     * 属性6
     */
    private String propC6;

    /**
     * 生产日期
     */
    private Timestamp propD1;

    /**
     * 到期日期
     */
    private Timestamp propD2;

    /**
     * 仓库ID
     */
    private Dept dept;

    /**
     * 来源名称
     */
    private String sourceName;

    /**
     * 来源序号
     */
    private Long sourceId;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 修改人
     */
    private String updateBy;

    /**
     * 创建时间
     */
    private Timestamp createTime;

    /**
     * 修改时间
     */
    private Timestamp updateTime;
    /**
     * 出库管理主表
     */
    private PickTicketDto pickTicket;

    /**
     * 点位
     */
    private PointDto point;

    /**
     * 需求数量
     */
    private Double xqQty;

    /**
     * 纯需求数量
     */
    private Double pureReqQty;

    /**
     * 纯需求不足
     */
    private Double pureXqBz;

    /**
     * 线边数量
     */
    private Double xbQty;
    /**
     * 线边备货数量
     */
    private Double xbBhQty;

    /**
     * 原备货需求数量
     */
    private Double yStkDemandQty;

    /**
     * 原纯需求数
     */
    private Double yReqQty;

    /**
     * 加工内容
     */
    private String contents;

    /**
     * AC
     */
    private String ac;

    /**
     * 供应商名
     */
    private String supplier;

    /**
     * 投料数量
     */
    private Double tlQty;

    /**
     * 接收数量
     */
    private Double jsQty;

    private String invQty;

    /** BOM序号 */
    private Long bomId;

    private Double bcQty=0d;
    /** 出库库区 */
    private AreaDto area;

    /** 出库库位 */
    private PointDto ckPoint;

    private Boolean beXpp;
    private Boolean beXd;
    private Boolean beXdPf;

    /** 收货库区 */
    private AreaDto shArea;
}
