public MessageOpenAdministrativePunishInfo FormData(MessageOpenAdministrativePunishInfo 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 MessageOpenAdministrativePunishModel ToModel(MessageOpenAdministrativePunishInfo 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 MessageOpenAdministrativePunishInfo ToInfo()
        {
            MessageOpenAdministrativePunishInfo info = new MessageOpenAdministrativePunishInfo();

            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);
        }