mirror of
https://github.com/bitwarden/server
synced 2025-12-12 06:13:43 +00:00
Long lived feature branch for Secrets Manager Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com> Co-authored-by: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com> Co-authored-by: CarleyDiaz-Bitwarden <103955722+CarleyDiaz-Bitwarden@users.noreply.github.com> Co-authored-by: Thomas Avery <tavery@bitwarden.com> Co-authored-by: Colton Hurst <colton@coltonhurst.com>
20 lines
453 B
C#
20 lines
453 B
C#
using AutoMapper;
|
|
|
|
namespace Bit.Infrastructure.EntityFramework.Models;
|
|
|
|
public class Secret : Core.Entities.Secret
|
|
{
|
|
public virtual new ICollection<Project> Projects { get; set; }
|
|
public virtual Organization Organization { get; set; }
|
|
}
|
|
|
|
public class SecretMapperProfile : Profile
|
|
{
|
|
public SecretMapperProfile()
|
|
{
|
|
CreateMap<Core.Entities.Secret, Secret>()
|
|
.PreserveReferences()
|
|
.ReverseMap();
|
|
}
|
|
}
|