mirror of
https://github.com/bitwarden/server.git
synced 2026-02-05 00:23:24 +08: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();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|