feat: add database connections, initial migration and early CLI tooling
All checks were successful
Update changelog / changelog (push) Successful in 25s
All checks were successful
Update changelog / changelog (push) Successful in 25s
This commit is contained in:
15
Entities/SongInteraction.cs
Normal file
15
Entities/SongInteraction.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Shadow.Entities;
|
||||
public class SongInteraction
|
||||
{
|
||||
public int Id { get; set; }
|
||||
required public int SongId { get; set; }
|
||||
required public int UserId { get; set; }
|
||||
DateTime? PlayDate { get; set; } = null;
|
||||
public int PlayCount { get; set; } = 0;
|
||||
public bool? Starred { get; set; } = false;
|
||||
public int Rating { get; set; } = 0;
|
||||
|
||||
public Song? Song { get; set; }
|
||||
public User? User { get; set; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user