jinxin
2025-06-04 3b1b3b354f02ecf558f6dcc9a359dae65c4efca1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using HH.WCS.Mobox3.WeiLi.models;
using SqlSugar;
using System;
using System.Collections.Generic;
 
namespace HH.WCS.Mobox3.WeiLi {
 
    [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<ZoneLoc> ZoneLocs { get; set; }
    }
}