public MessageOpenAdministrativeIndexInfo FormData(MessageOpenAdministrativeIndexInfo 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 MessageOpenAdministrativeIndexModel ToModel(MessageOpenAdministrativeIndexInfo 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 MessageOpenAdministrativeIndexInfo ToInfo() { MessageOpenAdministrativeIndexInfo info = new MessageOpenAdministrativeIndexInfo(); 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); }