|
@@ -1,10 +1,4 @@
|
|
|
-using System;
|
|
|
-using System.Collections.Generic;
|
|
|
-using System.Linq;
|
|
|
-using System.Runtime.Intrinsics.X86;
|
|
|
-using System.Text;
|
|
|
-using System.Threading.Tasks;
|
|
|
-using Hotline.Share.Enums.Order;
|
|
|
+using Hotline.Share.Enums.Order;
|
|
|
using SqlSugar;
|
|
|
using XF.Domain.Repository;
|
|
|
|
|
@@ -15,92 +9,92 @@ namespace Hotline.Orders
|
|
|
/// </summary>
|
|
|
public partial class Order : FullStateEntity
|
|
|
{
|
|
|
- //#region 来电信息
|
|
|
+ #region 来电信息
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 来源渠道
|
|
|
- ///// </summary>
|
|
|
- //public EChannel Channel { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 来源渠道
|
|
|
+ /// </summary>
|
|
|
+ public EChannel Channel { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 来电/信人姓名
|
|
|
- ///// </summary>
|
|
|
- //public string FromName { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 来电/信人姓名
|
|
|
+ /// </summary>
|
|
|
+ public string FromName { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 来电/信人性别
|
|
|
- ///// </summary>
|
|
|
- //public EGender FromGender { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 来电/信人性别
|
|
|
+ /// </summary>
|
|
|
+ public EGender FromGender { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 来电/信人身份
|
|
|
- ///// </summary>
|
|
|
- //public EFromStatus FromStatus { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 来电/信人身份
|
|
|
+ /// </summary>
|
|
|
+ public EFromStatus FromStatus { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 证件类型
|
|
|
- ///// </summary>
|
|
|
- //public ELicenceType? Licence { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 证件类型
|
|
|
+ /// </summary>
|
|
|
+ public ELicenceType? Licence { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 证件号码
|
|
|
- ///// </summary>
|
|
|
- //public string? LicenceNo { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 证件号码
|
|
|
+ /// </summary>
|
|
|
+ public string? LicenceNo { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 年龄段
|
|
|
- ///// </summary>
|
|
|
- //public EAgeRange? AgeRange { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 年龄段
|
|
|
+ /// </summary>
|
|
|
+ public EAgeRange? AgeRange { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 联系电话,null表示无需联系
|
|
|
- ///// </summary>
|
|
|
- //public string? Contact { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 联系电话,null表示无需联系
|
|
|
+ /// </summary>
|
|
|
+ public string? Contact { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 是否接受短信,勾选校验手机号
|
|
|
- ///// </summary>
|
|
|
- //public bool AcceptSms { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 是否接受短信,勾选校验手机号
|
|
|
+ /// </summary>
|
|
|
+ public bool AcceptSms { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 工作单位(当“来电/信人身份”为“企业”时必填,其他情况非必填)
|
|
|
- ///// </summary>
|
|
|
- //public string? Company { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 工作单位(当“来电/信人身份”为“企业”时必填,其他情况非必填)
|
|
|
+ /// </summary>
|
|
|
+ public string? Company { get; set; }
|
|
|
|
|
|
- //#endregion
|
|
|
+ #endregion
|
|
|
|
|
|
- //#region 诉求信息
|
|
|
+ #region 诉求信息
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 工单编码(202201010001)
|
|
|
- ///// </summary>
|
|
|
- //public string No { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 工单编码(202201010001)
|
|
|
+ /// </summary>
|
|
|
+ public string No { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 工单类型
|
|
|
- ///// </summary>
|
|
|
- //public EOrderType OrderType { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 工单类型
|
|
|
+ /// </summary>
|
|
|
+ public EOrderType OrderType { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 受理类型
|
|
|
- ///// </summary>
|
|
|
- //public EAcceptType AcceptType { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 受理类型
|
|
|
+ /// </summary>
|
|
|
+ public EAcceptType AcceptType { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 紧急程度
|
|
|
- ///// </summary>
|
|
|
- //public EEmergencyLevel EmergencyLevel { get; set; } = EEmergencyLevel.Normal;
|
|
|
+ /// <summary>
|
|
|
+ /// 紧急程度
|
|
|
+ /// </summary>
|
|
|
+ public EEmergencyLevel EmergencyLevel { get; set; } = EEmergencyLevel.Normal;
|
|
|
|
|
|
- //public string Title { get; set; }
|
|
|
+ public string Title { get; set; }
|
|
|
|
|
|
- //public string HotspotId { get; set; }
|
|
|
- //public string Hotspot { get; set; }
|
|
|
- //public string HotspotSpliceName { get; set; }
|
|
|
+ public string HotspotId { get; set; }
|
|
|
+ public string Hotspot { get; set; }
|
|
|
+ public string HotspotSpliceName { get; set; }
|
|
|
|
|
|
- ///// <summary>
|
|
|
- ///// 事发时间
|
|
|
- ///// </summary>
|
|
|
- //public DateTime? IncidentTime { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 事发时间
|
|
|
+ /// </summary>
|
|
|
+ public DateTime? IncidentTime { get; set; }
|
|
|
|
|
|
///// <summary>
|
|
|
///// 事发地址
|
|
@@ -111,10 +105,10 @@ namespace Hotline.Orders
|
|
|
///// <summary>
|
|
|
///// 附件
|
|
|
///// </summary>
|
|
|
- //[SugarColumn(ColumnDataType = "longtext", IsJson = true)]
|
|
|
+ //[SugarColumn(ColumnDataType = "varchar(4000)", IsJson = true)]
|
|
|
//public List<string> Additions { get; set; } = new();
|
|
|
|
|
|
- //#endregion
|
|
|
+ #endregion
|
|
|
}
|
|
|
|
|
|
public class Position
|