♻️ Centralized data models (wip)
This commit is contained in:
14
DysonNetwork.Shared/Models/Developer.cs
Normal file
14
DysonNetwork.Shared/Models/Developer.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace DysonNetwork.Shared.Models;
|
||||
|
||||
public class SnDeveloper
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
public Guid PublisherId { get; set; }
|
||||
|
||||
[JsonIgnore] public List<SnDevProject> Projects { get; set; } = [];
|
||||
|
||||
[NotMapped] public SnPublisher? Publisher { get; set; }
|
||||
}
|
Reference in New Issue
Block a user