using HH.WCS.Mobox3.pinggao.models; using SqlSugar; using System; using System.Collections.Generic; namespace HH.WCS.Mobox3.pinggao { [SugarTable("TN_Zone")] public class Zone : BaseModel { public string S_NAME { get; set; } public string S_NOTE { get; set; } public string S_WH_CODE { get; set; } = util.Settings.WHCode; public int N_EMPTY_MIN { get; set; } public int N_EMPTY_MAX { get; set; } [SugarColumn(IsPrimaryKey = true)] public string S_CODE { get; set; } public string S_AREA_CODE { get; set; } public string S_LOC_RULE { get; set; } public string S_ZONE_CLS_CODE { get; set; } public int N_AVAILABLE_IN { get; set; } public int N_TYPE { get; set; } public string S_TYPE { get; set; } public string S_ITEM_CODE { get; set; } public string S_ITEM_NAME { get; set; } public string S_BATCH_NO { get; set; } public string S_ITEM_CATEGORY { get; set; } public string S_OWNER_CODE { get; set; } public string S_SUPPLIER_CODE { get; set; } public int N_CONNECT_TYPE { get; set; } public string S_CONNECT_TYPE { get; set; } public int N_LOCK_STATE { get; set; } public string S_LOCK_STATE { get; set; } public string S_OWNER_NAME { get; set; } public string S_SUPPLIER_NAME { get; set; } public int N_STORE_MAX { get; set; } public string S_STATE_PRE { get; set; } public string C_IS_AREA { get; set; } public string S_GROUP { get; set; } [SugarColumn(IsIgnore = true)] [Navigate(NavigateType.OneToMany, nameof(S_CODE), nameof(ZoneLoc.S_LOC_CODE))] public List ZoneLocs { get; set; } } }