liaoxujun@qq.com
2023-09-07 876292b5a092977ac84c1c1699d9f3e45b9be67d
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
using SqlSugar;
 
namespace DocumentServiceAPI.Model.cyDocumentModel
{
    ///<summary>
    ///文档管理类
    ///</summary>
    [SugarTable("t_document")]
    public class Doc_Info : Doc_Base
    {
        public Doc_Info()
        {
        }
 
        /// <summary>
        /// id
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }
 
        /// <summary>
        /// 文档分类编码
        /// </summary>           
        public string doc_code { get; set; }
 
        /// <summary>
        /// 归属分类(子类型)
        /// </summary>           
        public int? classification_id { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>           
        public string doc_name { get; set; }
 
        /// <summary>
        /// 单位ID
        /// </summary>
        public int? org_id { get; set; }
 
        /// <summary>
        /// 项目id
        /// </summary>
        public int? project_id { get; set; }
 
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool is_del { get; set; }
 
        /// <summary>
        /// 关联分类
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        [Navigate(NavigateType.OneToOne, nameof(classification_id))]
        public Doc_Classification? DocClassification { get; set; }
 
        /// <summary>
        /// 关联投标单位
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        [Navigate(NavigateType.OneToOne, nameof(org_id))]
        public Document_TenderUnit? DocOrganization { get; set; }
 
        /// <summary>
        /// 关联项目
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        [Navigate(NavigateType.OneToOne, nameof(project_id))]
        public Document_ProjectInfo? DocProject { get; set; }
    }
 
}