package com.shkj.wms.bo;

import com.shkj.wms.constants.DictConstants;
import com.shkj.wms.validator.Dict;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 托盘资料对象
 *
 * @author lch
 * @date 2022-04-23
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class BaseContainerSwitchBo implements Serializable {

private static final long serialVersionUID=1L;

    /**
     *  托盘id (正常值为修改 反之新增)
     */
    private Long id;



    /**
     * 托盘使用状态
     */
    @NotBlank(message = "托盘使用状态不得为空")
    @Dict(type= DictConstants.DictKey.base_container_status,message="托盘使用状态与数据字典值不匹配")
    private String status;


}
