package com.maintain.business.domain.bo;

import com.maintain.common.core.validate.AddGroup;
import com.maintain.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.maintain.common.core.domain.BaseEntity;

/**
 * 仓库货位业务对象 erp_warehouse_location
 *
 * @author liushuai
 * @date 2025-04-03
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpWarehouseLocationBo extends BaseEntity {

    /**
     * 仓库货位主键
     */
    private Long id;

    /**
     * 仓库货位部门ID
     */
    private Long deptId;

    /**
     * 仓库货位部门名称
     */
    private String deptName;

    /**
     * 仓库ID
     */
    private Long warehouseId;

    /**
     * 仓库编码
     */
    private String warehouseCode;

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

    /**
     * 货位编码
     */
    @NotBlank(message = "货位编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String locationCode;

    /**
     * 货位类型
     */
    @NotBlank(message = "货位类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String locationType;

    /**
     * 创建部门（数据权限）
     */
    private Long createDeptId;


}
