♻️ Move most of models to the Shared package
This commit is contained in:
15
DysonNetwork.Shared/Models/ModelBase.cs
Normal file
15
DysonNetwork.Shared/Models/ModelBase.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using NodaTime;
|
||||
|
||||
namespace DysonNetwork.Shared.Models;
|
||||
|
||||
public interface IIdentifiedResource
|
||||
{
|
||||
public string ResourceIdentifier { get; }
|
||||
}
|
||||
|
||||
public abstract class ModelBase
|
||||
{
|
||||
public Instant CreatedAt { get; set; }
|
||||
public Instant UpdatedAt { get; set; }
|
||||
public Instant? DeletedAt { get; set; }
|
||||
}
|
Reference in New Issue
Block a user