first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Fitness_core_BE.Models
|
||||
{
|
||||
public class FeedLike
|
||||
{
|
||||
[Key]
|
||||
public Guid LikeId { get; set; }
|
||||
public Guid FKUserId { get; set; }
|
||||
[ForeignKey("FKUserId")]
|
||||
public virtual User User { get; set; }
|
||||
|
||||
public Guid FKFeedPostId { get; set; }
|
||||
[ForeignKey("FKFeedPostId")]
|
||||
public virtual FeedPost FeedPost { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user