mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 14:13:18 +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
18 lines
462 B
C#
18 lines
462 B
C#
using AutoMapper;
|
|
using Bit.Infrastructure.EntityFramework.AdminConsole.Models.Provider;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Billing.Models;
|
|
|
|
public class ProviderPlan : Core.Billing.Entities.ProviderPlan
|
|
{
|
|
public virtual Provider Provider { get; set; }
|
|
}
|
|
|
|
public class ProviderPlanMapperProfile : Profile
|
|
{
|
|
public ProviderPlanMapperProfile()
|
|
{
|
|
CreateMap<Core.Billing.Entities.ProviderPlan, ProviderPlan>().ReverseMap();
|
|
}
|
|
}
|