移动系统liao
2 天以前 0a4e5fc3bdfca328feb574f1564011abf2a35b76
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
using Admin.NET.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace FZCZTB.NET.MD
{
    /// <summary>
    /// 投诉质疑结果
    /// </summary>
    [SugarTable("FB_ProcurementComplaints")]
    public  partial class ProcurementComplaint: EntityBase
    {
        /// <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))]
        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; }
    }
 
       public enum PComplaintStatus
    {
        /// <summary>
        /// 其他
        /// </summary>
        Other = 0,
        /// <summary>
        /// 成立
        /// </summary>
        Valid = 1,
 
        /// <summary>
        /// 驳回
        /// </summary>
        Rejected = 2,
 
        /// <summary>
        /// 部分成立
        /// </summary>
        PartiallyValid = 3
 
     
    }
 
 
 
    }