main
|
Last change
on this file since 877c13c was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago |
|
Added files
|
-
Property mode
set to
100644
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | using ChapterX.Domain.Shared;
|
|---|
| 2 | using System;
|
|---|
| 3 | using System.Collections.Generic;
|
|---|
| 4 | using System.Linq;
|
|---|
| 5 | using System.Text;
|
|---|
| 6 | using System.Threading.Tasks;
|
|---|
| 7 |
|
|---|
| 8 | namespace ChapterX.Domain.Entities
|
|---|
| 9 | {
|
|---|
| 10 | public class Story : IEntity
|
|---|
| 11 | {
|
|---|
| 12 | public int Id { get; set; }
|
|---|
| 13 | public bool MatureContent { get; set; }
|
|---|
| 14 | public string ShortDescription { get; set; } = string.Empty;
|
|---|
| 15 | public string? Image { get; set; }
|
|---|
| 16 | public string Content { get; set; } = string.Empty;
|
|---|
| 17 | public DateTime CreatedAt { get; set; }
|
|---|
| 18 | public DateTime UpdatedAt { get; set; }
|
|---|
| 19 |
|
|---|
| 20 | public int UserId { get; set; }
|
|---|
| 21 | public Writer Writer { get; set; } = null!;
|
|---|
| 22 | public ICollection<Status> Statuses { get; set; } = [];
|
|---|
| 23 | public ICollection<Chapter> Chapters { get; set; } = [];
|
|---|
| 24 | public ICollection<HasGenre> HasGenres { get; set; } = [];
|
|---|
| 25 | public ICollection<Likes> Likes { get; set; } = [];
|
|---|
| 26 | public ICollection<Comment> Comments { get; set; } = [];
|
|---|
| 27 | public ICollection<Collaboration> Collaborations { get; set; } = [];
|
|---|
| 28 | public ICollection<AISuggestion> AISuggestions { get; set; } = [];
|
|---|
| 29 | public ICollection<Notify> Notifies { get; set; } = [];
|
|---|
| 30 | public ICollection<ReadingListItems> ReadingListItems { get; set; } = [];
|
|---|
| 31 | public ICollection<NeedApproval> NeedApprovals { get; set; } = [];
|
|---|
| 32 |
|
|---|
| 33 | }
|
|---|
| 34 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.