-
zhangwei
2 天以前 7674a4144ba793196607578f8a57771d6beb22c7
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
using Admin.NET.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace FZCZTB.NET.MD
{
    /// <summary>
    /// 投诉质疑结果
    /// </summary>
    [SugarTable("FB_ProcurementComplaints")]
    public  partial class ProcurementComplaint: basemodelNoId
    {
        /// <summary>
        /// 投诉ID,主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }
 
        /// <summary>
        /// 项目编号
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "项目编号")]
        public string ProjectCode { get; set; }
 
        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "项目名称")]
        public string ProjectName { get; set; }
 
        /// <summary>
        /// 决定日期
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "决定日期")]
        public DateTime DecisionDate { get; set; }
 
        /// <summary>
        /// 采购人
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "采购人")]
        public string Purchaser { get; set; }
 
        /// <summary>
        /// 采购代理机构
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "采购代理机构")]
        public string ProcurementAgency { get; set; }
 
        /// <summary>
        /// 投诉人
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "投诉人")]
        public string? Complainant { get; set; }
 
    
 
        
 
        /// <summary>
        /// 采购监督部门
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "采购监督部门")]
        public string? ProcurementSupervisionDepartment { get; set; }
 
        /// <summary>
        /// 线上地址
        /// </summary>
        [SugarColumn(Length = 255, IsNullable = true, ColumnDescription = "线上地址")]
        public string Url { get; set; }
 
        /// <summary>
        /// 投诉事项
        /// </summary>
        [Navigate(NavigateType.OneToMany,nameof(ProcurementComplaintItems.ComplaintId), nameof(ProcurementComplaint.Id))]
        public  List<ProcurementComplaintItems>? Complaints { get; set; }
    }
 
 
        /// <summary>
        /// 投诉事项子表模型
        /// </summary>
        [SugarTable("FB_ProcurementComplaintItems")]
        public partial class ProcurementComplaintItems
    {
            /// <summary>
            /// 投诉事项ID,主键
            /// </summary>
            [SugarColumn(IsPrimaryKey = true)]
            public Guid Id { get; set; }
 
            /// <summary>
            /// 关联的主投诉ID
            /// </summary>
            [SugarColumn(IsNullable = false, ColumnDescription = "关联的主投诉ID")]
            public Guid ComplaintId { get; set; }
 
            /// <summary>
            /// 具体投诉事项
            /// </summary>
            [SugarColumn(Length = 1000, IsNullable = false, ColumnDescription = "具体投诉事项")]
            public string ItemDescription { get; set; }
 
            /// <summary>
            /// 处理结果
            /// </summary>
            [SugarColumn(IsNullable = true, ColumnDescription = "处理结果")]
            public PComplaintStatus HandlingStatus { get; set; }
        /// <summary>
        /// 处理描述
        /// </summary>
        [SugarColumn(Length = 1000,IsNullable = true, ColumnDescription = "处理结果")]
        public string? HandlingResult { get; set; }
 
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn( IsNullable = true, ColumnDescription = "处理结果")]
        public int sort { get; set; } = 0;
    }
 
       public enum PComplaintStatus
    {
        /// <summary>
        /// 其他
        /// </summary>
        [Description("其它"), Theme("info")]
        Other = 0,
        /// <summary>
        /// 成立
        /// </summary>
        [Description("成立")]
        Valid = 1,
 
        /// <summary>
        /// 驳回
        /// </summary>
        [Description("驳回")]
        Rejected = 2,
 
        /// <summary>
        /// 部分成立
        /// </summary>
        [Description("部分成立")]
        PartiallyValid = 3
 
     
    }
 
    public class basemodelNoId
    {
        
    /// 创建时间
    /// </summary>
    [SugarColumn(ColumnDescription = "创建时间", IsNullable = true, IsOnlyIgnoreUpdate = true)]
        public virtual DateTime CreateTime { get; set; }
 
        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(ColumnDescription = "更新时间")]
        public virtual DateTime? UpdateTime { get; set; }
 
        /// <summary>
        /// 创建者Id
        /// </summary>
        [OwnerUser]
        [SugarColumn(ColumnDescription = "创建者Id", IsOnlyIgnoreUpdate = true)]
        public virtual long? CreateUserId { get; set; }
 
        ///// <summary>
        ///// 创建者
        ///// </summary>
        //[Newtonsoft.Json.JsonIgnore]
        //[System.Text.Json.Serialization.JsonIgnore]
        //[Navigate(NavigateType.OneToOne, nameof(CreateUserId))]
        //public virtual SysUser CreateUser { get; set; }
 
        /// <summary>
        /// 创建者姓名
        /// </summary>
        [SugarColumn(ColumnDescription = "创建者姓名", Length = 64, IsOnlyIgnoreUpdate = true)]
        public virtual string? CreateUserName { get; set; }
 
        /// <summary>
        /// 修改者Id
        /// </summary>
        [SugarColumn(ColumnDescription = "修改者Id")]
        public virtual long? UpdateUserId { get; set; }
 
        ///// <summary>
        ///// 修改者
        ///// </summary>
        //[Newtonsoft.Json.JsonIgnore]
        //[System.Text.Json.Serialization.JsonIgnore]
        //[Navigate(NavigateType.OneToOne, nameof(UpdateUserId))]
        //public virtual SysUser UpdateUser { get; set; }
 
        /// <summary>
        /// 修改者姓名
        /// </summary>
        [SugarColumn(ColumnDescription = "修改者姓名", Length = 64)]
        public virtual string? UpdateUserName { get; set; }
    }
 
    }