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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user