/*
*  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.Point;
import com.youchain.basicdata.domain.Stock;
import com.youchain.businessdata.domain.ItemKey;
import com.youchain.modules.system.domain.Dept;
import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author houjianlan
* @date 2023-08-31
**/
@Data
public class InventoryLogDto implements Serializable {

    /** ID */
    private Long id;

    /** 操作类型 */
    private String logType;

    /** 增加/减少 */
    private Integer incDec;

    /** 单据号 */
    private String relatedBill;

    /** 点位 */
    private ItemKey itemKey;

    /** 存货日期 */
    private Timestamp storagedate;

    /** 入库单号 */
    private String soi;

    /** 发生数量 */
    private Double occurQuantity;

    /** 发生时间 */
    private Timestamp occurTime;

    /** 状态 */
    private String status;

    /** 引用对象 */
    private String refObj;

    /** 引用ID */
    private Long refObjId;

    /** 描述 */
    private String description;

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

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

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

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

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

    /** 源点位 */
    private Point srcPoint;

    /** 源点位号 */
    private String srcPointCode;

    /** 源容器 */
    private Stock srcStock;

    /** 源容器号 */
    private String srcStockCode;

    /** 点位 */
    private Point dstPoint;

    /** 目标点位号 */
    private String dstPointCode;

    /** 目标容器 */
    private Stock dstStock;

    /** 目标容器号 */
    private String dstStockCode;

    /** 源数量 */
    private Double srcQty;

    /** 目标数量 */
    private Double dstQty;
}