31 lines
988 B
C#
31 lines
988 B
C#
using System;
|
||
|
||
namespace NPP.SmartSchedue.Api.Contracts.Services.Workbench.Input;
|
||
|
||
/// <summary>
|
||
/// 获取用户本周日历数据输入参数
|
||
/// </summary>
|
||
public class WeeklyCalendarInput
|
||
{
|
||
/// <summary>
|
||
/// 指定周的日期(可选,默认为当前周)
|
||
/// 可以是该周内任意一天,系统会自动计算周的开始和结束日期
|
||
/// </summary>
|
||
public DateTime? WeekDate { get; set; }
|
||
|
||
/// <summary>
|
||
/// 指定人员ID(可选,默认为当前登录用户)
|
||
/// 如果指定则获取该人员的日历数据,否则获取当前登录用户的数据
|
||
/// </summary>
|
||
public long? PersonnelId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否包含已完成的任务(默认true)
|
||
/// </summary>
|
||
public bool IncludeCompletedTasks { get; set; } = true;
|
||
|
||
/// <summary>
|
||
/// 是否包含不可用时间段(默认true)
|
||
/// </summary>
|
||
public bool IncludeUnavailableSlots { get; set; } = true;
|
||
} |