using Hotline.Orders;
using Hotline.Share.Enums.Order;
using SqlSugar;
using System.ComponentModel;
using XF.Domain.Repository;

namespace Hotline.JudicialManagement
{
    /// <summary>
    /// 司法行政监督管理工单
    /// </summary>
    [Description("司法行政监督管理工单")]
    public class EnforcementOrders : CreationSoftDeleteEntity
    {
        /// <summary>
        /// 
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 是否推诿
        /// </summary>
        public bool IsPassTheBuckOrder { get; set; }

        /// <summary>
        /// 线索是否属实
        /// </summary>
        public bool? IsTheClueTrue { get; set; }

        /// <summary>
        /// 诉事项类型ID
        /// </summary>
        public string? EventTypeId { get; set; }

        /// <summary>
        /// 诉事项类型名称
        /// </summary>
        public string? EventTypeName { get; set; }

        /// <summary>
        /// 诉事项类型名称
        /// </summary>
        public string? EventTypeSpliceName { get; set; }

        /// <summary>
        /// 诉事项类型一级Id
        /// </summary>
        public string? EventTypeOneLevelId { get; set; }

        /// <summary>
        /// 是否行政执法类
        /// </summary>
        public bool IsEnforcementOrder { get; set; }

        /// <summary>
        /// 工单
        /// </summary>
        [Navigate(NavigateType.OneToOne, nameof(Id))]
        public Order Order { get; set; }
    }
}
