roadie/Roadie.Api.Library/Data/Bookmark.cs
2018-12-26 13:39:13 -06:00

33 lines
No EOL
808 B
C#

using Roadie.Library.Enums;
using Roadie.Library.Identity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("bookmark")]
public partial class Bookmark : EntityBase
{
[Column("bookmarkTargetId")]
public int BookmarkTargetId { get; set; }
// public short? Type { get; set; }
[Column("bookmarkType")]
public BookmarkType? BookmarkType { get; set; }
public ApplicationUser User { get; set; }
[Column("userId")]
[Required]
public int UserId { get; set; }
[Column("position")]
public int? Position { get; set; }
[Column("Comment")]
[MaxLength(4000)]
public string Comment { get; set; }
}
}