package com.fjhx.entity.warehouse;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fjhx.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 仓库
 * </p>
 *
 * @author ${author}
 * @since 2022-11-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Warehouse extends BaseEntity {


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

    /**
     * 仓库类型
     */
    private Integer type;

    /**
     * 仓管员ID
     */
    private Long warehouseKeeperId;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 逻辑删除 0未删除 1已删除
     */
    @TableField(fill = FieldFill.INSERT)
    @TableLogic
    private Integer delFlag;

    /**
     * 仓管员名称
     */
    @TableField(exist = false)
    private String warehouseKeeperName;
}
