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