Entity- HR

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;
            }
        }
    }
}

Entity- HR

时间: 2024-10-24 06:05:45

Entity- HR的相关文章

DalEmployeeInfo

namespace Global.PM.Common.Data { using Global.PM.Common.Entity.HR; using Global.Utils.ORM; using Global.Utils.ORM.Common; using Global.Utils; using System; using System.Collections; using System.Collections.Generic; using System.Data.SqlClient; publ

ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第一章:创建基本的MVC Web站点

在这一章中,我们将学习如何使用基架快速搭建和运行一个简单的Microsoft ASP.NET MVC Web站点.在我们马上投入学习和编码之前,我们首先了解一些有关ASP.NET MVC和Entity Framework的背景信息,然后再详细学习如何搭建开发环境. 1.1 MVC和ASP.NET MVC 这本书涵盖Microsoft版本的MVC,即ASP.NET MVC.在写本书的时候,ASP.NET MVC的生产版本为MVC5,因此,本书的示例代码都使用ASP.NET MVC 5编写.在本书中

Entity Framework学习之创建Entity Framework数据模型

1.准备 Visual Studio 2013 .NET 4.5 Entity Framework 6 (EntityFramework 6.1.0 NuGet package) Windows Azure SDK 2.2 (可选) 2.Contoso University web应用程序 此应用程序允许用户 查看.更新student. course和instructor 信息: 网站UI样式是由内置模板生成的 3.新建MVC5 web应用程序 新建项目并命名为"ContosoUniversit

“Request Entity Too Large” 上传图片出现大小限制

昨天公司安卓app上传了图片爆了下面这个错误 <"-//IETF//DTD HTML 2.0//EN"> <html><head> <title>413 Request Entity Too Large</title> </head><body> <h1>Request Entity Too Large</h1> The requested resource<br />

运维挖坑埋坑之旅----413 Request Entity Too Large

好久没写博文了,天天忙的喘不过来气.最近是该总结总结前段时间的工作了,顺便缓解下这两天的霉气. 今天在内部上了一套图片编辑系统,结果下午就收到开发的报错,报错信息如下: <html> <head><title>413 Request Entity Too Large</title></head> <body bgcolor="white"> <center><h1>413 Request E

Entity Framework 5.0.0 Function Import 以及 Implicit REF CURSOR Binding

源代码 概要:1,明如何使用Entity Framework中的function import功能. 2,说明如何使用ODP.NET的隐式REF CURSOR绑定(implicit REF CURSOR binding). 环境以及工具: Windows 10 企业版 Microsoft Visual Studio Enterprise 2015 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 .NET Framework 4.

ASP.NET MVC with Entity Framework and CSS一书翻译系列文章之第二章:利用模型类创建视图、控制器和数据库

在这一章中,我们将直接进入项目,并且为产品和分类添加一些基本的模型类.我们将在Entity Framework的代码优先模式下,利用这些模型类创建一个数据库.我们还将学习如何在代码中创建数据库上下文类.指定数据库连接字符串以及创建一个数据库.最后,我们还将添加视图和控制器来管理和显式产品和分类数据. 注意:如果你想按照本章的代码编写示例,你必须完成第一章或者直接从www.apress.com下载第一章的源代码. 2.1 添加模型类 Entity Framework的代码优先模式允许我们从模型类创

Oracle中使用Entity Framework 6.x Code-First

Oracle中使用Entity Framework 6.x Code-First方式开发 去年写过一篇EF的简单学习笔记,当时EF还不支持Oracle的Code-First开发模式,今天无意又看了下Oracle官网,发现EF6.X已经支持了,并且给出了二篇教程(英文版): 1.Using NuGet to Install and Configure Oracle Data Provider for .NET 2.Entity Framework Code First and Code First

Asp.Net MVC 模型(使用Entity Framework创建模型类) - Part.1

这篇教程的目的是解释在创建ASP.NET MVC应用程序时,如何使用Microsoft Entity Framework来创建数据访问类.这篇教程假设你事先对Microsoft Entity Framework没有任何的了解.读完本篇教程,你将会理解如何使用Entity Framework来选择.插入.更新和删除数据库记录. Microsoft Entity Framework是一个对象关系映射(O/RM)工具,它能你让自动从数据库生成数据访问层.Entity Framework能够使你免于手工