26 lines
553 B
C#
26 lines
553 B
C#
using Core.Abstractions.Models;
|
|
|
|
namespace WeatherForecast.Models.Abstractions {
|
|
public abstract class PostItemModelBase : ModelBase {
|
|
public Guid Id { get; set; }
|
|
|
|
public string Slug { get; set; }
|
|
|
|
public ImageModel Image { get; set; }
|
|
|
|
public string Badge { get; set; }
|
|
|
|
public string Title { get; set; }
|
|
|
|
public string? ShortText { get; set; }
|
|
|
|
public string? Text { get; set; }
|
|
|
|
public AuthorModel Author { get; set; }
|
|
|
|
public DateTime Created { get; set; }
|
|
|
|
public List<string> Tags { get; set; }
|
|
}
|
|
}
|