mirror of
https://github.com/bitwarden/server
synced 2025-12-25 12:43:14 +00:00
18 lines
400 B
C#
18 lines
400 B
C#
using AutoMapper;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
public class Group : Core.Entities.Group
|
|
{
|
|
public virtual Organization Organization { get; set; }
|
|
public virtual ICollection<GroupUser> GroupUsers { get; set; }
|
|
}
|
|
|
|
public class GroupMapperProfile : Profile
|
|
{
|
|
public GroupMapperProfile()
|
|
{
|
|
CreateMap<Core.Entities.Group, Group>().ReverseMap();
|
|
}
|
|
}
|