first commit

This commit is contained in:
Dhananjaya99
2026-09-28 11:44:26 +05:30
parent 721743ae6b
commit bffc9b1686
424 changed files with 46474 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Fitness_core_BE.Models
{
public class StaffPayment
{
[Key]
public Guid Id { get; set; }
public Guid FKStaffId { get; set; }
[ForeignKey("FKStaffId")]
public virtual Staff Staff { get; set; }
public decimal Amount { get; set; }
public string? Note { get; set; }
public DateTime PaidAt { get; set; } = DateTime.UtcNow;
// The gym-owner (Client.FKUserId) or staff user who recorded this payment.
public Guid FKPaidByUserId { get; set; }
}
}