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.

24 lines
504 B

4 years ago
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace CK.SCP.Models.AppBoxEntity
{
public class Role : IKeyID
{
[Key]
public int ID { get; set; }
[Required, StringLength(50)]
public string Name { get; set; }
[StringLength(500)]
public string Remark { get; set; }
public virtual ICollection<User> Users { get; set; }
public virtual ICollection<Power> Powers { get; set; }
}
}