mirror of
https://github.com/bitwarden/server.git
synced 2026-02-02 15:13:19 +08:00
* Add Gateway columns to Provider table * Add ProviderId column to Transaction table * Create ProviderPlan table * Matt's feedback * Rui's feedback * Fixed Gateway parameter on Provider
21 lines
596 B
C#
21 lines
596 B
C#
using AutoMapper;
|
|
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
|
|
using Bit.Infrastructure.EntityFramework.AdminConsole.Models.Provider;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
public class Transaction : Core.Entities.Transaction
|
|
{
|
|
public virtual Organization Organization { get; set; }
|
|
public virtual User User { get; set; }
|
|
public virtual Provider Provider { get; set; }
|
|
}
|
|
|
|
public class TransactionMapperProfile : Profile
|
|
{
|
|
public TransactionMapperProfile()
|
|
{
|
|
CreateMap<Core.Entities.Transaction, Transaction>().ReverseMap();
|
|
}
|
|
}
|