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 { /// ///仓库信息 /// [SugarTable("base_store_info"), TenantAttribute("core")] public class BaseStoreInfo { /// /// Desc:主键标识 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")] public int objId { get; set; } /// /// Desc:仓库编号 /// Default: /// Nullable:False /// [SugarColumn(ColumnName = "store_code")] public string storeCode { get; set; } /// /// Desc:仓库名称 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "store_name")] public string storeName { get; set; } /// /// Desc:仓库类型:1-包材;2-成品;3-托盘 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "store_type")] public int? storeType { get; set; } /// /// Desc:是否表示:1-是;0-否 /// Default:0 /// Nullable:True /// [SugarColumn(ColumnName = "is_flag")] public int? isFlag { get; set; } /// /// Desc:备注 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "remark")] public string remark { get; set; } /// /// 序号(用于列表显示,不参与数据库操作) /// [SugarColumn(IsIgnore = true)] public int RowIndex { get; set; } /// /// 库位集合 /// [SugarColumn(IsIgnore = true)] [Navigate(NavigateType.OneToMany, nameof(BaseLocationInfo.storeCode), nameof(storeCode))] public List locationInfos { get; set; } } }