School Commit Init
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using TechTitans.Enums;
|
||||
|
||||
namespace TechTitans.Models
|
||||
{
|
||||
[Table("UserPlaybackBehaviour")]
|
||||
public class UserPlaybackBehaviour
|
||||
{
|
||||
[Key]
|
||||
[Column("user_id")]
|
||||
public int User_Id { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column("song_id")]
|
||||
public int Song_Id { get; set; }
|
||||
|
||||
[Column("event_type")]
|
||||
public PlaybackEventType Event_Type { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column("timestamp")]
|
||||
public DateTime Timestamp { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user