2018-11-02 17:20:36 -05:00
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
[Column("bookmarkType")]
|
|
|
|
|
public BookmarkType? BookmarkType { get; set; }
|
|
|
|
|
|
2018-11-04 14:33:37 -06:00
|
|
|
|
public ApplicationUser User { get; set; }
|
|
|
|
|
|
2018-11-02 17:20:36 -05:00
|
|
|
|
[Column("userId")]
|
|
|
|
|
[Required]
|
|
|
|
|
public int UserId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|