feat: add specific weeks
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m52s
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m52s
This commit is contained in:
@ -39,6 +39,29 @@ public class ScheduleResponse
|
||||
[Required]
|
||||
public required int DisciplineId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets exclude or include weeks for a specific discipline.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If is <see langword="true"/>, then the values in <see cref="Weeks"/> show the weeks when there will be no discipline.
|
||||
/// <br/>
|
||||
/// If is <see langword="false"/>, then the values in <see cref="Weeks"/> indicate the weeks during which a particular discipline will be studied.
|
||||
/// <br/>
|
||||
/// If is <see langword="null"/>, then there are no specific <see cref="Weeks"/>
|
||||
/// </remarks>
|
||||
///
|
||||
|
||||
public bool? IsExcludedWeeks { get; set; }
|
||||
/// <summary>
|
||||
/// The week numbers required for the correct display of the schedule.
|
||||
/// <br/>
|
||||
/// Whether there will be <see cref="Discipline"/> during the week or not depends on the <see cref="IsExcludedWeeks"/> property.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// To get the current week's number, use other queries.
|
||||
/// </remarks>
|
||||
public IEnumerable<int>? Weeks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type of occupation for the schedule entry.
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user