Spaces:
Sleeping
Sleeping
Download DbConnect/Entities/WalletTransaction.cs from Yuruyuruu/LibraryManagement: direct link, hf CLI and curl.
- Browser
- Download file 486 Bytes
-
https://huggingface.co/spaces/Yuruyuruu/LibraryManagement/resolve/main/DbConnect/Entities/WalletTransaction.cs
- Command line
-
hf download hf://spaces/Yuruyuruu/LibraryManagement/DbConnect/Entities/WalletTransaction.cs
-
curl -L -o WalletTransaction.cs https://huggingface.co/spaces/Yuruyuruu/LibraryManagement/resolve/main/DbConnect/Entities/WalletTransaction.cs
486 Bytes
| using System; | |
| namespace DbConnect.Entities; | |
| public class WalletTransaction | |
| { | |
| public Guid Id { get; set; } | |
| public Guid UserId { get; set; } | |
| public decimal Amount { get; set; } | |
| public string Type { get; set; } = null!; // Deposit, Purchase, Refund | |
| public string? Description { get; set; } | |
| public DateTime CreatedAt { get; set; } = DateTime.UtcNow; | |
| public Guid? ProcessedBy { get; set; } // Librarian ID | |
| public virtual User User { get; set; } = null!; | |
| } | |