mirror of
https://github.com/sphildreth/roadie
synced 2025-03-01 21:57:11 +00:00
25 lines
No EOL
650 B
C#
25 lines
No EOL
650 B
C#
using Roadie.Library.Identity;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Roadie.Library.Data
|
|
{
|
|
[Table("playlist")]
|
|
public partial class Playlist : NamedEntityBase
|
|
{
|
|
[Column("Description")]
|
|
[MaxLength(1000)]
|
|
public string Description { get; set; }
|
|
|
|
[Column("isPublic")]
|
|
public bool IsPublic { get; set; }
|
|
|
|
public ICollection<PlaylistTrack> Tracks { get; set; }
|
|
|
|
public ApplicationUser User { get; set; }
|
|
|
|
[Column("userId")]
|
|
public int? UserId { get; set; }
|
|
}
|
|
} |