示例#1
0
        public override SbnObject Clone(string sNodeName)
        {
            MFOrgPosition retObject = new MFOrgPosition(this);

            if (!object.ReferenceEquals(this.OrgUnit, null))
            {
                retObject.OrgUnit = (OrgUnit)this.OrgUnit.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Interdicts, null))
            {
                retObject.Interdicts = (PersonnelInterdicts)this.Interdicts.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CoOrgUnit, null))
            {
                retObject.CoOrgUnit = (MFOrgUnit)this.CoOrgUnit.Clone(sNodeName);
            }
            return(retObject);
        }
示例#2
0
 public override void Initialize()
 {
     base.Initialize();
     this._StartDate           = "";
     this._EndDate             = "";
     this._StartFormalTime     = "";
     this._EndFormalTime       = "";
     this._PersonnelCode       = 0;
     this._Job                 = new BasicInfoDetail();
     this._PersonnelType       = new BasicInfoDetail();
     this._OrgUnit             = new OrgUnit();
     this._OrgPosition         = new MFOrgPosition();
     this._Personnel           = new Personnel();
     this._Person              = new MFPerson();
     this._Worker              = new Worker();
     this._CoOrgUnit           = new MFOrgUnit();
     this._OrganizationRanking = new BasicInfoDetail();
 }