mirror of
https://github.com/bitwarden/server.git
synced 2026-01-31 14:13:18 +08:00
* Add SQL files * Add SQL Server migration * Add Core entity * Add Dapper repository * Add EF repository * Add EF migrations * Save OrganizationInstallation during GetLicense invocation * Run dotnet format
20 lines
641 B
C#
20 lines
641 B
C#
using AutoMapper;
|
|
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
|
|
using Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Billing.Models;
|
|
|
|
public class OrganizationInstallation : Core.Billing.Entities.OrganizationInstallation
|
|
{
|
|
public virtual Installation Installation { get; set; }
|
|
public virtual Organization Organization { get; set; }
|
|
}
|
|
|
|
public class OrganizationInstallationMapperProfile : Profile
|
|
{
|
|
public OrganizationInstallationMapperProfile()
|
|
{
|
|
CreateMap<Core.Billing.Entities.OrganizationInstallation, OrganizationInstallation>().ReverseMap();
|
|
}
|
|
}
|