Change name

This commit is contained in:
2026-03-18 20:52:11 +01:00
parent 41b8cbfc9c
commit 28b46e3cc4
11 changed files with 3 additions and 3 deletions
+22
View File
@@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Musify.Domain.Entities
{
[Table("User")]
public class User
{
[Key]
public required Guid Id { get; set; }
[Required]
public DateTime CreatedAt { get; set; } = DateTime.Now;
[Required]
public DateTime UpdatedAt { get; set; } = DateTime.Now;
public ICollection<Track> Tracks { get; set; } = new List<Track>();
public ICollection<PlayList> PlayLists { get; set; } = new List<PlayList>();
}
}