88 lines
2.7 KiB
C#
88 lines
2.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using _0_Framework.Application.Enums;
|
|
using _0_Framework.Domain;
|
|
|
|
namespace Company.Domain.ClassificationSchemeAgg;
|
|
|
|
public class ClassificationScheme : EntityBase
|
|
{
|
|
/// <summary>
|
|
/// ایجاد طرح طبقه بندی مشاغل
|
|
/// </summary>
|
|
/// <param name="includingDateGr"></param>
|
|
/// <param name="executionDateGr"></param>
|
|
/// <param name="designerFullName"></param>
|
|
/// <param name="designerPhone"></param>
|
|
/// <param name="workshopId"></param>
|
|
/// <param name="typeOfCoefficient"></param>
|
|
public ClassificationScheme(DateTime includingDateGr, DateTime executionDateGr, string designerFullName, string designerPhone, long workshopId, TypeOfCoefficient typeOfCoefficient)
|
|
{
|
|
IncludingDateGr = includingDateGr;
|
|
ExecutionDateGr = executionDateGr;
|
|
DesignerFullName = designerFullName;
|
|
DesignerPhone = designerPhone;
|
|
WorkshopId = workshopId;
|
|
TypeOfCoefficient = typeOfCoefficient;
|
|
}
|
|
|
|
/// <summary>
|
|
/// تاریخ شمول طرح
|
|
/// </summary>
|
|
public DateTime IncludingDateGr { get; private set; }
|
|
|
|
/// <summary>
|
|
/// تاریخ اجرای طرح
|
|
/// </summary>
|
|
public DateTime ExecutionDateGr { get; private set; }
|
|
|
|
/// <summary>
|
|
/// تاریخ پایان طرح
|
|
/// </summary>
|
|
public DateTime? EndSchemeDateGr { get; private set; }
|
|
|
|
|
|
/// <summary>
|
|
/// نام کامل طراح
|
|
/// </summary>
|
|
public string DesignerFullName { get; private set; }
|
|
|
|
/// <summary>
|
|
/// شماره همراه طراح
|
|
/// </summary>
|
|
public string DesignerPhone { get; private set; }
|
|
|
|
/// <summary>
|
|
/// آی دی کارگاه
|
|
/// </summary>
|
|
public long WorkshopId { get; private set; }
|
|
|
|
|
|
/// <summary>
|
|
/// نوع ضریب
|
|
/// </summary>
|
|
public TypeOfCoefficient TypeOfCoefficient { get; private set; }
|
|
|
|
|
|
public List<ClassificationGroup> ClassificationGroups { get; set; }
|
|
|
|
public List<ClassificationRialCoefficient> ClassificationRialCoefficients { get; set; }
|
|
|
|
/// <summary>
|
|
/// ویرایش طرح
|
|
/// </summary>
|
|
/// <param name="includingDateGr"></param>
|
|
/// <param name="executionDateGr"></param>
|
|
/// <param name="designerFullName"></param>
|
|
/// <param name="designerPhone"></param>
|
|
/// <param name="workshopId"></param>
|
|
public void Edit(DateTime includingDateGr, DateTime executionDateGr,string designerFullName, string designerPhone, TypeOfCoefficient typeOfCoefficient)
|
|
{
|
|
IncludingDateGr = includingDateGr;
|
|
ExecutionDateGr = executionDateGr;
|
|
DesignerFullName = designerFullName;
|
|
DesignerPhone = designerPhone;
|
|
TypeOfCoefficient = typeOfCoefficient;
|
|
|
|
}
|
|
} |