1
0
mirror of https://github.com/bitwarden/server synced 2025-12-18 09:13:19 +00:00

Create PlayData table and services

Shift from seeded data tracking that is all server-side to play ids and x-play-id headers that are appended from the clients to track entities added by tests.
This commit is contained in:
Matt Gibson
2025-11-04 16:26:06 -08:00
parent 3f22adcbf2
commit e96e70cc22
31 changed files with 11448 additions and 9 deletions

View File

@@ -0,0 +1,19 @@
#nullable enable
using AutoMapper;
namespace Bit.Infrastructure.EntityFramework.Models;
public class PlayData : Core.Entities.PlayData
{
public virtual User? User { get; set; }
public virtual AdminConsole.Models.Organization? Organization { get; set; }
}
public class PlayDataMapperProfile : Profile
{
public PlayDataMapperProfile()
{
CreateMap<Core.Entities.PlayData, PlayData>().ReverseMap();
}
}