mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.3 KiB
52 lines
1.3 KiB
// ==========================================================================
|
|
// 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 string Text { get; set; }
|
|
|
|
public bool Boolean { get; set; }
|
|
|
|
public bool? BooleanOrNull { get; set; }
|
|
|
|
public object? Mixed { get; set; }
|
|
|
|
public long[] Array { get; set; }
|
|
}
|
|
|