服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-04-06 d2f14f6bb44c6dd19cc0816a033452b6de56184b
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
using System;
using SqlSugar;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
using Tiger.Model;
 
namespace Tiger.Model
{
    /// <summary>
    /// 实体:V_WH_TREE
    /// </summary>
    [Serializable]
    [SugarTable("V_WH_TREE")]
    public class V_WH_TREE : DbEntityOnlyID, iViewEntity
    {
        #region 构造函数
        /// <summary>
        /// 实体:V_WH_TREE
        /// </summary>
        public V_WH_TREE() {}
        #endregion
 
        #region 公共属性
        /// <summary>
        /// 
        /// </summary>
        public string CODE { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string AUTH_ORG { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string NAME { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PARENT_ID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TYPE { get; set; }
        #endregion
 
        #region 虚拟属性
        /*例子
        [SugarColumn(IsIgnore = true)]
        public string FieldName { get; set; }
        */
        #endregion
 
        #region 枚举变量
        /*例子
        public enum FieldNames
        {
            [Description("枚举描述0")]
            Enum0,
            [Description("枚举描述1")]
            Enum1,
        }
        */
        #endregion
 
        #region 公共方法
 
        #endregion
 
    }//endClass
    /// <summary>
    /// 仓库树形列表
    /// </summary>
    public class OrgItemH
    {
        public List<OrgItemH> children { get; set; }
        public string AUTH_ORG { get; set; }
        public string PARENT_HOUSE { get; set; }
        public string houseCode { get; set; }
        public string houseName { get; set; }
        public string houseType { get; set; }
        public string treeId => houseType.First().ToString()+AUTH_ORG+ houseCode;
        public string createTime { get; set; }
        public string id { get; set; }
    }
}