1
0
mirror of https://github.com/bitwarden/server synced 2025-12-28 06:03:29 +00:00
Files
server/src/Infrastructure.EntityFramework/Models/Group.cs
2025-07-08 10:25:59 -04:00

22 lines
581 B
C#

// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Models;
public class Group : Core.AdminConsole.Entities.Group
{
public virtual Organization Organization { get; set; }
public virtual ICollection<GroupUser> GroupUsers { get; set; }
}
public class GroupMapperProfile : Profile
{
public GroupMapperProfile()
{
CreateMap<Core.AdminConsole.Entities.Group, Group>().ReverseMap();
}
}