This commit is contained in:
@@ -11,6 +11,7 @@ using Microsoft.EntityFrameworkCore;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using AyaNova.Util;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace AyaNova.Api.Controllers
|
||||
{
|
||||
@@ -265,13 +266,21 @@ namespace AyaNova.Api.Controllers
|
||||
|
||||
public class PersonalScheduleParams
|
||||
{
|
||||
[Required]
|
||||
public ScheduleView View { get; set; }
|
||||
[Required]
|
||||
public DateTime Start { get; set; }
|
||||
[Required]
|
||||
public DateTime End { get; set; }
|
||||
[Required]
|
||||
public PersonalScheduleWorkOrderColorSource WisuColorSource { get; set; }
|
||||
[Required]
|
||||
public bool Wisu { get; set; }
|
||||
[Required]
|
||||
public bool Reviews { get; set; }
|
||||
[Required]
|
||||
public bool Reminders { get; set; }
|
||||
[Required]
|
||||
public bool Dark { get; set; }//indicate if Client is set to dark mode or not, used for colorless types to display as black or white
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user