mirror of
https://github.com/bitwarden/server.git
synced 2026-02-06 09:03:21 +08:00
21 lines
452 B
C#
21 lines
452 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();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|