mirror of
https://github.com/QuotifyTeam/QuotifyBE.git
synced 2025-12-16 19:40:06 +01:00
21 lines
648 B
C#
21 lines
648 B
C#
using System.ComponentModel;
|
|
|
|
namespace QuotifyBE.Entities
|
|
{
|
|
public class Quote
|
|
{
|
|
public int Id { get; set; }
|
|
required public string Text { get; set; }
|
|
required public string Author { get; set; }
|
|
//public int CategoryId { get; set; }
|
|
public int? ImageId { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime LastUpdatedAt { get; set; }
|
|
public int UserId { get; set; }
|
|
|
|
public User? User { get; set; }
|
|
public Image? Image { get; set; }
|
|
public ICollection<QuoteCategory> QuoteCategories { get; set; } = new List<QuoteCategory>();
|
|
}
|
|
}
|