Initial version
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using EonaCat.Entities;
|
||||
|
||||
namespace EonaCat.gRPC.Core.Entities;
|
||||
|
||||
public class BaseEntity : Entity
|
||||
{
|
||||
public bool IsDeleted { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace EonaCat.gRPC.Core.Entities;
|
||||
|
||||
public class UserEntity : BaseEntity
|
||||
{
|
||||
public string? FirstName { get; set; }
|
||||
public string? LastName { get; set; }
|
||||
public string Email { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user