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
|
|
|
}
|
|
|
|
}
|