using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RFrameGenerate.Model
{
    public class Result
    {
        /// <summary>
        /// 执行结果
        /// </summary>
        /// <param name="state"></param>
        public Result(bool state)
            : this(state, string.Empty)
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="state">执行结果</param>
        /// <param name="msg">消息</param>
        public Result(bool state, string msg)
        {
            this.State = state;
            this.Msg = msg;
        }
        /// <summary>
        /// 执行结果
        /// </summary>
        public bool State { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string Msg { get; set; }
    }
}
