Class UserFavorite
[Table("UserFavorites")]
[PrimaryKey("UserId", new string[] { "PostId" })]
[Index("UserId", new string[] { }, IsUnique = false)]
public class UserFavorite
- Inheritance
-
UserFavorite
- Inherited Members
Properties
CreationTimestampUTC
Unix-timestamp of when this UserFavorite was inserted into the DB for the first time.
public required long CreationTimestampUTC { get; set; }
Property Value
Post
[ForeignKey("PostId")]
public Post Post { get; set; }
Property Value
PostId
public long PostId { get; set; }
Property Value
User
User who is owner of this UserFavorite.
[ForeignKey("UserId")]
public User User { get; set; }
Property Value
UserId
Id of the User who is owner of this UserFavorite.
public long UserId { get; set; }