main
|
Last change
on this file since e882b92 was e882b92, checked in by kikisrbinoska <srbinoskakristina07@…>, 13 days ago |
|
Added corrected entitef from the ER diagram and changes for the logic to be coresponding to the ddl
|
-
Property mode
set to
100644
|
|
File size:
322 bytes
|
| Rev | Line | |
|---|
| [877c13c] | 1 | using ChapterX.Domain.Shared;
|
|---|
| 2 |
|
|---|
| 3 | namespace ChapterX.Domain.Entities
|
|---|
| 4 | {
|
|---|
| 5 | public class Writer : IEntity
|
|---|
| 6 | {
|
|---|
| 7 | public int Id { get; set; } // maps to user_id
|
|---|
| [e882b92] | 8 | public string? Bio { get; set; }
|
|---|
| [877c13c] | 9 | public User User { get; set; } = null!;
|
|---|
| 10 | public ICollection<Story> Stories { get; set; } = [];
|
|---|
| 11 | }
|
|---|
| 12 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.