using Hotline.Share.Dtos.File; using Hotline.Share.Enums.Snapshot; using Hotline.Share.Requests; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using XF.Utility.EnumExtensions; namespace Hotline.Share.Dtos.Snapshot; internal class OrderPublishDto { } public class AddSnapshotOrderPublishInDto { [Required] public string OrderId { get; set; } /// /// 整理标题 /// [Required] public string ArrangeTitle { get; set; } /// /// 整理内容 /// [Required] public string ArrangeContent { get; set; } /// /// 整理结果 /// [Required] public string ArrangeOpinion { get; set; } /// /// 受理时间 /// [Required] public DateTime HandleTime { get; set; } /// /// 整理地点 /// [Required] public string ArrangeAddress { get; set; } } public class OrderPublishInDto : QueryFixedDto { /// /// 搜索文本 /// public string? Keyword { get; set; } /// /// 行业Id /// [Required] public string IndustryId { get; set; } } public class OrderPublishDetailOutDto : OrderPublishOutDto { /// /// 是否保密 /// public bool IsSecret { get; set; } /// /// 事件描述 /// public string Content { get; set; } /// /// 回复 /// public string Opinion { get; set; } /// /// 附件 /// public List FileJson { get; set; } = []; /// /// 市民是否评价 /// public bool IsVisit { get; set; } = false; /// /// 办理流程 /// public List Workflow { get; set; } /// /// 审核意见 /// public string? AuditRemark { get; set; } /// /// 奖励审核状态 /// public ERedPackAuditStatus RedPackStatus { get; set; } /// /// 奖励审核状态(中文) /// public string RedPackStatusTxt => RedPackStatus.GetDescription(); /// /// 事发地点 /// public string FullAddress { get; set; } /// /// 线索名称 /// public string HotspotSpliceName { get; set; } /// /// 上报时间 /// public DateTime CreationTime { get; set; } } public class SnapshotWorkflow { public SnapshotWorkflow(string id, string name, DateTime dateTime) { Id = id; Name = name; HandleTime = dateTime; } /// /// Id /// public string Id { get; set; } /// /// 接办部门名称 /// public string Name { get; set; } /// /// 接办时间 /// public DateTime HandleTime { get; set; } } public class OrderPublishOutDto { /// /// Id /// public string Id { get; set; } /// /// 编号 /// public string No { get; set; } /// /// 标题 /// public string Title { get; set; } /// /// 受理时间 /// public DateTime HandleTime { get; set; } /// /// 区/县 /// public string County { get; set; } } /// /// 满意度 /// public class OrderVisitItemsOutDto { /// /// 中心满意度 /// public string SeatEvaluate { get; set; } /// /// 部门满意度 /// public string OrgProcessingResults { get; set; } /// /// 办事态度 /// public string OrgHandledAttitude { get; set; } /// /// 备注 /// public string Remark { get; set; } }