public void CopyFrom(SafetyRecordAttachment 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.RId = source.RId; this.Url = source.Url; this.Category = source.Category; this.FileExt = source.FileExt; this.FileSize = source.FileSize; }
public SafetyRecordAttachment(SafetyRecordAttachment source) { this.CopyFrom(source); }