refactor: shoved in what i wanted to shove
This commit is contained in:
13
LctMonolith/Models/Database/Transaction.cs
Normal file
13
LctMonolith/Models/Database/Transaction.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace LctMonolith.Models.Database;
|
||||
|
||||
public class Transaction
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
public Guid UserId { get; set; }
|
||||
public AppUser User { get; set; } = null!;
|
||||
public TransactionType Type { get; set; }
|
||||
public Guid? StoreItemId { get; set; }
|
||||
public StoreItem? StoreItem { get; set; }
|
||||
public int ManaAmount { get; set; }
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
}
|
||||
Reference in New Issue
Block a user