first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user