source: PostgreSqlDotnetCore/Models/BlogPostAnswers.cs@ 118e414

main
Last change on this file since 118e414 was 8f8226c, checked in by ElenaMoskova <elena.moskova99@…>, 6 weeks ago

fix bugs and new pages

Fix BlogPostAnswers
fix present data in the lists

  • Property mode set to 100644
File size: 631 bytes
Line 
1using System.ComponentModel.DataAnnotations;
2using System.ComponentModel.DataAnnotations.Schema;
3
4namespace PostgreSqlDotnetCore.Models
5{
6
7 [Table("blog_post_answers", Schema = "project")]
8 public class BlogPostAnswers
9 {
10 [Key]
11 public int id { get; set; }
12 public int parent_id { get; set; }
13 public string reply { get; set; }
14
15 [ForeignKey("BlogPostConsultation")]
16 [Column("blogpostconsid")]
17 public int BlogPostConsultationid { get; set; }
18 public BlogPostConsultation BlogPostConsultation { get; set; }
19
20 public int usersid { get; set; }
21 }
22}
Note: See TracBrowser for help on using the repository browser.