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

namespace Model
{
    /// <summary>
    /// 菜单明细对象
    /// </summary>
    [Serializable]
    public class Menu
    {
        #region 私有变量
        private string menuId;
        private string menuItems;
        #endregion

        #region 构造函数
        /// <summary>
        /// 菜单明细构造函数
        /// </summary>
        /// <param name="menuId">菜单编号</param>
        /// <param name="menuItems">菜肴编号</param>
        public Menu(string menuId, string menuItems)
        {
            this.menuId = menuId;
            this.menuItems = menuItems;
        }
        /// <summary>
        /// 菜单明细构造函数
        /// </summary>
        /// <param name="menuId">菜单编号</param>
        public Menu(string menuId)
        {
            this.menuId = menuId;
        }
        #endregion

        #region 属性
        /// <summary>
        /// 菜单编号
        /// </summary>
        public string MenuId
        {
            get { return this.menuId; }
           
        }
        /// <summary>
        /// 菜肴编号
        /// </summary>
        public string MenuItems
        {
            get { return this.menuItems; }
        }
        #endregion
    }
}
