Files
Shadow/Entities/SongInteraction.cs
sherl f648a73cb2
All checks were successful
Update changelog / changelog (push) Successful in 25s
feat: add database connections, initial migration and early CLI tooling
2025-12-09 01:46:05 +01:00

16 lines
407 B
C#

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; }
}