Asoka.Wang 2b3f9acdce 123
2025-09-22 19:09:47 +08:00

31 lines
988 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}