Ejemplo n.º 1
0
        public override SbnObject Clone(string sNodeName)
        {
            Personnel retObject = new Personnel(this);

            retObject.PersonnelCode = this._PersonnelCode;
            if (!object.ReferenceEquals(this.Person, null))
            {
                retObject.Person = (MFPerson)this.Person.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.PersonnelInterdicts, null))
            {
                retObject.PersonnelInterdicts = (PersonnelInterdicts)this.PersonnelInterdicts.Clone(sNodeName);
            }
            return(retObject);
        }
Ejemplo n.º 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();
 }