using Hotline.Orders;
using Hotline.Share.Enums.Snapshot;
using SqlSugar;
using System.ComponentModel;
using XF.Domain.Repository;
namespace Hotline.Snapshot;
///
/// 工单表扩展
/// Id 和 Order.Id 相同
///
[Description("工单表扩展")]
public class OrderSnapshot : CreationSoftDeleteEntity
{
///
/// 行业Id
/// 表的Id
///
[SugarColumn(ColumnDescription = "行业Id")]
public string IndustryId { get; set; }
///
/// 行业名称
/// 表的Name
///
[SugarColumn(ColumnDescription = "行业名称")]
public string IndustryName { get; set; }
///
/// 社区Id
/// 表的Id
///
[SugarColumn(ColumnDescription = "社区Id")]
public string? CommunityId { get; set; }
///
/// 社区名字
///
[SugarColumn(ColumnDescription = "社区名字")]
public string? CommunityName { get; set; }
///
/// 作业类型
///
[SugarColumn(ColumnDescription = "作业类型")]
public string? JobType { get; set; }
///
/// 经营单位类别
///
[SugarColumn(ColumnDescription = "经营单位类别")]
public string? BusinessUnitType { get; set; }
///
/// 作业场所
///
[SugarColumn(ColumnDescription = "作业场所")]
public string? Workplace { get; set; }
///
/// 场所名称(多个场所使用 - 连接)
///
[SugarColumn(ColumnDescription = "场所名称")]
public string? WorkplaceName { get; set; }
///
/// 作业时间
///
[SugarColumn(ColumnDescription = "作业时间")]
public DateTime? StartWorkTime { get; set; }
///
/// 作业结束时间
///
[SugarColumn(ColumnDescription = "作业时间")]
public DateTime? EndWorkTime { get; set; }
///
/// 部门标记是否安全生产
///
[SugarColumn(ColumnDescription = "部门标记是否安全生产")]
public bool? IsSafetyDepartment { get; set; }
///
/// 部门是否属实
///
[SugarColumn(ColumnDescription = "部门是否属实")]
public bool? IsTruthDepartment { get; set; }
///
/// 小程序公开
///
[SugarColumn(ColumnDescription = "小程序公开")]
public bool? IsAppOpened { get; set; }
///
/// 合规类型
///
[SugarColumn(ColumnDescription = "合规类型")]
public ECompliantType? CompliantType { get; set; }
#region 网格员回复
///
/// 网格员系统交互日志
///
[SugarColumn(ColumnDescription = "网格员系统交互日志")]
public string? GuiderAccLog { get; set; }
///
/// 网格员回复截止日期
///
[SugarColumn(ColumnDescription = "网格员回复截止日期")]
public DateTime? DeadLine { get; set; }
///
/// 网格员是否办理
///
[SugarColumn(ColumnDescription = "网格员是否办理")]
public bool? IsDeal { get; set; }
///
/// 网格E通编号
///
[SugarColumn(ColumnDescription = "网格E通编号")]
public string? NetworkENumber { get; set; }
///
/// 网格员是否属实
///
[SugarColumn(ColumnDescription = "网格员是否属实")]
public bool? IsTruth { get; set; }
///
/// 是否重复
///
[SugarColumn(ColumnDescription = "是否重复")]
public bool? IsRepetition { get; set; }
///
/// 是否隐患
///
[SugarColumn(ColumnDescription = "是否隐患")]
public bool? IsDanger { get; set; }
///
/// 网格员回复内容
///
[SugarColumn(ColumnDescription = "网格员回复内容", Length = 2048)]
public string? NetworkRemark { get; set; }
///
/// 网格员办理时间
///
[SugarColumn(ColumnDescription = "网格员办理时间")]
public DateTime? ReplyDate { get; set; }
///
/// 网格员姓名
///
[SugarColumn(ColumnDescription = "网格员姓名")]
public string? MemberName { get; set; }
///
/// 网格员电话
///
[SugarColumn(ColumnDescription = "网格员电话")]
public string? MemberMobile { get; set; }
///
/// 办理人账号
///
[SugarColumn(ColumnDescription = "办理人账号")]
public string? ReplyUserName { get; set; }
///
/// 办理部门
///
[SugarColumn(ColumnDescription = "办理部门")]
public string? ReplyBMName { get; set; }
///
/// 办理状态 1,7:流转 2:办结 3:退回 4:网格员签收 5:消息推送 6: 超时自动退单
///
[SugarColumn(ColumnDescription ="网格员办理状态")]
public EGuiderSystemReplyType? ReplyResultType { get; set; }
#endregion
}