mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 21:48:12 -05:00
19 lines
450 B
C#
19 lines
450 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();
|
|
}
|
|
}
|
|
}
|