using Newtonsoft.Json; using OASystem.Domain.Entities.Resource; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.ViewModels.Resource { public class OfficialActivitiesView : Res_OfficialActivities { /// <summary> /// 翻译人员Id /// </summary> public int[] TranslatorIdItem { get; set; } public List<string> ScreenshotOfMailUrls { get { List<string> urls = new List<string>(); urls = !string.IsNullOrEmpty(ScreenshotOfMailUrl) ? JsonConvert.DeserializeObject<List<string>>(ScreenshotOfMailUrl) : new List<string>(); List<string> urls1 = new List<string>(); urls.ForEach(x => { urls1.Add("http://132.232.92.186:24/" + x); }); return urls1; } } public string CreateUserName { get; set; } public string OfficialFormName { get; set; } public string ConfirmTheInvitationStr { get { return this.ConfirmTheInvitation == 0 ? "未确认" : "已确认"; } } } /// <summary> /// 请示范例 Tips View /// </summary> public class ReqReqSampleTipsView { public string TeamName { get; set; } public string Country { get; set; } public string Area { get; set; } public string Client { get; set; } public string ReqSample { get; set; } } }