SettlementPaymentBllDto.cs
1,066 bytes
| 1 | using SplitApp.Modules.Trips.Domain.Entities; |
|---|---|
| 2 | using SplitApp.Modules.Trips.Domain.Enums; |
| 3 | using SplitApp.Modules.Expenses.Domain.Entities; |
| 4 | using SplitApp.Modules.Expenses.Domain.Enums; |
| 5 | using SplitApp.Modules.Users.Domain.Entities; |
| 6 | using SplitApp.Shared.Kernel.Domain; |
| 7 | using SplitApp.Shared.Kernel.Localization; |
| 8 | |
| 9 | namespace SplitApp.WebApp.Application.DTO; |
| 10 | |
| 11 | public class SettlementPaymentBllDto |
| 12 | { |
| 13 | public Guid Id { get; set; } |
| 14 | public DateTime CreatedAt { get; set; } |
| 15 | public DateTime UpdatedAt { get; set; } |
| 16 | |
| 17 | public Guid SettlementPlanId { get; set; } |
| 18 | |
| 19 | public Guid FromUserId { get; set; } |
| 20 | public AppUserBllDto? FromUser { get; set; } |
| 21 | public string? FromUserFullName => FromUser?.FullName; |
| 22 | |
| 23 | public Guid ToUserId { get; set; } |
| 24 | public AppUserBllDto? ToUser { get; set; } |
| 25 | public string? ToUserFullName => ToUser?.FullName; |
| 26 | |
| 27 | public decimal Amount { get; set; } |
| 28 | public EPaymentStatus Status { get; set; } = EPaymentStatus.Pending; |
| 29 | public DateTime? MarkedPaidAt { get; set; } |
| 30 | public DateTime? ConfirmedAt { get; set; } |
| 31 | } |
| 32 | |