22 lines
626 B
C#
22 lines
626 B
C#
using Fitness_core_BE.Models.Enums;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Fitness_core_BE.Models
|
|
{
|
|
public class PayoutBatch
|
|
{
|
|
[Key]
|
|
public Guid Id { get; set; }
|
|
|
|
public Guid FKClientId { get; set; }
|
|
[ForeignKey("FKClientId")]
|
|
public virtual Client Client { get; set; }
|
|
|
|
public DateOnly ScheduledDate { get; set; }
|
|
public decimal Amount { get; set; }
|
|
public PayoutBatchStatus Status { get; set; } = PayoutBatchStatus.Pending;
|
|
public DateTime? ProcessedAt { get; set; }
|
|
}
|
|
}
|