Ignore:
Timestamp:
08/20/24 15:04:19 (3 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
6782104
Parents:
ae6c071
Message:

fix bugs and new pages

Fix BlogPostAnswers
fix present data in the lists

Location:
PostgreSqlDotnetCore/Models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Models/BlogPostAnswers.cs

    rae6c071 r8f8226c  
    1212        public int parent_id { get; set; }
    1313        public string reply { get; set; }
    14         public int? blogpostconsultationid { get; set; }
     14
     15        [ForeignKey("BlogPostConsultation")]
     16        [Column("blogpostconsid")]
     17        public int BlogPostConsultationid { get; set; }
     18        public BlogPostConsultation BlogPostConsultation { get; set; }
     19
    1520        public int usersid { get; set; }
    1621    }
  • PostgreSqlDotnetCore/Models/PetsClass.cs

    rae6c071 r8f8226c  
    1616        public string color { get; set; }
    1717
     18        public string name { get; set; }
     19
    1820        public string description { get; set; }
    1921       // public DateTime dateofbirthday { get; set; }
Note: See TracChangeset for help on using the changeset viewer.