96 lines
3.0 KiB
C#
96 lines
3.0 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
using HRM.BO;
|
|||
|
using HRM.BO.Basic;
|
|||
|
|
|||
|
namespace HRM.BO.Basic
|
|||
|
{
|
|||
|
public class JobDefinition : BasicBaseObject
|
|||
|
{
|
|||
|
public JobDefinition()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public int JdNo { get; set; }
|
|||
|
public string JdName { get; set; }
|
|||
|
public DateTime RevisionDate { get; set; }
|
|||
|
public string RevisionDateString { get; set; }
|
|||
|
public int? UnitID { get; set; }
|
|||
|
public int? DepartmentId { get; set; }
|
|||
|
public int? DesignationId { get; set; }
|
|||
|
public int? GradeId { get; set; }
|
|||
|
public string GradeName { get; set; }
|
|||
|
public string DesignationName { get; set; }
|
|||
|
public string DepartmentName { get; set; }
|
|||
|
public string EducationListName { get; set; }
|
|||
|
public string Purpose { get; set; }
|
|||
|
public string FinancialInformation { get; set; }
|
|||
|
public string TeamInformation { get; set; }
|
|||
|
// public int LMDesignationId { get; set; }
|
|||
|
public string InternalComm { get; set; }
|
|||
|
public string ExternalComm { get; set; }
|
|||
|
public string Requirement { get; set; }
|
|||
|
public double? ExperienceMinYear { get; set; }
|
|||
|
public double? ExperienceMaxYear { get; set; }
|
|||
|
public string KnowledgeUnderstanding { get; set; }
|
|||
|
public string AdherenceToCompany { get; set; }
|
|||
|
public int? ApprovedBy { get; set; }
|
|||
|
public DateTime? ApproveDate { get; set; }
|
|||
|
public string ApprovarRemarks { get; set; }
|
|||
|
public EnumwfStatus WfStatus { get; set; }
|
|||
|
public List<JDEducation> JdEducationList { get; set; }
|
|||
|
public List<JDResponsibility> JdResponsibilityList { get; set; }
|
|||
|
public List<JDCertification> JdCertificationList { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public class JDEducation : BasicBaseObject
|
|||
|
{
|
|||
|
public JDEducation()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public int JdId { get; set; }
|
|||
|
|
|||
|
public int ReferenceId { get; set; }
|
|||
|
|
|||
|
// public EnumJdEducation JdEducationType { get; set; }
|
|||
|
public string JdEducationName { get; set; }
|
|||
|
public string Remarks { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public class JDResponsibility : BasicBaseObject
|
|||
|
{
|
|||
|
public JDResponsibility()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public int JdId { get; set; }
|
|||
|
public string Name { get; set; }
|
|||
|
public string Description { get; set; }
|
|||
|
public double TimeSpentPercent { get; set; }
|
|||
|
public string MeasurementCriteria { get; set; }
|
|||
|
}
|
|||
|
|
|||
|
public class JDCertification : BasicBaseObject
|
|||
|
{
|
|||
|
public JDCertification()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public int JdId { get; set; }
|
|||
|
public int ReferenceId { get; set; }
|
|||
|
public string JdCertificationName { get; set; }
|
|||
|
public string Remarks { get; set; }
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public interface IJobDefinitionService
|
|||
|
{
|
|||
|
public void Save(JobDefinition jobDefinition);
|
|||
|
public List<JobDefinition> GetAll();
|
|||
|
public void DeleteJobDefinition(int id);
|
|||
|
List<JobDefinition> Get(int wfStatus);
|
|||
|
JobDefinition GetByID(int ID);
|
|||
|
JobDefinition GetJobDefinitionById(int ID);
|
|||
|
}
|