Exemple #1
0
        public void CopyFrom(SafetyRecord source)
        {
            base.CopyFrom(source);

            //this.Id = source.Id;
            //this.Status = source.Status;
            //this.Name = source.Name;
            this.Creator                   = source.Creator;
            this.CreateTime                = source.CreateTime;
            this.Description               = source.Description;
            this.Orderno                   = source.Orderno;
            this.CreatorName               = source.CreatorName;
            this.Code                      = source.Code;
            this.Finder                    = source.Finder;
            this.FindTime                  = source.FindTime;
            this.PlanFinishTime            = source.PlanFinishTime;
            this.FindDepartment            = source.FindDepartment;
            this.SourceType                = source.SourceType;
            this.SouceSubType              = source.SouceSubType;
            this.ResponsibleDepartment     = source.ResponsibleDepartment;
            this.ResponsibleClass          = source.ResponsibleClass;
            this.ResponsiblePerson         = source.ResponsiblePerson;
            this.Submitter                 = source.Submitter;
            this.SubmitTime                = source.SubmitTime;
            this.Receiver                  = source.Receiver;
            this.ReceiveTime               = source.ReceiveTime;
            this.Acceptor                  = source.Acceptor;
            this.AcceptTime                = source.AcceptTime;
            this.Content                   = source.Content;
            this.Result                    = source.Result;
            this.Measures                  = source.Measures;
            this.RectifiedSchedule         = source.RectifiedSchedule;
            this.FlowId                    = source.FlowId;
            this.FlowStatus                = source.FlowStatus;
            this.DangerType                = source.DangerType;
            this.DangerLevel               = source.DangerLevel;
            this.BreakRulesType            = source.BreakRulesType;
            this.RectificationRequirements = source.RectificationRequirements;
            this.ProfessionalAcceptTime    = source.ProfessionalAcceptTime;
            this.FinderTelphone            = source.FinderTelphone;
            this.SyncId                    = source.SyncId;
            this.Synced                    = source.Synced;
        }
Exemple #2
0
 public SafetyRecord(SafetyRecord source)
 {
     this.CopyFrom(source);
 }