1
0
mirror of https://github.com/bitwarden/server synced 2025-12-25 04:33:26 +00:00

Turn on file scoped namespaces (#2225)

This commit is contained in:
Justin Baur
2022-08-29 14:53:16 -04:00
committed by GitHub
parent 7c4521e0b4
commit 34fb4cca2a
1206 changed files with 73816 additions and 75022 deletions

View File

@@ -1,19 +1,18 @@
using AutoMapper;
namespace Bit.Infrastructure.EntityFramework.Models
{
public class Cipher : Core.Entities.Cipher
{
public virtual User User { get; set; }
public virtual Organization Organization { get; set; }
public virtual ICollection<CollectionCipher> CollectionCiphers { get; set; }
}
namespace Bit.Infrastructure.EntityFramework.Models;
public class CipherMapperProfile : Profile
public class Cipher : Core.Entities.Cipher
{
public virtual User User { get; set; }
public virtual Organization Organization { get; set; }
public virtual ICollection<CollectionCipher> CollectionCiphers { get; set; }
}
public class CipherMapperProfile : Profile
{
public CipherMapperProfile()
{
public CipherMapperProfile()
{
CreateMap<Core.Entities.Cipher, Cipher>().ReverseMap();
}
CreateMap<Core.Entities.Cipher, Cipher>().ReverseMap();
}
}