mirror of
https://github.com/bitwarden/server
synced 2025-12-18 17:23:28 +00:00
[PM-328] Move files for team-tools (#2857)
* Extract Import-Api endpoints into separate controller Moved ciphers/import and ciphers/import-organization into new ImportController Paths have been kept intact for now (no changes on clients needed) Moved request-models used for import into tools-subfolder * Update CODEOWNERS for team-tools-dev * Move HibpController (reports) to tools * Moving files related to Send * Moving files related to ReferenceEvent * Removed unneeded newline
This commit is contained in:
committed by
GitHub
parent
baec7745f7
commit
4e7b9d2edd
17
src/Infrastructure.EntityFramework/Tools/Models/Send.cs
Normal file
17
src/Infrastructure.EntityFramework/Tools/Models/Send.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using AutoMapper;
|
||||
|
||||
namespace Bit.Infrastructure.EntityFramework.Models;
|
||||
|
||||
public class Send : Core.Tools.Entities.Send
|
||||
{
|
||||
public virtual Organization Organization { get; set; }
|
||||
public virtual User User { get; set; }
|
||||
}
|
||||
|
||||
public class SendMapperProfile : Profile
|
||||
{
|
||||
public SendMapperProfile()
|
||||
{
|
||||
CreateMap<Core.Tools.Entities.Send, Send>().ReverseMap();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user