123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- using Newtonsoft.Json;
- using OASystem.Domain.Attributes;
- 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
- {
-
-
-
- public int[] TranslatorIdItem { get; set; } = Array.Empty<int>();
- 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 ? "未确认" : "已确认";
- }
- }
- public TranslatorView TranslatorInfo { get; set; } = new TranslatorView { };
- }
- public class TranslatorView
- {
- public int Id { get; set; }
-
-
-
- [Encrypted]
- public string Area { get; set; }
-
-
-
- [Encrypted]
- public string Name { get; set; }
-
-
-
- public int Sex { get; set; }
-
-
-
- [Encrypted]
- public string Tel { get; set; }
-
-
-
- [Encrypted]
- public string Email { get; set; }
-
-
-
- [Encrypted]
- public string WechatNo { get; set; }
-
-
-
- [Encrypted]
- public string OtherSocialAccounts { get; set; }
-
-
-
- [Encrypted]
- public string Language { get; set; }
-
-
-
- public decimal Price { get; set; }
-
-
-
- public int Currency { get; set; }
- public string CurrencyName { get; set; }
- }
-
-
-
- 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; }
- }
- }
|