FolderCreateVM.cs 568 B

1234567891011121314151617181920212223
  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 sealed class FolderCreateVM
  8. {
  9. [JsonProperty("name")]
  10. //[StringLength(250, MinimumLength = 1)]
  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. }
  19. }