/*
 *  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.service.dto.AreaDto;
import com.youchain.basicdata.service.dto.ItemDto;
import com.youchain.basicdata.service.dto.PointDto;
import com.youchain.businessdata.domain.AsnDetail;
import com.youchain.businessdata.domain.PickDetail;
import com.youchain.businessdata.domain.Task;
import com.youchain.businessdata.domain.TaskLog;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @author baobinglin
 * @website https://eladmin.vip
 * @description /
 * @date 2024-01-04
 **/
@Data
public class XppRecordDto implements Serializable {

    /**
     * ID
     */
    private Long id;

    /**
     * 二维码
     */
    private String ewm;

    /**
     * 类型
     */
    private String type;
    /**
     * 采集库区
     */
    private AreaDto area;
    /**
     * 品番
     */
    private ItemDto item;

    /**
     * ac
     */
    private String ac;

    /**
     * 纳入书
     */
    private Integer nrs;

    /**
     * 定单编号
     */
    private String ddbh;

    /**
     * 制番
     */
    private String zf;

    /**
     * 分支号
     */
    private String fzh;

    /**
     * 纳入指示日
     */
    private Timestamp nrDate;

    /**
     * 送货数量
     */
    private String shQuantity;

    /**
     * 入库明细
     */
    private AsnDetailDto asnDetailId;

    /**
     * 采集人
     */
    private String cjr;

    /**
     * 上架人
     */
    private String sjr;

    /**
     * 备货人
     */
    private String bhr;

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

    /**
     * 线边接收人
     */
    private String jsr;

    /**
     * 接收库位
     */
    private PointDto jskw;

    /**
     * 制造投料人
     */
    private String zztlr;

    /**
     * 缓存投料人
     */
    private String hctlr;

    /**
     * 制造投料库位
     */
    private PointDto zzkw;

    /**
     * 采集时间
     */
    private Timestamp cjDate;

    /**
     * 上架时间
     */
    private Timestamp sjDate;

    /**
     * 备货时间
     */
    private Timestamp bhDate;

    /**
     * 发货时间
     */
    private Timestamp fhDate;

    /**
     * 接收时间
     */
    private Timestamp jsDate;

    /**
     * 制造投料时间
     */
    private Timestamp zztlDate;

    /**
     * 材管库位
     */
    private String cPointCode;

    /**
     * 制造库位
     */
    private String zPointCode;

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

    /**
     * 供应商
     */
    private String relaSupplier;

    /**
     * 门号
     */
    private String relaDoor;

    /**
     * 纳入场所
     */
    private String relaCode;

    /**
     * 箱种
     */
    private String relaType;

    /**
     * 收容数
     */
    private Double relaQuantity;

    /**
     * 品区
     */
    private String areaCode;

    /**
     * 品番
     */
    private String itemCode;

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

    /**
     * 描述
     */
    private String description;

    /**
     * 状态：1启用、0禁用
     */
    private Boolean enabled;

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

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

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

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

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

    private TaskDto rkTask;
    private PointDto invPoint;
    private TaskLogDto ckTaskLog;


    /**
     * 是否留样
     */
    private Boolean tfLy;
    /**留样日期*/
    private Timestamp lyData;
    /**
     * 还样日期
     */
    private Timestamp hyData;
    /**
     * 收货清单号
     */
    private String receiptCode;
}