mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05:00
21 lines
482 B
C#
21 lines
482 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json;
|
|
using AutoMapper;
|
|
|
|
namespace Bit.Core.Models.EntityFramework
|
|
{
|
|
public class Group : Table.Group
|
|
{
|
|
public virtual Organization Organization { get; set; }
|
|
public virtual ICollection<GroupUser> GroupUsers { get; set; }
|
|
}
|
|
|
|
public class GroupMapperProfile : Profile
|
|
{
|
|
public GroupMapperProfile()
|
|
{
|
|
CreateMap<Table.Group, Group>().ReverseMap();
|
|
}
|
|
}
|
|
}
|