You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
577 B
27 lines
577 B
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; }
|
|
|
|
}
|
|
}
|