* Extended functionalities

* Added different UIs
This commit is contained in:
2026-06-24 21:43:40 +02:00
parent 282f4864c4
commit f15bb7a916
348 changed files with 59057 additions and 498 deletions

View File

@@ -0,0 +1,45 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MealPlan.Api.Models;
[Table("DietReminders")]
public class DietReminder
{
[Column("Id")]
public int Id { get; set; }
[Column("UserId")]
public Guid UserId { get; set; }
[Column("ReminderType")]
public int ReminderType { get; set; }
[Column("Title")]
[MaxLength(120)]
public string Title { get; set; } = string.Empty;
[Column("Message")]
[MaxLength(500)]
public string? Message { get; set; }
[Column("TimeOfDay")]
public TimeOnly TimeOfDay { get; set; }
[Column("DaysOfWeekMask")]
public int DaysOfWeekMask { get; set; } = ReminderDaysMask.All;
[Column("MealCategory")]
public int? MealCategory { get; set; }
[Column("IsEnabled")]
public bool IsEnabled { get; set; } = true;
[Column("CreatedAt")]
public DateTime CreatedAt { get; set; }
[Column("UpdatedAt")]
public DateTime? UpdatedAt { get; set; }
public ApplicationUser? User { get; set; }
}