This commit is contained in:
Дмитрий Шиманский
2023-12-19 11:57:19 +03:00
parent 4e43b1631b
commit a5d39384ac
34 changed files with 1825 additions and 79 deletions

17
Models/Tables/Comments.cs Normal file
View File

@@ -0,0 +1,17 @@
using System.ComponentModel.DataAnnotations.Schema;
using System.Net.Mail;
namespace yaflay.ru.Models.Tables
{
[Table("Comments", Schema = "public")]
public class Comments
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public long dateTime { get; set; }
public string Text { get; set; }
public string creatorMail { get; set; }
public int postId { get; set; }
}
}