mirror of
https://github.com/bitwarden/server.git
synced 2026-02-11 19:33:21 +08:00
21 lines
449 B
C#
21 lines
449 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
using System.Text.Json;
|
||
|
|
using AutoMapper;
|
||
|
|
|
||
|
|
namespace Bit.Core.Models.EntityFramework
|
||
|
|
{
|
||
|
|
public class Send : Table.Send
|
||
|
|
{
|
||
|
|
public virtual Organization Organization { get; set; }
|
||
|
|
public virtual User User { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class SendMapperProfile : Profile
|
||
|
|
{
|
||
|
|
public SendMapperProfile()
|
||
|
|
{
|
||
|
|
CreateMap<Table.Send, Send>().ReverseMap();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|