using Hotline.Share.Enums.Order;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XF.Domain.Repository;
namespace Hotline.Orders
{
///
/// 观察件
///
[Description("观察件")]
public class ObservationPiece : CreationEntity
{
///
/// 工单编号(冗余)
///
public string No { get; set; }
///
/// 工单ID
///
public string OrderId { get; set; }
///
///
///
[Navigate(NavigateType.OneToOne, nameof(OrderId))]
public Order? Order { get; set; }
///
/// 观察单位
///
public string? ObserveOrgId { get; set; }
///
/// 审批状态
///
public EDelayState State { get; set; }
///
/// 审批时间
///
public string? AuditUserId { get; set; }
public string? AuditUserName { get; set; }
///
/// 审批部门
///
public string? AuditOrgId { get; set; }
public string? AuditOrgName { get; set; }
///
/// 审批时间
///
public DateTime? AuditTime { get; set; }
///
/// 审批内容
///
public string? AuditContent { get; set; }
///
/// 回复内容
///
public string? ReplyContent { get; set; }
///
/// 回复时间
///
public DateTime? ReplyTime { get; set; }
///
/// 完成时间
///
public DateTime? CompletionTime { get; set; }
///
/// 是否回复
///
public bool IsReply { get; set; }
///
/// 回复人
///
public string? ReplyUserId { get; set; }
public string? ReplyUserName { get; set; }
///
/// 回复部门
///
public string? ReplyOrgId { get; set; }
public string? ReplyOrgName { get; set; }
}
}