Files
Backend-Api/CompanyManagment.App.Contracts/Task/CreateTask.cs
2024-07-05 21:36:15 +03:30

29 lines
957 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace CompanyManagment.App.Contracts.Task;
public class CreateTask
{
public long Commander_Id { get; set; }
[Required(ErrorMessage = "انتخاب کاربر الزامی است")]
public long SeniorUser_Id { get; set; }
public long ReferralRecipient_Id { get; set; }
//[Required(ErrorMessage = "انتخاب عنوان وظیفه الزامی است")]
public string TaskTitle { get; set; }
public string SelectTaskTitle { get; set; }
public string Customer { get; set; }
public long Customer_Id { get; set; }
public string TaskDate { get; set; }
public string TaskFromDate { get; set; }
public int TaskDuration { get; set; }
public string Description { get; set; }
public bool IsEditMode { get; set; }
//public TaskStatus. TaskStatus { get; private set; }
//public TaskTitle.TaskTitle TaskTitle { get; private set; }
}