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

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