roadie/Roadie.Api.Library/Data/Bookmark.cs

33 lines
808 B
C#
Raw Normal View History

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; }
2018-12-04 17:26:27 -06:00
2018-12-11 17:09:52 -06:00
// public short? Type { get; set; }
[Column("bookmarkType")]
2018-11-02 17:20:36 -05:00
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; }
2018-11-23 22:06:59 -06:00
[Column("position")]
public int? Position { get; set; }
[Column("Comment")]
[MaxLength(4000)]
public string Comment { get; set; }
2018-11-02 17:20:36 -05:00
}
}