Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

36 linhas
854B

  1. using System.ComponentModel.DataAnnotations;
  2. namespace Campaign_Tracker.Server.Seed.Models;
  3. public class ReferenceValue
  4. {
  5. public int Id { get; set; }
  6. [Required]
  7. [StringLength(160)]
  8. public string SeedKey { get; set; } = string.Empty;
  9. [Required]
  10. [StringLength(100)]
  11. public string Category { get; set; } = string.Empty;
  12. [Required]
  13. [StringLength(100)]
  14. public string Name { get; set; } = string.Empty;
  15. [StringLength(500)]
  16. public string Description { get; set; } = string.Empty;
  17. [Required]
  18. [StringLength(200)]
  19. public string Value { get; set; } = string.Empty;
  20. public SeedRecordSource Source { get; set; } = SeedRecordSource.SystemSeed;
  21. public bool IsActive { get; set; } = true;
  22. public DateTimeOffset CreatedAt { get; set; }
  23. public DateTimeOffset UpdatedAt { get; set; }
  24. }

Powered by TurnKey Linux.