mirror of
https://github.com/bitwarden/server.git
synced 2026-02-09 02:13:11 +08:00
19 lines
474 B
C#
19 lines
474 B
C#
using AutoMapper;
|
|
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
public class Transaction : Core.Entities.Transaction
|
|
{
|
|
public virtual Organization Organization { get; set; }
|
|
public virtual User User { get; set; }
|
|
}
|
|
|
|
public class TransactionMapperProfile : Profile
|
|
{
|
|
public TransactionMapperProfile()
|
|
{
|
|
CreateMap<Core.Entities.Transaction, Transaction>().ReverseMap();
|
|
}
|
|
}
|