using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace ProfesionalProfile_District3_MVC.Models
{
    public class PostGAMBA
    {
        /*
        post_id
        owner_user_id
        description
        commented_post_id
        original_post_id
        media_path
        post_type
        location_id
        created_date
         */
        [Key][DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Post_Id { get; set; }

        [Required] public int Owner_User_Id { get; set; }
        public string Description { get; set; } = string.Empty;
        public int Commented_Post_Id { get; set; }
        public int Original_Post_Id { get; set; }
        public string Media_Path { get; set; } = string.Empty;
        [Required] public short Post_Type { get; set; }
        public int Location_Id { get; set; }
        [Required] public DateTime Created_Date { get; set; }
    }
}
