|
@@ -1,6 +1,7 @@
|
|
|
using MTWorkHR.Application.Models;
|
|
|
using MTWorkHR.Core.Entities.Base;
|
|
|
using MTWorkHR.Core.Global;
|
|
|
+using Newtonsoft.Json;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
@@ -33,6 +34,7 @@ namespace MTWorkHR.Application.Models
|
|
|
public string? JobNumber { get; set; } //ثابت و مأخوذ من المنصة
|
|
|
//----------------Contract data -------------------------
|
|
|
public DateTime? StartDate { get; set; }
|
|
|
+ [JsonProperty(Required = Required.AllowNull)]
|
|
|
public DateTime? EndDate { get; set; }
|
|
|
public ContractDurationEnum ContractDurationId { get; set; } //: اختيار: شهري – ربعي – نصف سنوي – 3 ارباع – سنوي
|
|
|
public TypeOfWork TypeOfWork { get; set; } //: : اختيار: عقد بدوام كامل - عقد دوام جزئي
|