|
@@ -0,0 +1,272 @@
|
|
|
+using Hotline.Share.Enums.DataSharing;
|
|
|
+using SqlSugar;
|
|
|
+using XF.Domain.Repository;
|
|
|
+
|
|
|
+namespace Sharing.Orders;
|
|
|
+
|
|
|
+/// <summary>
|
|
|
+/// / 工单数据,推送省平台记录
|
|
|
+/// </summary>
|
|
|
+public class DsOrder : CreationModificationEntity
|
|
|
+{
|
|
|
+ /*
|
|
|
+ 工单id 工单编号 上传省工单编号 省编号 受理时间 第一次工单同步省平台时间 工单上传间隔(s) 工单是否及时上传 同步诉求渠道 最新应办结时间 最新工单同步省平台时间 第一次结果同步时间
|
|
|
+ 最新同步答复时间 最新结果同步时间 第一次评价同步时间 最新同步评价时间 最新评价同步时间 第一次工单满意度 最新满意度 同步诉求类型 办理时长 是否为省工单
|
|
|
+ */
|
|
|
+ /// <summary>
|
|
|
+ /// 工单id
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "工单ID", ColumnDataType = "varchar(50)")]
|
|
|
+ public string OrderId { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工单编号
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "工单编号", ColumnDataType = "varchar(50)")]
|
|
|
+ public string OrderNo { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 流程ID
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "流程ID", ColumnDataType = "varchar(50)")]
|
|
|
+ public string? WorkflowId { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 信件查询密码
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "信件查询密码", ColumnDataType = "varchar(20)")]
|
|
|
+ public string Password { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工单标题
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "工单标题", ColumnDataType = "varchar(500)")]
|
|
|
+ public string Title { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 来电/信人姓名
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "来电/信人姓名", ColumnDataType = "varchar(20)")]
|
|
|
+ public string FromName { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 联系电话
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "联系电话", ColumnDataType = "varchar(30)")]
|
|
|
+ public string? Contact { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 诉求内容
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "诉求内容", ColumnDataType = "text")]
|
|
|
+ public string Content { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 上传省工单编号
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "上传省工单编号", ColumnDataType = "varchar(50)")]
|
|
|
+ public string? ProvinceNo { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 受理时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "受理时间", IsNullable = true)]
|
|
|
+ public DateTime? CaseDate { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 来源,区分省平台或110等其他平台同步过来的工单
|
|
|
+ /// </summary>
|
|
|
+ public string? Source { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 第一次工单同步省平台时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "第一次工单同步省平台时间", IsNullable = true)]
|
|
|
+ public DateTime? FirstSyncProvinceTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工单上传间隔(s)
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "工单上传间隔(s)", IsNullable = true)]
|
|
|
+ public double SyncInterval { get; set; } = 0;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工单是否及时上传
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "工单是否及时上传")]
|
|
|
+ public bool? IsTimelyUpload { get; set; } = false;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 同步诉求渠道
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "同步诉求渠道")]
|
|
|
+ public string? CaseSource { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 同步诉求渠道编码
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "同步诉求渠道编码")]
|
|
|
+ public string? CaseSourceCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 热点Id
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "热点Id")]
|
|
|
+ public string? HotspotId { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 热点名称
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "热点名称")]
|
|
|
+ public string? HotspotName { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 热点全称
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "热点全称")]
|
|
|
+ public string? HotspotSpliceName { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最新应办结时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "最新应办结时间", IsNullable = true)]
|
|
|
+ public DateTime? ExpiredTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最新工单同步省平台时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "最新工单同步省平台时间", IsNullable = true)]
|
|
|
+ public DateTime? NewSyncProvinceTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 第一次结果同步时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "第一次结果同步时间", IsNullable = true)]
|
|
|
+ public DateTime? FirstSyncResultTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最新结果同步时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "最新结果同步时间", IsNullable = true)]
|
|
|
+ public DateTime? NewSyncResultTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最新同步答复时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "最新同步答复时间", IsNullable = true)]
|
|
|
+ public DateTime? NewSyncResultReplyTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 第一次评价同步时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "第一次评价同步时间", IsNullable = true)]
|
|
|
+ public DateTime? FirstSyncVisitTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最新同步评价时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "最新同步评价时间", IsNullable = true)]
|
|
|
+ public DateTime? NewSyncVisitTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最新评价同步时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "最新评价同步时间", IsNullable = true)]
|
|
|
+ public DateTime? NewSyncVisitReplyTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 第一次工单满意度
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "第一次工单满意度", IsNullable = true)]
|
|
|
+ public string? FirstSatisfaction { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最新满意度
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "最新满意度", IsNullable = true)]
|
|
|
+ public string? NewSatisfaction { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 受理类型名称
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "受理类型名称", IsNullable = true)]
|
|
|
+ public string? CaseType { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 受理类型Code
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "受理类型Code", IsNullable = true)]
|
|
|
+ public string? CaseTypeCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 办理时长
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "办理时长", IsNullable = true)]
|
|
|
+ public double? AllDuration { get; set; } = 0;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否为省工单
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "是否为省工单")]
|
|
|
+ public bool IsProvince { get; set; } = false;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 是否公开---工单发布的时候选择是否公开
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "是否公开---工单发布的时候选择是否公开", IsNullable = true)]
|
|
|
+ public EDsPublishState IsPublish { get; set; } = EDsPublishState.Unpublished;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ ///发布时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "发布时间", IsNullable = true)]
|
|
|
+ public DateTime? PublishDate { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 办理状态--默认办理中,归档的时候更新为办理完成
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "办理状态--默认办理中,归档的时候更新为办理完成", IsNullable = true)]
|
|
|
+ public string? HandleState { get; set; } = "办理中";
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 实际办理部门名称
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "实际办理部门名称", IsNullable = true)]
|
|
|
+ public string? ActualHandleOrgName { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 实际办理部门编码
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "实际办理部门编码", IsNullable = true)]
|
|
|
+ public string? ActualHandleOrgCode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 实际办理意见
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "实际办理意见", IsNullable = true)]
|
|
|
+ public string? ActualOpinion { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 办结时间--归档的时间
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "办结时间--归档的时间", IsNullable = true)]
|
|
|
+ public DateTime? ActualHandleTime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 整理标题
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "整理标题", IsNullable = true)]
|
|
|
+ public string? ArrangeTitle { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 整理内容
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "整理内容", IsNullable = true, ColumnDataType = "varchar(2000)")]
|
|
|
+ public string? ArrangeContent { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 整理结果
|
|
|
+ /// </summary>
|
|
|
+ [SugarColumn(ColumnDescription = "整理结果", IsNullable = true, ColumnDataType = "varchar(2000)")]
|
|
|
+ public string? ArrangeOpinion { get; set; }
|
|
|
+}
|