FileCreateVM.cs 665 B

123456789101112131415161718192021222324252627
  1. 
  2. using System.Collections.Generic;
  3. //using System.ComponentModel.DataAnnotations;
  4. using FastReport.Utils.Json.Serialization;
  5. namespace FastReport.Cloud.FastReport.Models
  6. {
  7. internal abstract class FileCreateVM
  8. {
  9. [JsonProperty("name")]
  10. //[StringLength(250)]
  11. public string Name { get; set; }
  12. [JsonProperty("tags")]
  13. //[MaxLength(3)]
  14. public ICollection<string> Tags { get; set; }
  15. [JsonProperty("icon")]
  16. //[StringLength(65536)]
  17. public byte[] Icon { get; set; }
  18. [JsonProperty("content")]
  19. //[StringLength(1073741824)]
  20. public byte[] Content { get; set; }
  21. }
  22. }