Files
Backend-Api/AccountManagement.Application.Contracts/Task/CreateTask.cs
2025-04-07 19:44:22 +03:30

48 lines
1.1 KiB
C#

using System.Collections.Generic;
using IPE.SmsIrClient.Models.Results;
using Microsoft.AspNetCore.Http;
namespace AccountManagement.Application.Contracts.Task;
public class CreateTask
{
public long SenderId { get; set; }
public List<long> ReceiverId { get; set; }
public string Title { get; set; }
public string EndTaskDate { get; set; }
public string EndTaskTime { get; set; }
public string ContractingPartyName { get; set; }
public string? Description { get; set; }
public List<long> PositionId { get; set; }
public List<long> UploadedMedia { get; set; }
public long UploadedVoiceMedia { get; set; }
#region Task Schedule
public string ScheduleCount { get; set; }
public TaskScheduleType ScheduleType { get; set; }
public bool HasSchedule { get; set; }
public TaskScheduleUnitType ScheduleUnitType { get; set; }
public string ScheduleUnitNumber { get; set; }
public long TaskScheduleId { get; set; }
#endregion
}
public enum TaskScheduleType
{
Limited,
Unlimited
}
public enum TaskScheduleUnitType
{
Day,
Week,
Month,
Year
}