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
- {
- /// <summary>
- /// 翻译人员Id
- /// </summary>
- 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; }
- /// <summary>
- /// 所在地区
- /// </summary>
- [Encrypted]
- public string Area { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- [Encrypted]
- public string Name { get; set; }
- /// <summary>
- /// 性别(0:未设置 1:男 2:女)
- /// </summary>
- public int Sex { get; set; }
- /// <summary>
- /// 联系电话
- /// </summary>
- [Encrypted]
- public string Tel { get; set; }
- /// <summary>
- /// 邮箱号
- /// </summary>
- [Encrypted]
- public string Email { get; set; }
- /// <summary>
- /// 微信号
- /// </summary>
- [Encrypted]
- public string WechatNo { get; set; }
- /// <summary>
- /// 其他社交账号
- /// </summary>
- [Encrypted]
- public string OtherSocialAccounts { get; set; }
- /// <summary>
- /// 语种
- /// </summary>
- [Encrypted]
- public string Language { get; set; }
- /// <summary>
- /// 费用
- /// </summary>
- public decimal Price { get; set; }
- /// <summary>
- /// 币种
- /// </summary>
- public int Currency { get; set; }
- public string CurrencyName { get; set; }
- }
- /// <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; }
- }
- }
|