using System;
using SqlSugar;
using System.Collections.Generic;
namespace ZR.Model.Models.BaseSet
{
///
/// 基础资料/库位信息表,数据实体对象
///
/// @author admin
/// @date 2023-04-11
///
[SugarTable("bas_bin")]
public class BasBin : BusinessBase
{
///
/// 库位Id 系统主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public long BinId { get; set; }
///
/// 库位编码
///
public string BinCode { get; set; }
///
/// 库位名称
///
public string BinName { get; set; }
///
/// 库位类型(S存储库位,P拣选库位,V虚拟库位)
///
public string BinType { get; set; }
///
/// 库区编码
///
public long RegionId { get; set; }
///
/// 库位所在排
///
public int BinRow { get; set; }
///
/// 库位所在列
///
public int BinColumn { get; set; }
///
/// 库位所在层
///
public int BinLayer { get; set; }
///
/// 描述
///
public string Describe { get; set; }
///
/// 显示状态(0显示,1隐藏)
///
public string Visible { get; set; }
///
/// 使用状态(0正常,1使用)
///
public string Status { get; set; }
#region 表外字段
[SugarColumn(IsIgnore = true)]
public string RegionName { get; set; }
[SugarColumn(IsIgnore = true)]
public string RegionCode { get; set; }
#endregion
}
public class BasBinImportTemplate
{
///
/// 库位编码
///
public string BinCode { get; set; }
///
/// 库位名称
///
public string BinName { get; set; }
///
/// 库位类型(S存储库位,P拣选库位,V虚拟库位)
///
public string BinType { get; set; }
///
/// 库区编码
///
public string RegionId { get; set; }
///
/// 库位所在排
///
public int BinRow { get; set; }
///
/// 库位所在列
///
public int BinColumn { get; set; }
///
/// 库位所在层
///
public int BinLayer { get; set; }
///
/// 描述
///
public string Describe { get; set; }
///
/// 显示状态(0显示,1隐藏)
///
public string Visible { get; set; }
///
/// 使用状态(0正常,1使用)
///
public string Status { get; set; }
}
}