package org.dromara.zhishu.domain.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.zhishu.domain.TShelves;

/**
 * 货架信息业务对象 t_shelves
 *
 * @author Lion Li
 * @date 2025-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TShelves.class, reverseConvertGenerate = false)
public class TShelvesBo extends BaseEntity {

    /**
     * 货架id
     */
    @NotNull(message = "货架id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 货架名称
     */
    private String name;

    /**
     * 货架容量
     */
    private Long sheCapMax;


    /**
     * 货架单位
     */
    private String unit;

    /**
     * 仓库id
     */
    private Long depotId;

    /**
     * 货架状态（0正常 1停用）
     */
    private String status;

    /**
     * 货架编码
     */
    private String code;

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

    /**
     * userId
     */
    @TableField(exist = false)
    private Long userId;



}
