using Hotline.Share.Requests;

namespace Hotline.Share.Dtos.ObservationPiece
{
    public record ObservationPieceRequestDto : PagedKeywordRequest
    {
        /// <summary>
        /// 本地编号（√）
        /// </summary>
        public string No { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string? Title { get; set; }

        /// <summary>
        /// 受理类型（√）
        /// </summary>
        public string? AcceptType { get; set; }

        /// <summary>
        /// 受理时间
        /// </summary>
        public DateTime? AcceptanceStartTime { get; set; }
        public DateTime? AcceptanceEndTime { get; set; }

        /// <summary>
        /// 热点分类关键词
        /// </summary>
        public string? Hotspot { get; set; }

        /// <summary>
        /// 超期时间（期满时间）
        /// </summary>
        public DateTime? ExpiredStartTime { get; set; }
        public DateTime? ExpiredEndTime { get; set; }

        /// <summary>
        /// 接办部门
        /// </summary>
        public string? ActualHandleOrgName { get; set; }

        /// <summary>
        /// 归档时间
        /// </summary>
        public DateTime? FiledStartTime { get; set; }
        public DateTime? FiledEndTime { get; set; }

        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime? ReplyStartTime { get; set; }
        public DateTime? ReplyEndTime { get; set; }

        /// <summary>
        /// 回复人
        /// </summary>
        public string? ReplyUserName { get; set; }

        /// <summary>
        /// 设置时间
        /// </summary>
        public DateTime? CreationStartTime { get; set; }
        public DateTime? CreationEndTime { get; set; }

        /// <summary>
        /// 设置人
        /// </summary>
        public string? CreatorName { get; set; }

        /// <summary>
        /// 是否回复
        /// </summary>
        public bool? IsReply { get; set; }

        /// <summary>
        /// 类型  0：待回复，1：已回复
        /// </summary>
        public string? Type { get; set; }

        /// <summary>
        /// 数据范围 0：全部 ，1：本级
        /// </summary>
        public string? DataSoure { get; set; }
    }
}
