You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System.ComponentModel.DataAnnotations;
-
- namespace Campaign_Tracker.Server.Seed.Models;
-
- public class EscalationRule
- {
- public int Id { get; set; }
-
- [Required]
- [StringLength(100)]
- public string Name { get; set; } = string.Empty;
-
- [StringLength(500)]
- public string Description { get; set; } = string.Empty;
-
- [Required]
- [StringLength(200)]
- public string TriggerCondition { get; set; } = string.Empty;
-
- [Required]
- [StringLength(200)]
- public string Action { get; set; } = string.Empty;
-
- public int Priority { get; set; } = 1;
-
- public bool IsActive { get; set; } = true;
-
- public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
-
- public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
- }
|