标签:des style blog http color os io art
EmployeeInfo.cs
using System; using Global.Utils.ORM.CustomAttributes; namespace Global.PM.Common.Entity.HR { [Serializable] [Table(Name = "OA_HR_EmployeeInfo")] public class EmployeeInfo { private string _age = null; private string _archivesNumber = null; private string _birthday = null; private string _createTime = null; private string _createUserID = null; private string _dimissionDate = null; private string _dimissionReason = null; private string _email = null; private int _emploeeStatus = 1; private int _emploeeType = 0; private string _employeeCode = null; private EmployeeDataStatus _employeeDataStatus = EmployeeDataStatus.InFact; private int _employeeID = 0; private string _enterCompanyTime = null; private string _fundEndDate = null; private string _fundStartDate = null; private string _graduateAcademy = null; private string _graduateTime = null; private string _health = null; private string _homeAddress = null; private string _homePhone = null; private string _indEntityCardNum = null; private string _insuranceEndDate = null; private string _insuranceStartDate = null; private bool _isDeleted = false; private int _marriageStatus = 0; private string _memo = null; private string _mobile = null; private string _modifyTime = null; private string _modifyUserID = null; private string _name = null; private string _nation = null; private string _nativePlace = null; private string _photoLink = null; private string _politiceFace = null; private string _postcode = null; private string _residence = null; private string _sBNo = null; private string _searchStatus = ""; private string _sex = null; private string _socialSecurityCode = null; private string _speciality = null; private double _stature = 0.0; private string _technicalID = null; private string _technicalPost = null; private int _topDegreeID = 0; private int _topSchoolID = 0; private string _turnOfficalTime = null; private string _unitID = null; private string _unitName = null; private string _urgencyName = null; private string _urgencyPhone = null; private string _userAccount = null; private string _userID = null; [Column] public string Age { get { return this._age; } set { this._age = value; } } [Column] public string ArchivesNumber { get { return this._archivesNumber; } set { this._archivesNumber = value; } } [Column] public string Birthday { get { return this._birthday; } set { this._birthday = value; } } [Column] public string CreateTime { get { return this._createTime; } set { this._createTime = value; } } [Column] public string CreateUserID { get { return this._createUserID; } set { this._createUserID = value; } } public EmployeeDataStatus DataStatus { get { return this._employeeDataStatus; } set { this._employeeDataStatus = value; } } [Column] public string DimissionDate { get { if (this._dimissionDate.Length > 0) { return DateTime.Parse(this._dimissionDate).ToShortDateString(); } return ""; } set { this._dimissionDate = value; } } [Column] public string DimissionReason { get { return this._dimissionReason; } set { this._dimissionReason = value; } } [Column] public string Email { get { return this._email; } set { this._email = value; } } [Column] public int EmploeeStatus { get { return this._emploeeStatus; } set { this._emploeeStatus = value; } } [Column] public int EmploeeType { get { return this._emploeeType; } set { this._emploeeType = value; } } [Column] public string EmployeeCode { get { return this._employeeCode; } set { this._employeeCode = value; } } [Id(Name = "EmployeeID", Strategy = GenerationType.INDENTITY)] public int EmployeeID { get { return this._employeeID; } set { this._employeeID = value; } } public string EmployeeStatusName { get { return EmployeeStatusHelper.GetName(this.EmploeeStatus); } } [Column] public string EnterCompanyTime { get { return this._enterCompanyTime; } set { this._enterCompanyTime = value; } } [Column] public string FundEndDate { get { return this._fundEndDate; } set { this._fundEndDate = value; } } [Column] public string FundStartDate { get { return this._fundStartDate; } set { this._fundStartDate = value; } } [Column] public string GraduateAcademy { get { return this._graduateAcademy; } set { this._graduateAcademy = value; } } [Column] public string GraduateTime { get { return this._graduateTime; } set { this._graduateTime = value; } } [Column] public string Health { get { return this._health; } set { this._health = value; } } [Column] public string HomeAddress { get { return this._homeAddress; } set { this._homeAddress = value; } } [Column] public string HomePhone { get { return this._homePhone; } set { this._homePhone = value; } } [Column] public string IndEntityCardNum { get { return this._indEntityCardNum; } set { this._indEntityCardNum = value; } } [Column] public string InsuranceEndDate { get { return this._insuranceEndDate; } set { this._insuranceEndDate = value; } } [Column] public string InsuranceStartDate { get { return this._insuranceStartDate; } set { this._insuranceStartDate = value; } } [Column] public bool IsDeleted { get { return this._isDeleted; } set { this._isDeleted = value; } } [Column] public int MarriageStatus { get { return this._marriageStatus; } set { this._marriageStatus = value; } } [Column] public string Memo { get { return this._memo; } set { this._memo = value; } } [Column] public string Mobile { get { return this._mobile; } set { this._mobile = value; } } [Column] public string ModifyTime { get { return this._modifyTime; } set { this._modifyTime = value; } } [Column] public string ModifyUserID { get { return this._modifyUserID; } set { this._modifyUserID = value; } } [Column] public string Name { get { return this._name; } set { this._name = value; } } [Column] public string Nation { get { return this._nation; } set { this._nation = value; } } [Column] public string NativePlace { get { return this._nativePlace; } set { this._nativePlace = value; } } [Column] public string PhotoLink { get { return this._photoLink; } set { this._photoLink = value; } } [Column] public string PoliticeFace { get { return this._politiceFace; } set { this._politiceFace = value; } } [Column] public string Postcode { get { return this._postcode; } set { this._postcode = value; } } [Column] public string Residence { get { return this._residence; } set { this._residence = value; } } [Column] public string SBNo { get { return this._sBNo; } set { this._sBNo = value; } } public string SearchStatus { get { return this._searchStatus; } set { this._searchStatus = value; } } [Column] public string Sex { get { return this._sex; } set { this._sex = value; } } public string SexyName { get { if (this.Sex == "0") { return "男"; } return "女"; } } [Column] public string SocialSecurityCode { get { return this._socialSecurityCode; } set { this._socialSecurityCode = value; } } [Column] public string Speciality { get { return this._speciality; } set { this._speciality = value; } } [Column] public double Stature { get { return this._stature; } set { this._stature = value; } } [Column] public string TechnicalID { get { return this._technicalID; } set { this._technicalID = value; } } [Column] public string TechnicalPost { get { return this._technicalPost; } set { this._technicalPost = value; } } [Column] public int TopDegreeID { get { return this._topDegreeID; } set { this._topDegreeID = value; } } [Column] public int TopSchoolID { get { return this._topSchoolID; } set { this._topSchoolID = value; } } [Column] public string TurnOfficalTime { get { return this._turnOfficalTime; } set { this._turnOfficalTime = value; } } [Column] public string UnitID { get { return this._unitID; } set { this._unitID = value; } } [Column] public string UnitName { get { return this._unitName; } set { this._unitName = value; } } [Column] public string UrgencyName { get { return this._urgencyName; } set { this._urgencyName = value; } } [Column] public string UrgencyPhone { get { return this._urgencyPhone; } set { this._urgencyPhone = value; } } [Column] public string UserAccount { get { return this._userAccount; } set { this._userAccount = value; } } [Column] public string UserID { get { return this._userID; } set { this._userID = value; } } } }
FamilyMember.cs
using System; using Global.Utils.ORM.CustomAttributes; namespace Global.PM.Common.Entity.HR { [Serializable] [Table(Name = "OA_HR_FamilyMemberInfo")] public class FamilyMember { private DateTime _createTime = DateTime.Now; private string _createUserID = null; private int _employeeID = 0; private string _familyMemberAddress = null; private string _familyMemberAge = null; private int _familyMemberID = 0; private string _familyMemberName = null; private string _familyMemberPhone = null; private string _familyMemberWork = null; private string _familyMemberWorkUnit = null; private string _memo = null; private string _relationship = null; [Column] public DateTime CreateTime { get { return this._createTime; } set { this._createTime = value; } } [Column] public string CreateUserID { get { return this._createUserID; } set { this._createUserID = value; } } [Column] public int EmployeeID { get { return this._employeeID; } set { this._employeeID = value; } } [Column] public string FamilyMemberAddress { get { return this._familyMemberAddress; } set { this._familyMemberAddress = value; } } [Column] public string FamilyMemberAge { get { return this._familyMemberAge; } set { this._familyMemberAge = value; } } [Id(Name = "FamilyMemberID", Strategy = GenerationType.INDENTITY)] public int FamilyMemberID { get { return this._familyMemberID; } set { this._familyMemberID = value; } } [Column] public string FamilyMemberName { get { return this._familyMemberName; } set { this._familyMemberName = value; } } [Column] public string FamilyMemberPhone { get { return this._familyMemberPhone; } set { this._familyMemberPhone = value; } } [Column] public string FamilyMemberWork { get { return this._familyMemberWork; } set { this._familyMemberWork = value; } } [Column] public string FamilyMemberWorkUnit { get { return this._familyMemberWorkUnit; } set { this._familyMemberWorkUnit = value; } } [Column] public string Memo { get { return this._memo; } set { this._memo = value; } } [Column] public string Relationship { get { return this._relationship; } set { this._relationship = value; } } } }
LanguageAbility.cs
using System; using Global.Utils.ORM.CustomAttributes; namespace Global.PM.Common.Entity.HR { [Serializable] [Table(Name = "OA_HR_LanguageAbility")] public class LanguageAbility { private string _AbilityLevel; private int _employeeID; private int _languageAbilityID; private string _languageName; public LanguageAbility() { this._languageAbilityID = 0; this._languageName = null; this._AbilityLevel = null; this._employeeID = 0; } public LanguageAbility(string name, string level, int employeeId) { this._languageAbilityID = 0; this._languageName = null; this._AbilityLevel = null; this._employeeID = 0; this.LanguageName = name; this.AbilityLevel = level; this.EmployeeID = employeeId; } [Column] public string AbilityLevel { get { return this._AbilityLevel; } set { this._AbilityLevel = value; } } [Column] public int EmployeeID { get { return this._employeeID; } set { this._employeeID = value; } } [Id(Name = "LanguageAbilityID", Strategy = GenerationType.INDENTITY)] public int LanguageAbilityID { get { return this._languageAbilityID; } set { this._languageAbilityID = value; } } [Column] public string LanguageName { get { return this._languageName; } set { this._languageName = value; } } } }
RewardsPunishmentInfo.cs
using System; using Global.Utils.ORM.CustomAttributes; namespace Global.PM.Common.Entity.HR { [Serializable] [Table(Name = "OA_HR_RewardsPunishment")] public class RewardsPunishmentInfo { private string _approveMind = null; private string _approveReson = null; private string _approveResult = null; private string _approveUnit = null; private int _employeeID = 0; private string _memo = null; private string _rewardsPunishmentContent = null; private DateTime _rewardsPunishmentDate = DateTime.Now; private int _rewardsPunishmentID = 0; private string _rewardsPunishmentType = null; [Column] public string ApproveMind { get { return this._approveMind; } set { this._approveMind = value; } } [Column] public string ApproveReson { get { return this._approveReson; } set { this._approveReson = value; } } [Column] public string ApproveResult { get { return this._approveResult; } set { this._approveResult = value; } } [Column] public string ApproveUnit { get { return this._approveUnit; } set { this._approveUnit = value; } } [Column] public int EmployeeID { get { return this._employeeID; } set { this._employeeID = value; } } [Column] public string Memo { get { return this._memo; } set { this._memo = value; } } [Column] public string RewardsPunishmentContent { get { return this._rewardsPunishmentContent; } set { this._rewardsPunishmentContent = value; } } [Column] public DateTime RewardsPunishmentDate { get { return DateTime.Parse(this._rewardsPunishmentDate.ToShortDateString()); } set { this._rewardsPunishmentDate = value; } } [Id(Name = "RewardsPunishmentID", Strategy = GenerationType.INDENTITY)] public int RewardsPunishmentID { get { return this._rewardsPunishmentID; } set { this._rewardsPunishmentID = value; } } [Column] public string RewardsPunishmentType { get { return this._rewardsPunishmentType; } set { this._rewardsPunishmentType = value; } } public string RewardsPunishmentTypeName { get { if (this.RewardsPunishmentType == "1") { return "奖励"; } return "惩罚"; } } } }
SalaryInfo.cs
using System; using Global.Utils.ORM.CustomAttributes; namespace Global.PM.Common.Entity.HR { [Serializable] [Table(Name = "OA_HR_SalaryInfo")] public class SalaryInfo { private string _approvePerson = null; private DateTime _changeTime = DateTime.Now; private DateTime _createTime = DateTime.Now; private string _createUserID = null; private string _currentSalary = null; private int _employeeID = 0; private string _memo = null; private string _oldSalary = null; private string _reason = null; private int _salaryInfoID = 0; [Column] public string ApprovePerson { get { return this._approvePerson; } set { this._approvePerson = value; } } [Column] public DateTime ChangeTime { get { return DateTime.Parse(this._changeTime.ToShortDateString()); } set { this._changeTime = value; } } [Column] public DateTime CreateTime { get { return this._createTime; } set { this._createTime = value; } } [Column] public string CreateUserID { get { return this._createUserID; } set { this._createUserID = value; } } [Column] public string CurrentSalary { get { return this._currentSalary; } set { this._currentSalary = value; } } [Column] public int EmployeeID { get { return this._employeeID; } set { this._employeeID = value; } } [Column] public string Memo { get { return this._memo; } set { this._memo = value; } } [Column] public string OldSalary { get { return this._oldSalary; } set { this._oldSalary = value; } } [Column] public string Reason { get { return this._reason; } set { this._reason = value; } } [Id(Name = "SalaryInfoID", Strategy = GenerationType.INDENTITY)] public int SalaryInfoID { get { return this._salaryInfoID; } set { this._salaryInfoID = value; } } } }
SchoolingInfo.cs
using System; using Global.Utils.ORM.CustomAttributes; namespace Global.PM.Common.Entity.HR { [Serializable] [Table(Name = "OA_HR_SchoolingInfo")] public class SchoolingInfo { private DateTime _createTime = DateTime.Now; private string _createUserID = null; private short _degree = 0; private short _educationalLevel = 1; private int _employeeID = 0; private string _getCertificate = null; private string _graduateSchool = null; private DateTime _graduateTime = DateTime.Now; private string _memo = null; private int _schoolingInfoID = 0; private string _specialty = null; private string _specialtyDesc = null; private DateTime _startTime = DateTime.Now; private string _studyMode = null; [Column] public DateTime CreateTime { get { return this._createTime; } set { this._createTime = value; } } [Column] public string CreateUserID { get { return this._createUserID; } set { this._createUserID = value; } } [Column] public short Degree { get { return this._degree; } set { this._degree = value; } } [Column] public short EducationalLevel { get { return this._educationalLevel; } set { this._educationalLevel = value; } } public string EducationalLevelName { get { string[] strArray = new string[] { "无", "初中", "高中", "中技", "中专", "大专", "本科", "硕士", "博士", "其他" }; return strArray[this.EducationalLevel - 1]; } } [Column] public int EmployeeID { get { return this._employeeID; } set { this._employeeID = value; } } [Column] public string GetCertificate { get { return this._getCertificate; } set { this._getCertificate = value; } } [Column] public string GraduateSchool { get { return this._graduateSchool; } set { this._graduateSchool = value; } } [Column] public DateTime GraduateTime { get { return DateTime.Parse(this._graduateTime.ToShortDateString()); } set { this._graduateTime = value; } } [Column] public string Memo { get { return this._memo; } set { this._memo = value; } } [Id(Name = "SchoolingInfoID", Strategy = GenerationType.INDENTITY)] public int SchoolingInfoID { get { return this._schoolingInfoID; } set { this._schoolingInfoID = value; } } [Column] public string Specialty { get { return this._specialty; } set { this._specialty = value; } } [Column] public string SpecialtyDesc { get { return this._specialtyDesc; } set { this._specialtyDesc = value; } } public string StartAndEndTime { get { return (this.StartTime.ToShortDateString() + "--" + this.GraduateTime.ToShortDateString()); } } [Column] public DateTime StartTime { get { return DateTime.Parse(this._startTime.ToShortDateString()); } set { this._startTime = value; } } [Column] public string StudyMode { get { return this._studyMode; } set { this._studyMode = value; } } } }
SkillsInfo.cs
using System; using Global.Utils.ORM.CustomAttributes; namespace Global.PM.Common.Entity.HR { [Serializable] [Table(Name = "OA_HR_OtherSkills")] public class SkillsInfo { private int _employeeID; private string _otherSkillName; private int _otherSkillsID; private string _otherSkillValue; public SkillsInfo() { this._otherSkillsID = 0; this._otherSkillName = null; this._otherSkillValue = null; this._employeeID = 0; } public SkillsInfo(string skillName, string skillValue, int employeeId) { this._otherSkillsID = 0; this._otherSkillName = null; this._otherSkillValue = null; this._employeeID = 0; this.OtherSkillName = skillName; this.OtherSkillValue = skillValue; this.EmployeeID = employeeId; } [Column] public int EmployeeID { get { return this._employeeID; } set { this._employeeID = value; } } [Column] public string OtherSkillName { get { return this._otherSkillName; } set { this._otherSkillName = value; } } [Id(Name = "OtherSkillsID", Strategy = GenerationType.INDENTITY)] public int OtherSkillsID { get { return this._otherSkillsID; } set { this._otherSkillsID = value; } } [Column] public string OtherSkillValue { get { return this._otherSkillValue; } set { this._otherSkillValue = value; } } } }
VitaInfo.cs
using System; using Global.Utils.ORM.CustomAttributes; namespace Global.PM.Common.Entity.HR { [Serializable] [Table(Name = "OA_HR_OtherSkills")] public class VitaInfo { private string _achievement = null; private DateTime _createTime = DateTime.Now; private string _createUserID = null; private string _department = null; private string _dimissionReason = null; private int _employeeID = 0; private string _memo = null; private string _provePerson = null; private string _provePersonRelation = null; private string _salaryRange = null; private int _vitaID = 0; private DateTime _workEndTime = DateTime.Now; private string _workPosition = null; private DateTime _workStartTime = DateTime.Now; private string _workUnit = null; [Column] public string Achievement { get { return this._achievement; } set { this._achievement = value; } } [Column] public DateTime CreateTime { get { return this._createTime; } set { this._createTime = value; } } [Column] public string CreateUserID { get { return this._createUserID; } set { this._createUserID = value; } } [Column] public string Department { get { return this._department; } set { this._department = value; } } [Column] public string DimissionReason { get { return this._dimissionReason; } set { this._dimissionReason = value; } } [Column] public int EmployeeID { get { return this._employeeID; } set { this._employeeID = value; } } [Column] public string Memo { get { return this._memo; } set { this._memo = value; } } [Column] public string ProvePerson { get { return this._provePerson; } set { this._provePerson = value; } } [Column] public string ProvePersonRelation { get { return this._provePersonRelation; } set { this._provePersonRelation = value; } } [Column] public string SalaryRange { get { return this._salaryRange; } set { this._salaryRange = value; } } public string StartAndEndTime { get { return (this.WorkStartTime.ToShortDateString() + "--" + this.WorkEndTime.ToShortDateString()); } } [Id(Name = "VitaID", Strategy = GenerationType.INDENTITY)] public int VitaID { get { return this._vitaID; } set { this._vitaID = value; } } [Column] public DateTime WorkEndTime { get { return DateTime.Parse(this._workEndTime.ToShortDateString()); } set { this._workEndTime = value; } } [Column] public string WorkPosition { get { return this._workPosition; } set { this._workPosition = value; } } [Column] public DateTime WorkStartTime { get { return DateTime.Parse(this._workStartTime.ToShortDateString()); } set { this._workStartTime = value; } } [Column] public string WorkUnit { get { return this._workUnit; } set { this._workUnit = value; } } } }
标签:des style blog http color os io art
原文地址:http://www.cnblogs.com/rebecca-ty/p/3874954.html