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 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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user