Add profiles domain, infra, API endpoints
This commit is contained in:
20
RecNet.Application/Profiles/ProfileDto.cs
Normal file
20
RecNet.Application/Profiles/ProfileDto.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using RecNet.Domain.Common;
|
||||
|
||||
namespace RecNet.Application.Profiles;
|
||||
|
||||
public class ProfileDTO
|
||||
{
|
||||
[JsonPropertyName("ProfileId")]
|
||||
public Guid ProfileId { get; init; }
|
||||
|
||||
[JsonPropertyName("Name")]
|
||||
public required string Name { get; init; }
|
||||
|
||||
[JsonPropertyName("Platform")]
|
||||
|
||||
public PlatformType Platform { get; init; }
|
||||
|
||||
[JsonPropertyName("CreatedAt")]
|
||||
public DateTimeOffset CreatedAt { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user