using System.ComponentModel;
using Hotline.File;
using Hotline.Share.Dtos.File;
using Hotline.Users;
using SqlSugar;
using XF.Domain.Repository;
namespace Hotline.Orders
{
[Description("催办")]
public class OrderUrge : FullStateEntity
{
///
/// 工单ID
///
[SugarColumn(ColumnDescription = "工单ID")]
public string OrderId { get; set; }
///
/// 被催办部门ID
///
[SugarColumn(ColumnDescription = "被催办部门ID")]
public string OrgId { get; set; }
///
/// 被催办部门名称
///
[SugarColumn(ColumnDescription = "被催办部门名称")]
public string OrgName { get; set; }
///
/// 创建部门名称
///
[SugarColumn(ColumnDescription = "创建部门名称")]
public string? CreatorOrgName { get; set; }
///
/// 催办状态
///
[SugarColumn(ColumnDescription = "催办状态 0 待回复 1 已回复 2 签收")]
public int State { get; set; }
///
/// 催办签收时间
///
[SugarColumn(ColumnDescription = "催办签收时间")]
public DateTime? SignTime { get; set; }
///
/// 催办回复时间
///
[SugarColumn(ColumnDescription = "催办回复时间")]
public DateTime? ReplyTime { get; set; }
///
/// 催办回复时限
///
[SugarColumn(ColumnDescription = "催办回复时限")]
public DateTime? ReplyLimitTime { get; set; }
///
/// 催办申请内容
///
[SugarColumn(ColumnDescription = "催办申请内容", ColumnDataType = "text")]
public string? ApplyContent { get; set; }
///
/// 催办回复内容
///
[SugarColumn(ColumnDescription = "催办回复内容", ColumnDataType = "text")]
public string? ReplyContent { get; set; }
///
/// 回复人
///
[SugarColumn(ColumnDescription = "回复人")]
public string? ReplyId { get; set; }
///
/// 省平台业务编号
///
public string? DsBisId { get; set; }
///
///
///
[Navigate(NavigateType.OneToOne, nameof(OrderId))]
public Order Order { get; set; }
[SugarColumn(ColumnDescription = "回复人")]
public string? ReUser { get; set; }
[SugarColumn(ColumnDescription = "申请人")]
public string? CrUser { get; set; }
///
/// 省催办时间
///
public DateTime? RemindTime { get; set; }
///
/// 是否省催单
///
[SugarColumn(DefaultValue = "f")]
public bool IsProRemind { get; set; }
[SugarColumn(ColumnDescription = "签收人")]
public string? SignUser { get; set; }
[SugarColumn(ColumnDataType = "json", IsJson = true, IsNullable = true)]
public List? FileJson { get; set; }
[SugarColumn(ColumnDataType = "json", IsJson = true, IsNullable = true)]
public List? ReplyFileJson { get; set; }
}
}