source: ChapterX.Domain/Entities/Comment.cs@ b373fea

main
Last change on this file since b373fea was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago

Added files

  • Property mode set to 100644
File size: 609 bytes
RevLine 
[877c13c]1using ChapterX.Domain.Shared;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace ChapterX.Domain.Entities
9{
10 public class Comment : IEntity
11 {
12 public int Id { get; set; }
13 public string Content { get; set; } = string.Empty;
14 public DateTime CreatedAt { get; set; }
15 public DateTime UpdatedAt { get; set; }
16
17
18 public int UserId { get; set; }
19 public int StoryId { get; set; }
20 public User User { get; set; } = null!;
21 public Story Story { get; set; } = null!;
22 }
23}
Note: See TracBrowser for help on using the repository browser.