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

namespace GreenTree.Nachtragsmanagement.Core.Domain.User
{
    public class Function : BaseEntity
    {
        /// <summary>
        /// Name
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Description
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Parent function name
        /// </summary>
        public string GroupName { get; set; }

        /// <summary>
        /// Image url
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// Route name
        /// </summary>
        public string RouteName { get; set; }

        /// <summary>
        /// Determines if the function is displayed in function menu
        /// </summary>
        public bool? IsMenuMember { get; set; }

        /// <summary>
        /// Plugin which the function is created by
        /// </summary>
        public string Plugin { get; set; }

        /// <summary>
        /// Base width in pixel
        /// </summary>
        public int? BaseWidth { get; set; }

        /// <summary>
        /// Minimum width in pixel
        /// </summary>
        public int? MinWidth { get; set; }

        /// <summary>
        /// Base height in pixel
        /// </summary>
        public int? BaseHeight { get; set; }

        /// <summary>
        /// Minimum height in pixel
        /// </summary>
        public int? MinHeight { get; set; }

        /// <summary>
        /// Allow window maximization
        /// </summary>
        public bool? AllowMaximize { get; set; }

        /// <summary>
        /// Maximized when used
        /// </summary>
        public bool? MaximizedOnStart { get; set; }
    }
}
