Promact/slack-erp-custom-integration-mvc

View on GitHub
Slack.Automation/Promact.Erp.DomainModel/Models/LeaveRequest.cs

Summary

Maintainability
A
0 mins
Test Coverage
using Promact.Erp.DomainModel.ApplicationClass;
using System;

namespace Promact.Erp.DomainModel.Models
{
    public class LeaveRequest : ModelBase
    {
        /// <summary>
        /// Leave Type
        /// </summary>
        public LeaveType Type { get; set; }

        /// <summary>
        /// Reason for Leave
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// Leave Start Date
        /// </summary>
        public DateTime FromDate { get; set; }

        /// <summary>
        /// Leave End Date
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// Rejoin date to back office after Leave
        /// </summary>
        public DateTime? RejoinDate { get; set; }

        /// <summary>
        /// Status of Leave : Approved, Pending, Rejected and Cancel
        /// </summary>
        public Condition Status { get; set; }

        /// <summary>
        /// EmployeeId as per OAuth Server
        /// </summary>
        public string EmployeeId { get; set; }
    }
}