mirror of
https://github.com/bitwarden/server
synced 2025-12-17 00:33:23 +00:00
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.
20 lines
434 B
C#
20 lines
434 B
C#
#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();
|
|
}
|
|
}
|