19 lines
330 B
C#
19 lines
330 B
C#
using System;
|
|
using HN.Domain;
|
|
|
|
namespace HN.Application
|
|
{
|
|
public sealed class LinkDTO
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Url { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
public LinkDTO(Link link)
|
|
{
|
|
Id = link.Id;
|
|
Url = link.Url;
|
|
CreatedAt = link.CreatedAt;
|
|
}
|
|
}
|
|
} |