16 lines
407 B
C#
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; }
|
|
|
|
}
|