/*
*  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.basicdata.service.dto;

import com.youchain.modules.system.service.dto.DeptSmallDto;
import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author liuxue
* @date 2023-07-28
**/
@Data
public class StockDto implements Serializable {

    /** 容器ID */
    private Long id;

    /** 容器代码 */
    private String code;

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

    /** 上级容器ID */
    private Long pid;

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

    /** 地标ID */
    private PointSmallDto point;

    /** 子容器数量 */
    private Integer subCount;

    /** 容器名称 */
    private String name;

    /** 容器类型 */
    private String stockType;


    /** 容器使用重量 */
    private Double useWeight;

    /** 容器使用体积 */
    private Double useSize;

    /** 容器重量占用率 */
    private Double usageWeight;

    /** 容器体积占用率 */
    private Double usageSize;

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

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

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

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

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

    /** 顶级容器ID */
    private Long topId;

    /** 线边点位 */
    private String lineSlotCode;
}
