|
|
@ -36,6 +36,24 @@ namespace Sevomin.Models |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[DisplayName("تاریخ ایجاد")] |
|
|
|
[DataType(DataType.Date)] |
|
|
|
public DateTime CreateDate { get; set; } |
|
|
|
|
|
|
|
[DisplayName("تاریخ ایجاد")] |
|
|
|
[DataType(DataType.Date)] |
|
|
|
public string JalaliCreateDate |
|
|
|
{ |
|
|
|
get |
|
|
|
{ |
|
|
|
return DateAssist.ToShamsi(this.CreateDate); |
|
|
|
} |
|
|
|
set |
|
|
|
{ |
|
|
|
CreateDate = DateAssist.ValidateAndSetToMiladi(value) ?? DateTime.MinValue; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[DisplayName("سایر مشخصات")] |
|
|
|
public string Description { get; set; } |
|
|
|
|
|
|
@ -68,6 +86,7 @@ namespace Sevomin.Models |
|
|
|
this.Id = job.Id; |
|
|
|
this.AvalinId = job.AvalinId; |
|
|
|
this.ExpireDate = job.ExpireDate == DateTime.MinValue ? DateTime.Now.AddDays(14) : job.ExpireDate; |
|
|
|
this.CreateDate = job.CreateDate == DateTime.MinValue ? DateTime.Now : job.CreateDate; |
|
|
|
this.Description = job.Description; |
|
|
|
this.ResumeType = job.ResumeType; |
|
|
|
this.ContactPersonEMail = job.ContactPersonEMail; |
|
|
|