package com.njzscloud.dispose.wh.pojo.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.njzscloud.common.core.ienum.DictItem;
import com.njzscloud.common.core.ienum.DictKey;
import com.njzscloud.common.mp.support.handler.j.DictItemTypeHandler;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 仓库信息-新增参数
 * @author ljw
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class AddWarehouseParam {

    /**
     * 仓库名称
     */
    private String warehouseName;

    /**
     * 仓库类型；raw_material-原料库，finished_product-成品库
     */
    @DictKey("warehouse_type")
    @TableField(typeHandler = DictItemTypeHandler.class)
    private DictItem type;

    /**
     * 所属站点 Id
     */
    private Long stationId;

    /**
     * 位置
     */
    private String location;

    /**
     * 最大容量，单位：m³
     */
    private BigDecimal maxCapacity;

    /**
     * 备注
     */
    private String remark;

}
