/*
*  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.ItemDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author huojin
* @date 2024-04-10
**/
@Data
public class MoDto implements Serializable {

    private Integer id;

    /** MO票 */
    private String labelNo;

    /** 标签类型 */
    private String labelType;

    /** 标签状态 */
    private String labelState;

    /** 送货单头ID；通过该字段能找到002接口送货单 */
    private Integer deliveryHeaderId;

    /** 来源系统 */
    private String sourceSystem;

    /** 可用数量 */
    private Double qty;

    /** 工单Id */
    private Integer workOrderId;

    /** 工单编号 */
    private String workOrderName;

    /** 自制件工单id */
    private Integer selfWorkOrderId;

    /** 自制件工单编号 */
    private String selfWorkOrderName;

    /** 工单号 */
    private String orderNo;

    /** 物料 */
    private ItemDto item;

    /** 检验状态 */
    private String checkResult;

    /** 数据有效性 */
    private Boolean deleteFlag;

    /** 车间编号 */
    private String workshopCode;

    /** 车间描述 */
    private String workshopName;

    /** 产线编码 */
    private String moLineCode;

    /** 产线描述 */
    private String moLineName;

    /** MLS子库 */
    private String invCode;

    /** MLS货区 */
    private String goodsAreaCode;

    /** MLS货位 */
    private String goodsLocationCode;

    /** MLS入库时间 */
    private Timestamp datetimeStockIn;

    /** MLS创建时间 */
    private Timestamp mlsCreateTime;

    /** MLS修改时间 */
    private Timestamp mlsUpdateTime;

    /** MLS创建人 */
    private String createUserCode;

    /** MLS修改人 */
    private String updateUserCode;

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

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

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

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