using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Fitness_core_BE.Models { public class StaffPayRate { [Key] public Guid Id { get; set; } public Guid FKStaffId { get; set; } [ForeignKey("FKStaffId")] public virtual Staff Staff { get; set; } public string RateType { get; set; } = "Monthly"; // "Monthly" | "Hourly" public decimal Amount { get; set; } public DateTime EffectiveFrom { get; set; } = DateTime.UtcNow; public bool IsActive { get; set; } = true; } }