mirror of
https://github.com/QuotifyTeam/QuotifyBE.git
synced 2025-12-16 22:20:08 +01:00
20 lines
595 B
C#
20 lines
595 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 ICollection<QuoteCategory>? QuoteCategories = new List<QuoteCategory>();
|
|
}
|
|
}
|