mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
18 lines
412 B
C#
18 lines
412 B
C#
using AutoMapper;
|
|
|
|
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();
|
|
}
|
|
}
|