您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

24 行
591B

  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(100)]
  8. public string Name { get; set; } = string.Empty;
  9. [StringLength(500)]
  10. public string Description { get; set; } = string.Empty;
  11. public string Value { get; set; } = string.Empty;
  12. public bool IsActive { get; set; } = true;
  13. public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
  14. public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
  15. }

Powered by TurnKey Linux.