mirror of
https://github.com/bitwarden/server.git
synced 2026-02-02 23:23:15 +08:00
22 lines
493 B
C#
22 lines
493 B
C#
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Text.Json;
|
|||
|
|
using AutoMapper;
|
|||
|
|
|
|||
|
|
namespace Bit.Core.Models.EntityFramework
|
|||
|
|
{
|
|||
|
|
public class GroupUser : Table.GroupUser
|
|||
|
|
{
|
|||
|
|
public virtual Group Group { get; set; }
|
|||
|
|
public virtual OrganizationUser OrganizationUser { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class GroupUserMapperProfile : Profile
|
|||
|
|
{
|
|||
|
|
public GroupUserMapperProfile()
|
|||
|
|
{
|
|||
|
|
CreateMap<Table.GroupUser, GroupUser>().ReverseMap();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|