4c6f9a4ba8
Database Migration, Repositories, Automapper, Logger, StaticFiles
24 lines
545 B
C#
24 lines
545 B
C#
namespace PortBlog.API.Models
|
|
{
|
|
public class SocialLinksDto
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string? GitHub { get; set; }
|
|
|
|
public string Linkedin { get; set; } = string.Empty;
|
|
|
|
public string? Instagram { get; set; }
|
|
|
|
public string? Facebook { get; set; }
|
|
|
|
public string? Twitter { get; set; }
|
|
|
|
public string? PersonalWebsite { get; set; }
|
|
|
|
public string? BlogUrl { get; set; }
|
|
|
|
public ICollection<PostDto> Posts { get; set; } = new List<PostDto>();
|
|
}
|
|
}
|