mirror of
https://github.com/sphildreth/roadie
synced 2024-12-11 21:32:31 +00:00
33 lines
No EOL
808 B
C#
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; }
|
|
}
|
|
} |