Changeset e882b92 for ChapterX.Domain
- Timestamp:
- 08/24/26 20:57:09 (13 days ago)
- Branches:
- main
- Parents:
- a6e33d1
- Location:
- ChapterX.Domain
- Files:
-
- 18 deleted
- 18 edited
-
DTOs/AISuggestionDto.cs (modified) (2 diffs)
-
DTOs/AdminDto.cs (modified) (1 diff)
-
DTOs/CollaborationDto.cs (modified) (2 diffs)
-
DTOs/ContentTypeDto.cs (deleted)
-
DTOs/LikesDto.cs (modified) (1 diff)
-
DTOs/NotificationDto.cs (modified) (1 diff)
-
DTOs/NotifyDto.cs (deleted)
-
DTOs/PermissionLevelDto.cs (deleted)
-
DTOs/RegularUserDto.cs (modified) (1 diff)
-
DTOs/RolesDto.cs (deleted)
-
DTOs/StatusDto.cs (deleted)
-
DTOs/StoryDto.cs (modified) (3 diffs)
-
DTOs/SuggestionTypeDto.cs (deleted)
-
DTOs/UserDto.cs (modified) (1 diff)
-
DTOs/WriterDto.cs (modified) (1 diff)
-
Entities/AISuggestion.cs (modified) (2 diffs)
-
Entities/Admin.cs (modified) (1 diff)
-
Entities/Collaboration.cs (modified) (1 diff)
-
Entities/ContentType.cs (deleted)
-
Entities/Likes.cs (modified) (1 diff)
-
Entities/Notification.cs (modified) (1 diff)
-
Entities/Notify.cs (deleted)
-
Entities/PermissionLevel.cs (deleted)
-
Entities/RegularUser.cs (modified) (1 diff)
-
Entities/Roles.cs (deleted)
-
Entities/Status.cs (deleted)
-
Entities/Story.cs (modified) (3 diffs)
-
Entities/SuggestionType.cs (deleted)
-
Entities/User.cs (modified) (1 diff)
-
Entities/Writer.cs (modified) (1 diff)
-
Repositories/IContentTypeRepository.cs (deleted)
-
Repositories/INotifyRepository.cs (deleted)
-
Repositories/IPermissionLevelRepository.cs (deleted)
-
Repositories/IRolesRepository.cs (deleted)
-
Repositories/IStatusRepository.cs (deleted)
-
Repositories/ISuggestionTypeRepository.cs (deleted)
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Domain/DTOs/AISuggestionDto.cs
ra6e33d1 re882b92 6 6 public string OriginalText { get; set; } = string.Empty; 7 7 public string SuggestedText { get; set; } = string.Empty; 8 public string SuggestionType { get; set; } = string.Empty; 8 9 public bool Accepted { get; set; } 9 10 public DateTime CreatedAt { get; set; } … … 15 16 // Navigation 16 17 public StoryDto Story { get; set; } = null!; 17 public ICollection<SuggestionTypeDto> SuggestionTypes { get; set; } = [];18 18 public ICollection<NeedApprovalDto> NeedApprovals { get; set; } = []; 19 19 } -
ChapterX.Domain/DTOs/AdminDto.cs
ra6e33d1 re882b92 4 4 { 5 5 public int UserId { get; set; } 6 public DateTime AssignedAt { get; set; } 6 7 7 8 // Navigation -
ChapterX.Domain/DTOs/CollaborationDto.cs
ra6e33d1 re882b92 5 5 public int UserId { get; set; } 6 6 public int StoryId { get; set; } 7 public string Role { get; set; } = string.Empty; 8 public int? PermissionLevel { get; set; } 7 9 public DateTime CreatedAt { get; set; } 8 10 … … 10 12 public UserDto User { get; set; } = null!; 11 13 public StoryDto Story { get; set; } = null!; 12 public ICollection<RolesDto> Roles { get; set; } = [];13 public ICollection<PermissionLevelDto> PermissionLevels { get; set; } = [];14 14 } 15 15 } -
ChapterX.Domain/DTOs/LikesDto.cs
ra6e33d1 re882b92 5 5 public int UserId { get; set; } 6 6 public int StoryId { get; set; } 7 public DateTime CreatedAt { get; set; }7 public DateTime LikedAt { get; set; } 8 8 9 9 // Navigation -
ChapterX.Domain/DTOs/NotificationDto.cs
ra6e33d1 re882b92 5 5 public int Id { get; set; } 6 6 public string Content { get; set; } = string.Empty; 7 public string ContentType { get; set; } = string.Empty; 7 8 public bool IsRead { get; set; } 9 public string? Link { get; set; } 10 public int UserId { get; set; } 11 public int? StoryId { get; set; } 8 12 public DateTime CreatedAt { get; set; } 9 10 // Navigation11 public ICollection<ContentTypeDto> ContentTypes { get; set; } = [];12 public ICollection<NotifyDto> Notifies { get; set; } = [];13 13 } 14 14 } -
ChapterX.Domain/DTOs/RegularUserDto.cs
ra6e33d1 re882b92 4 4 { 5 5 public int UserId { get; set; } 6 public DateTime JoinedAt { get; set; } 6 7 7 8 // Navigation -
ChapterX.Domain/DTOs/StoryDto.cs
ra6e33d1 re882b92 7 7 public int Id { get; set; } 8 8 public bool MatureContent { get; set; } 9 public string Title { get; set; } = string.Empty; 9 10 public string ShortDescription { get; set; } = string.Empty; 10 11 public string? Image { get; set; } 11 12 public string Content { get; set; } = string.Empty; 13 public string Status { get; set; } = "draft"; 12 14 public DateTime CreatedAt { get; set; } 13 15 public DateTime UpdatedAt { get; set; } … … 17 19 // Navigation 18 20 public WriterDto Writer { get; set; } = null!; 19 public ICollection<StatusDto> Statuses { get; set; } = [];20 21 public ICollection<ChapterDto> Chapters { get; set; } = []; 21 22 public ICollection<HasGenreDto> HasGenres { get; set; } = []; … … 24 25 public ICollection<CollaborationDto> Collaborations { get; set; } = []; 25 26 public ICollection<AISuggestionDto> AISuggestions { get; set; } = []; 26 public ICollection<NotifyDto> Notifies { get; set; } = [];27 27 public ICollection<ReadingListItemsDto> ReadingListItems { get; set; } = []; 28 28 public ICollection<NeedApprovalDto> NeedApprovals { get; set; } = []; -
ChapterX.Domain/DTOs/UserDto.cs
ra6e33d1 re882b92 22 22 public ICollection<CommentDto> Comments { get; set; } = []; 23 23 public ICollection<CollaborationDto> Collaborations { get; set; } = []; 24 public ICollection<Notif yDto> Notifies { get; set; } = [];24 public ICollection<NotificationDto> Notifications { get; set; } = []; 25 25 } 26 26 } -
ChapterX.Domain/DTOs/WriterDto.cs
ra6e33d1 re882b92 6 6 { 7 7 public int UserId { get; set; } 8 public string? Bio { get; set; } 8 9 9 10 // Navigation -
ChapterX.Domain/Entities/AISuggestion.cs
ra6e33d1 re882b92 13 13 public string OriginalText { get; set; } = string.Empty; 14 14 public string SuggestedText { get; set; } = string.Empty; 15 public string SuggestionType { get; set; } = string.Empty; 15 16 public bool? Accepted { get; set; } 16 17 public DateTime CreatedAt { get; set; } … … 19 20 public int StoryId { get; set; } 20 21 public Story Story { get; set; } = null!; 21 public ICollection<SuggestionType> SuggestionTypes { get; set; } = [];22 22 public ICollection<NeedApproval> NeedApprovals { get; set; } = []; 23 23 -
ChapterX.Domain/Entities/Admin.cs
ra6e33d1 re882b92 6 6 { 7 7 public int Id { get; set; } // maps to user_id 8 public DateTime AssignedAt { get; set; } 8 9 public User User { get; set; } = null!; 9 10 } -
ChapterX.Domain/Entities/Collaboration.cs
ra6e33d1 re882b92 8 8 public int UserId { get; set; } 9 9 public int StoryId { get; set; } 10 public string Role { get; set; } = string.Empty; 11 public int? PermissionLevel { get; set; } 10 12 public DateTime CreatedAt { get; set; } 11 13 public User User { get; set; } = null!; -
ChapterX.Domain/Entities/Likes.cs
ra6e33d1 re882b92 8 8 public int UserId { get; set; } 9 9 public int StoryId { get; set; } 10 public DateTime CreatedAt { get; set; }10 public DateTime LikedAt { get; set; } 11 11 public User User { get; set; } = null!; 12 12 public Story Story { get; set; } = null!; -
ChapterX.Domain/Entities/Notification.cs
ra6e33d1 re882b92 12 12 public int Id { get; set; } 13 13 public string Content { get; set; } = string.Empty; 14 public string ContentType { get; set; } = string.Empty; 14 15 public bool IsRead { get; set; } 16 public string? Link { get; set; } 15 17 public DateTime CreatedAt { get; set; } 16 public int? RecipientUserId { get; set; }17 public string? Type { get; set; }18 public string? Link { get; set; }19 18 20 public ICollection<ContentType> ContentTypes { get; set; } = []; 21 public ICollection<Notify> Notifies { get; set; } = []; 22 19 public int UserId { get; set; } 20 public int? StoryId { get; set; } 21 public User User { get; set; } = null!; 22 public Story? Story { get; set; } 23 23 } 24 24 } -
ChapterX.Domain/Entities/RegularUser.cs
ra6e33d1 re882b92 6 6 { 7 7 public int Id { get; set; } // maps to user_id 8 public DateTime JoinedAt { get; set; } 8 9 public User User { get; set; } = null!; 9 10 } -
ChapterX.Domain/Entities/Story.cs
ra6e33d1 re882b92 16 16 public string? Image { get; set; } 17 17 public string Content { get; set; } = string.Empty; 18 public string Status { get; set; } = "draft"; 18 19 public DateTime CreatedAt { get; set; } 19 20 public DateTime UpdatedAt { get; set; } … … 21 22 public int UserId { get; set; } 22 23 public Writer Writer { get; set; } = null!; 23 public ICollection<Status> Statuses { get; set; } = [];24 24 public ICollection<Chapter> Chapters { get; set; } = []; 25 25 public ICollection<HasGenre> HasGenres { get; set; } = []; … … 28 28 public ICollection<Collaboration> Collaborations { get; set; } = []; 29 29 public ICollection<AISuggestion> AISuggestions { get; set; } = []; 30 public ICollection<Notif y> Notifies { get; set; } = [];30 public ICollection<Notification> Notifications { get; set; } = []; 31 31 public ICollection<ReadingListItems> ReadingListItems { get; set; } = []; 32 32 public ICollection<NeedApproval> NeedApprovals { get; set; } = []; -
ChapterX.Domain/Entities/User.cs
ra6e33d1 re882b92 26 26 public ICollection<Comment> Comments { get; set; } = []; 27 27 public ICollection<Collaboration> Collaborations { get; set; } = []; 28 public ICollection<Notif y> Notifies { get; set; } = [];28 public ICollection<Notification> Notifications { get; set; } = []; 29 29 30 30 -
ChapterX.Domain/Entities/Writer.cs
ra6e33d1 re882b92 6 6 { 7 7 public int Id { get; set; } // maps to user_id 8 public string? Bio { get; set; } 8 9 public User User { get; set; } = null!; 9 10 public ICollection<Story> Stories { get; set; } = [];
Note:
See TracChangeset
for help on using the changeset viewer.
