diff --git a/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationGroup.cs b/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationGroup.cs new file mode 100644 index 00000000..ccff09bd --- /dev/null +++ b/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationGroup.cs @@ -0,0 +1,59 @@ +using System.Collections.Generic; + +namespace CompanyManagment.App.Contracts.ClassificationScheme; + +/// +/// ایجاد گروه +/// +public class CreateClassificationGroup +{ + /// + /// شماره گروه + /// + public string GroupNo { get; set; } + + /// + /// آی دی کارگاه + /// + public long WorkshopId { get; set; } + /// + /// آی دی طرح + /// + public long ClassificationSchemeId { get; set; } + + /// + /// لیست مشاغل + /// + public List CreateClassificationGroupJobs { get; set; } +} + +/// +/// ایجاد مشاغل گروه +/// +public class CreateClassificationGroupJob +{ + /// + /// آی دی شغل + /// + public long JobId { get; set; } + + /// + /// نام شغل + /// + public string JobName { get; set; } + + /// + /// کد شغل + /// + public string JobCode { get; set; } + + /// + /// آی دی گروه + /// + public long ClassificationGroupId { get; set; } + + /// + /// شماره گروه + /// + public string GroupNo { get; set; } +} \ No newline at end of file diff --git a/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationGroupSalaryAndRialCoeficient.cs b/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationGroupSalaryAndRialCoeficient.cs new file mode 100644 index 00000000..26fcab81 --- /dev/null +++ b/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationGroupSalaryAndRialCoeficient.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace CompanyManagment.App.Contracts.ClassificationScheme; + +/// +/// ایجاد دستمزد گروه و ضریب ریالی +/// +public class CreateClassificationGroupSalaryAndRialCoefficient +{ + + /// + /// آی دی گروه + /// + public long ClassificationGroupId { get; set; } + + /// + /// شماره گروه + /// + public string GroupNo { get; set; } + + /// + /// دستمزد گروه + /// + public double GroupSalary { get; set; } + + + /// + /// تاریخ شروع + /// + public DateTime StartDate { get; set; } + + /// + /// تاریخ پایان + /// + public DateTime EndDate { get; set; } + + /// + /// سال + /// + public int Year { get; set; } + + + /// + /// ضریب ریالی + /// + public double RialCoefficient { get; private set; } +} \ No newline at end of file diff --git a/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationScheme.cs b/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationScheme.cs new file mode 100644 index 00000000..135c1c3e --- /dev/null +++ b/CompanyManagment.App.Contracts/ClassificationScheme/CreateClassificationScheme.cs @@ -0,0 +1,47 @@ +using _0_Framework.Application.Enums; +using System; + +namespace CompanyManagment.App.Contracts.ClassificationScheme; + +/// +/// ایجاد طرح +/// +public class CreateClassificationScheme +{ + /// + /// تاریخ شمول طرح + /// + public DateTime IncludingDateGr { get; set; } + + /// + /// تاریخ اجرای طرح + /// + public DateTime ExecutionDateGr { get; set; } + + /// + /// تاریخ پایان طرح + /// + public DateTime? EndSchemeDateGr { get; set; } + + + /// + /// نام کامل طراح + /// + public string DesignerFullName { get; set; } + + /// + /// شماره همراه طراح + /// + public string DesignerPhone { get; set; } + + /// + /// آی دی کارگاه + /// + public long WorkshopId { get; set; } + + + /// + /// نوع ضریب + /// + public TypeOfCoefficient TypeOfCoefficient { get; set; } +} \ No newline at end of file diff --git a/CompanyManagment.App.Contracts/ClassificationScheme/EditClassificationScheme.cs b/CompanyManagment.App.Contracts/ClassificationScheme/EditClassificationScheme.cs new file mode 100644 index 00000000..542a8e93 --- /dev/null +++ b/CompanyManagment.App.Contracts/ClassificationScheme/EditClassificationScheme.cs @@ -0,0 +1,12 @@ +namespace CompanyManagment.App.Contracts.ClassificationScheme; + +/// +/// ویرایش طرح +/// +public class EditClassificationScheme : CreateClassificationScheme +{ + /// + /// آی دی طرح + /// + public long Id { get; set; } +} \ No newline at end of file diff --git a/CompanyManagment.App.Contracts/ClassificationScheme/IClassificationSchemeApplication.cs b/CompanyManagment.App.Contracts/ClassificationScheme/IClassificationSchemeApplication.cs new file mode 100644 index 00000000..11943f96 --- /dev/null +++ b/CompanyManagment.App.Contracts/ClassificationScheme/IClassificationSchemeApplication.cs @@ -0,0 +1,45 @@ +using _0_Framework.Application; +using CompanyManagment.App.Contracts.TemporaryClientRegistration; +using System.Threading.Tasks; + +namespace CompanyManagment.App.Contracts.ClassificationScheme; + +/// +/// اپلیکیش طرح طبقه بندی مشاغل +/// +public interface IClassificationSchemeApplication +{ + /// + /// ایجاد طرح + /// + /// + /// + Task CreateClassificationScheme(CreateClassificationScheme command); + + /// + /// ویرایش طرح + /// + /// + /// + Task EditClassificationScheme(EditClassificationScheme command); + + /// + /// ایجاد مشاغل گروه + /// + /// + /// + Task CreateGroupJobs(CreateClassificationGroup command); + + /// + /// ایجاد دستمزدها و ضرایب ریالی هر گروه در هر سال + /// + /// + /// + Task CreateGroupSalaryAndCoefficient(CreateClassificationGroupSalaryAndRialCoefficient command); + + + + + + +} \ No newline at end of file