TranslatorLibraryDto.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. using Microsoft.AspNetCore.Http;
  2. using OASystem.Domain.Attributes;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace OASystem.Domain.Dtos.Resource
  9. {
  10. public class TranslatorLibraryDto
  11. {
  12. }
  13. public class TranslatorLibraryItemDto : DtoBase
  14. {
  15. public string Name { get; set; }
  16. }
  17. public class TranslatorLibraryOpDto:PortDtoBase
  18. {
  19. /// <summary>
  20. /// 操作状态
  21. /// 1 添加
  22. /// 2 编辑
  23. /// </summary>
  24. public int Status { get; set; }
  25. public int Id { get; set; }
  26. /// <summary>
  27. /// 公务出访Ids
  28. /// </summary>
  29. public int[] officialDutyIdItem { get; set; }
  30. /// <summary>
  31. /// 所在地区
  32. /// </summary>
  33. [Encrypted]
  34. public string Area { get; set; }
  35. /// <summary>
  36. /// 姓名
  37. /// </summary>
  38. [Encrypted]
  39. public string Name { get; set; }
  40. /// <summary>
  41. /// 性别(0:未设置 1:男 2:女)
  42. /// </summary>
  43. public int Sex { get; set; }
  44. /// <summary>
  45. /// 照片
  46. /// 传输图片转base64字符串
  47. /// </summary>
  48. [Encrypted]
  49. public string Photo { get; set; }
  50. /// <summary>
  51. /// 联系电话
  52. /// </summary>
  53. [Encrypted]
  54. public string Tel { get; set; }
  55. /// <summary>
  56. /// 邮箱号
  57. /// </summary>
  58. [Encrypted]
  59. public string Email { get; set; }
  60. /// <summary>
  61. /// 微信号
  62. /// </summary>
  63. [Encrypted]
  64. public string WechatNo { get; set; }
  65. /// <summary>
  66. /// 其他社交账号
  67. /// </summary>
  68. [Encrypted]
  69. public string OtherSocialAccounts { get; set; }
  70. /// <summary>
  71. /// 语种
  72. /// </summary>
  73. [Encrypted]
  74. public string Language { get; set; }
  75. /// <summary>
  76. /// 费用
  77. /// </summary>
  78. public decimal Price { get; set; }
  79. /// <summary>
  80. /// 币种
  81. /// </summary>
  82. public int Currency { get; set; }
  83. /// <summary>
  84. /// 简历或其他证书
  85. /// </summary>
  86. public IFormFile[] Files { get; set; }
  87. /// <summary>
  88. /// 备注
  89. /// </summary>
  90. [Encrypted]
  91. public string Remark { get; set; }
  92. }
  93. }