Files
Core_Be/Models/ClientWallet.cs
Dhananjaya99 bffc9b1686 first commit
2026-09-28 11:44:26 +05:30

22 lines
635 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Fitness_core_BE.Models
{
public class ClientWallet
{
[Key]
public Guid Id { get; set; }
public Guid FKClientId { get; set; }
[ForeignKey("FKClientId")]
public virtual Client Client { get; set; }
public decimal Balance { get; set; } = 0;
public string Currency { get; set; } = "LKR";
public DateTime? LastPayoutDate { get; set; }
public virtual ICollection<WalletLedgerEntry> LedgerEntries { get; set; } = new List<WalletLedgerEntry>();
}
}