97 lines
2.6 KiB
C#
97 lines
2.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace CompanyManagment.App.Contracts.YearlySalary;
|
|
|
|
/// <summary>
|
|
/// دیتای پایه سنوات از اولین شروع بکار پرسنل
|
|
/// </summary>
|
|
public class BaseYearDataViewModel
|
|
{
|
|
/// <summary>
|
|
/// آی دی پرسنل
|
|
/// </summary>
|
|
public long EmployeeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// آی دی کارگاه
|
|
/// </summary>
|
|
public long WorkshopId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// پایه سنوات محاسبه شده نهایی
|
|
/// </summary>
|
|
public double BaseYearResult { get; set; }
|
|
|
|
/// <summary>
|
|
/// اولین روز شروع بکار
|
|
/// </summary>
|
|
public string FirstWorkDayInLeftWork { get; set; }
|
|
|
|
/// <summary>
|
|
/// لیست تمام پایه سنوات های محاسبه شده
|
|
/// </summary>
|
|
public List<BaseYearDataList> BaseYearDataList { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// لیست تمام پایه سنوات های محاسبه شده
|
|
/// </summary>
|
|
public class BaseYearDataList
|
|
{
|
|
/// <summary>
|
|
/// پایه سنوات
|
|
/// </summary>
|
|
public double BaseYear { get; set; }
|
|
|
|
/// <summary>
|
|
/// تاریخ میلادی شروع محاسبه پایه سنوات
|
|
/// </summary>
|
|
public DateTime StartDateGr { get; set; }
|
|
|
|
/// <summary>
|
|
/// تاریخ میلادی پایان محاسبه پایه سنوات
|
|
/// </summary>
|
|
public DateTime EndDateGr { get; set; }
|
|
|
|
/// <summary>
|
|
/// تاریخ شمسی شروع محاسبه پایه سنوات
|
|
/// </summary>
|
|
public string StartDateFa { get; set; }
|
|
|
|
/// <summary>
|
|
/// تاریخ شمسی پایان محاسبه پایه سنوات
|
|
/// </summary>
|
|
public string EndDateFa { get; set; }
|
|
|
|
/// <summary>
|
|
/// سالی که در آن پایه سنوات تعلق گرفته
|
|
/// </summary>
|
|
public string Year { get; set; }
|
|
|
|
/// <summary>
|
|
///روزی که پایه سنوات تعلق گرفته
|
|
///یا شروع بکار. ترک کار
|
|
/// شمسی
|
|
/// </summary>
|
|
public string BaseYearPayDay { get; set; }
|
|
|
|
/// <summary>
|
|
/// روزی که پایه سنوات تعلق گرفته
|
|
///یا شروع بکار. ترک کار
|
|
/// میلادی
|
|
/// </summary>
|
|
public DateTime BaseYearPayDayGr { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// آیا تاریخ شروع بکار دارد
|
|
/// </summary>
|
|
public bool HasStartWork { get; set; }
|
|
/// <summary>
|
|
/// آیا تاریخ پایان کار دارد
|
|
/// </summary>
|
|
public bool HasLeftWork { get; set; }
|
|
} |