2024-04-17 12:24:47 +03:30
|
|
|
|
namespace Netina.Domain.Dtos.RequestDtos.SeedDtos;
|
|
|
|
|
|
|
|
|
|
|
|
public class SeedBlogRequestDto
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
|
|
public string Content { get; set; } = string.Empty;
|
|
|
|
|
|
public string Tags { get; set; } = string.Empty;
|
|
|
|
|
|
public int ReadingTime { get; set; }
|
|
|
|
|
|
public string Summery { get; set; } = string.Empty;
|
|
|
|
|
|
public bool IsSuggested { get; set; }
|
|
|
|
|
|
public Guid CategoryId { get; set; }
|
2024-04-22 13:33:39 +03:30
|
|
|
|
public string Slug { get; set; } = string.Empty;
|
2024-04-17 16:19:40 +03:30
|
|
|
|
public List<StorageFileSDto> Files { get; set; } = new();
|
2024-04-17 12:24:47 +03:30
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class SeedBlogCategoryRequestDto
|
|
|
|
|
|
{
|
|
|
|
|
|
public int BaseCategoryId { get; set; }
|
|
|
|
|
|
public string Description { get; set; } = string.Empty;
|
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
|
}
|