30 lines
990 B
C#
30 lines
990 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace JobTrackerApi.Models
|
|
{
|
|
// Single-row table to store workflow automation thresholds.
|
|
public class RuleSettings
|
|
{
|
|
public int Id { get; set; } = 1;
|
|
|
|
// The API accepts this only as a per-user override. Older clients can omit it.
|
|
[NotMapped]
|
|
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
|
public bool? AutomaticGhostingPaused { get; set; }
|
|
|
|
// Applied / no response yet
|
|
public int AppliedFollowUpDays { get; set; } = 14;
|
|
public int AppliedGhostDays { get; set; } = 30;
|
|
|
|
// Offer / accepted waiting on next step
|
|
public int OfferFollowUpDays { get; set; } = 7;
|
|
public int OfferGhostDays { get; set; } = 14;
|
|
|
|
// Rejected but you requested feedback
|
|
public int FeedbackFollowUpDays { get; set; } = 7;
|
|
public int FeedbackGhostDays { get; set; } = 14;
|
|
}
|
|
}
|
|
|