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.
38 lines
1.0 KiB
38 lines
1.0 KiB
// ==========================================================================
|
|
// FakeContentEntity.cs
|
|
// Squidex Headless CMS
|
|
// ==========================================================================
|
|
// Copyright (c) Squidex Group
|
|
// All rights reserved.
|
|
// ==========================================================================
|
|
|
|
using System;
|
|
using NodaTime;
|
|
using Squidex.Domain.Apps.Core.Contents;
|
|
using Squidex.Infrastructure;
|
|
|
|
namespace Squidex.Domain.Apps.Read.Contents.TestData
|
|
{
|
|
public sealed class FakeContentEntity : IContentEntity
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public Guid AppId { get; set; }
|
|
|
|
public Instant Created { get; set; }
|
|
|
|
public Instant LastModified { get; set; }
|
|
|
|
public RefToken CreatedBy { get; set; }
|
|
|
|
public RefToken LastModifiedBy { get; set; }
|
|
|
|
public long Version { get; set; }
|
|
|
|
public bool IsPublished { get; set; }
|
|
|
|
public bool IsArchived { get; set; }
|
|
|
|
public NamedContentData Data { get; set; }
|
|
}
|
|
}
|
|
|