using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace CK.SCP.Models.AppBoxEntity
{
    public class Power : IKeyID
    {
        [Key]
        public int ID { get; set; }

        [Required, StringLength(50)]
        public string Name { get; set; }

        [StringLength(50)]
        public string GroupName { get; set; }

        [StringLength(200)]
        public string Title { get; set; }

        [StringLength(500)]
        public string Remark { get; set; }


        public virtual ICollection<Role> Roles { get; set; }

    }
}