13 lines
346 B
C#
13 lines
346 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ApplicationHub.Data.EF.Authentication.Entities;
|
|
|
|
public class GroupEntity
|
|
{
|
|
[Key]
|
|
public Guid Id { get; set; }
|
|
[MaxLength(255)]
|
|
public required string Name { get; set; }
|
|
public List<RightEntity>? Rights { get; set; }
|
|
public List<UserEntity>? Users { get; set; }
|
|
} |