// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ========================================================================== using System.ComponentModel.DataAnnotations; using NetTopologySuite.Geometries; #pragma warning disable MA0048 // File name must match type name namespace Squidex.EntityFramework.TestHelpers; public class TestEntity { [Key] public Guid Id { get; set; } = Guid.NewGuid(); public long Number { get; set; } public long? NumberOrNull { get; set; } public string Text { get; set; } public string FullText { get; set; } public bool Boolean { get; set; } public bool? BooleanOrNull { get; set; } public Point Point { get; set; } public TestJson Json { get; set; } } public class TestJson { public long Number { get; set; } public long? NumberOrNull { get; set; } public long[] NumberArray { get; set; } public string Text { get; set; } public string? TextOrNull { get; set; } public string[] TextArray { get; set; } public bool Boolean { get; set; } public bool? BooleanOrNull { get; set; } public bool[] BooleanArray { get; set; } public object? Mixed { get; set; } public object?[] MixedArray { get; set; } }