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 FeedPost
|
||||
{
|
||||
[Key]
|
||||
public Guid FeedPostId { get; set; }
|
||||
public string? Caption { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public int? FkDocId { get; set; }
|
||||
public Guid FKUserId { get; set; }
|
||||
[ForeignKey("FKUserId")]
|
||||
public virtual User User { get; set; }
|
||||
public bool IsActive { get; set; } = true;
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user