public MessageOpenMechanismInfo FormData(MessageOpenMechanismInfo info) { info.Name = this.Name; info.Phone = this.Phone; info.Mailbox = this.Mailbox; info.Address = this.Address; info.MeetTime = this.MeetTime; return(info); }
public MessageOpenMechanismModel ToModel(MessageOpenMechanismInfo info) { this.Id = info.Id; this.Name = info.Name; this.Phone = info.Phone; this.Mailbox = info.Mailbox; this.Address = info.Address; this.MeetTime = info.MeetTime; return(this); }
public MessageOpenMechanismInfo ToInfo() { MessageOpenMechanismInfo info = new MessageOpenMechanismInfo(); info.Name = this.Name; info.Phone = this.Phone; info.Mailbox = this.Mailbox; info.Address = this.Address; info.MeetTime = this.MeetTime; return(info); }