Exemple #1
0
 /// <summary>
 /// 带参构造函数
 /// </summary>
 public OUNodeInfo(OUInfo info)
 {
     base.Id             = info.Id;
     base.Pid            = info.Pid;
     base.OuCode         = info.OuCode;
     base.Name           = info.Name;
     base.Seq            = info.Seq;
     base.OuType         = info.OuType;
     base.Address        = info.Address;
     base.OutPhone       = info.OutPhone;
     base.InnerPhone     = info.InnerPhone;
     base.Remark         = info.Remark;
     base.CreatorId      = info.CreatorId;
     base.CreatorTime    = info.CreatorTime;
     base.EditorId       = info.EditorId;
     base.LastUpdateTime = info.LastUpdateTime;
     base.IsDelete       = info.IsDelete;
     base.IsForbid       = info.IsForbid;
     base.CompanyId      = info.CompanyId;
 }
Exemple #2
0
 /// <summary>
 /// 参数构造函数
 /// </summary>
 /// <param name="info">OUInfo对象</param>
 public OUNodeInfo(OUInfo info)
 {
     base.ID          = info.ID;
     base.PID         = info.PID;
     base.HandNo      = info.HandNo;
     base.Name        = info.Name;
     base.Seq         = info.Seq;
     base.Category    = info.Category;
     base.Address     = info.Address;
     base.OuterPhone  = info.OuterPhone;
     base.InnerPhone  = info.InnerPhone;
     base.Note        = info.Note;
     base.Creator     = info.Creator;
     base.Creator_ID  = info.Creator_ID;
     base.CreateTime  = info.CreateTime;
     base.Editor      = info.Editor;
     base.Editor_ID   = info.Editor_ID;
     base.EditTime    = info.EditTime;
     base.Deleted     = info.Deleted;
     base.Enabled     = info.Enabled;
     base.Company_ID  = info.Company_ID;
     base.CompanyName = info.CompanyName;
 }