public MessageOpenRecentlyInfo FormData(MessageOpenRecentlyInfo info) { info.Title = this.Title; info.publicName = this.publicName; info.Content = this.Content; info.publicTime = this.publicTime; info.Department = this.Department; info.IsTop = this.IsTop; return(info); }
public MessageOpenRecentlyModel ToModel(MessageOpenRecentlyInfo info) { this.Id = info.Id; this.Title = info.Title; this.publicName = info.publicName; this.Content = info.Content; this.publicTime = info.publicTime; this.Department = info.Department; this.IsTop = info.IsTop; return(this); }
public MessageOpenRecentlyInfo ToInfo() { MessageOpenRecentlyInfo info = new MessageOpenRecentlyInfo(); info.Title = this.Title; info.publicName = this.publicName; info.Content = this.Content; info.publicTime = this.publicTime; info.Department = this.Department; info.IsTop = this.IsTop; return(info); }