/*
*  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.domain.BillType;
import com.youchain.basicdata.service.dto.AreaDto;
import com.youchain.basicdata.service.dto.BillTypeDto;
import com.youchain.modules.system.domain.Dept;
import com.youchain.modules.system.service.dto.DeptSmallDto;
import lombok.Data;

import java.sql.Time;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author JiangKun
* @date 2024-01-11
**/
@Data
public class PickTicketDto implements Serializable {

    /** ID */
    private Long id;

    /** 出库库区 */
    private AreaDto area;

    /** 收货库区 */
    private AreaDto shArea;
    /**工厂*/
    private String gcCode;

    /** 单号 */
    private String code;

    /** 状态 */
    private String status;

    /** 客户订单号 */
    private String cusCode;

    /** 相关单号1 */
    private String relatedBill1;

    /** 相关单号2 */
    private String relatedBill2;

    /** 相关单号3 */
    private String relatedBill3;

    /** 订单日期 */
    private Timestamp orderDate;

    /** 发货日期 */
    private Timestamp shipDate;

    /** 发货人 */
    private String fhBy;

    /** 到达日期 */
    private Timestamp receivedDate;

    /** 接收人 */
    private String slBy;

    /** 收料数量 */
    private Double slQty;

    /** 投料日期 */
    private Timestamp tlDate;
    private Timestamp slDate;
    /** 投料人 */
    private String tlBy;

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

    /** 收货方 */
    private String shipToName;

    /** 收货地址 */
    private String shipAddress;

    /** 收货联系人 */
    private String shipMan;

    /** 收货电话 */
    private String shipTel;

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

    /** 出单数量 */
    private Double allocatedQuantity;

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

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

    /** 线边数量 */
    private Double xbQty;

    /** 在途数量 */
    private Double ztQty;

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

    /** 备货数量 */
    private Double bhQty;

    /** 车牌号 */
    private String vehicle;

    /** 单据类型 */
    private BillTypeDto billType;

    /** 部品种类 */
    private String bpType;

    /** 仓库ID */
    private DeptSmallDto deptId;

    /** 备注 */
    private String description;

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

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

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

    /** 修改时间 */
    private Timestamp updateTime;


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

    /** 备货需求数量 */
    private Double prepRe;

    /** 出单日期 */
    private Timestamp outOrderDate;

    /** 备货日期 */
    private Timestamp stockingDate;

    private Double bcQty=0d;
    private String pc;
    private Timestamp batchTime;
}