package com.fjhx.entity.stock;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.fjhx.base.StorageBaseEntity;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 仓库分区
 * </p>
 *
 * @author ${author}
 * @since 2022-08-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class StockArea extends StorageBaseEntity {


    /**
     * 分区名称
     */
    private String name;

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

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


}
