ImageLibraryModel.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.IO;
  9. namespace Ropin.Inspection.Model.ViewModel.LGS
  10. {
  11. public class ImageLibraryModel : BaseViewModel
  12. {
  13. public string C_Id { get; set; }
  14. public string C_Name { get; set; }
  15. public int? I_Sort { get; set; }
  16. [Required]
  17. public string C_Type { get; set; }
  18. public string C_ImagePath { get; set; }
  19. public string C_Remark { get; set; }
  20. public string C_Status { get; set; }
  21. /// <summary>
  22. /// 文件base64字符串
  23. /// </summary>
  24. public string base64Image { get; set; }
  25. /// <summary>
  26. /// 文件扩展名
  27. /// </summary>
  28. public string fileExName { get; set; }
  29. }
  30. public class ImageLibraryInput: BaseSearchModel
  31. {
  32. public string? C_Type { get; set; }
  33. public string? C_Status { get; set; }
  34. }
  35. }