|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
#region << 版 本 注 释 >>
|
|
|
/*--------------------------------------------------------------------
|
|
|
* 版权所有 (c) 2026 WenJY 保留所有权利。
|
|
|
* CLR版本:4.0.30319.42000
|
|
|
* 机器名称:T14-GEN3-7895
|
|
|
* 命名空间:Sln.Wcs.Model.Domain
|
|
|
* 唯一标识:1662ee15-9ae3-4e65-9801-3244af44103f
|
|
|
*
|
|
|
* 创建者:WenJY
|
|
|
* 电子邮箱:
|
|
|
* 创建时间:2026-03-25 16:21:18
|
|
|
* 版本:V1.0.0
|
|
|
* 描述:
|
|
|
*
|
|
|
*--------------------------------------------------------------------
|
|
|
* 修改人:
|
|
|
* 时间:
|
|
|
* 修改说明:
|
|
|
*
|
|
|
* 版本:V1.0.0
|
|
|
*--------------------------------------------------------------------*/
|
|
|
#endregion << 版 本 注 释 >>
|
|
|
namespace Sln.Wcs.Model.Domain
|
|
|
{
|
|
|
///<summary>
|
|
|
///仓库信息
|
|
|
///</summary>
|
|
|
[SugarTable("base_store_info"), TenantAttribute("core")]
|
|
|
public class BaseStoreInfo
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// Desc:主键标识
|
|
|
/// Default:
|
|
|
/// Nullable:False
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")]
|
|
|
public int objId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:仓库编号
|
|
|
/// Default:
|
|
|
/// Nullable:False
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "store_code")]
|
|
|
public string storeCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:仓库名称
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "store_name")]
|
|
|
public string storeName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:仓库类型:1-包材;2-成品;3-托盘
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "store_type")]
|
|
|
public int? storeType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:是否表示:1-是;0-否
|
|
|
/// Default:0
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "is_flag")]
|
|
|
public int? isFlag { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// Desc:备注
|
|
|
/// Default:
|
|
|
/// Nullable:True
|
|
|
/// </summary>
|
|
|
[SugarColumn(ColumnName = "remark")]
|
|
|
public string remark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 序号(用于列表显示,不参与数据库操作)
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
|
public int RowIndex { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 库位集合
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsIgnore = true)]
|
|
|
[Navigate(NavigateType.OneToMany, nameof(BaseLocationInfo.storeCode), nameof(storeCode))]
|
|
|
public List<BaseLocationInfo> locationInfos { get; set; }
|
|
|
}
|
|
|
}
|