Headless CMS and Content Managment Hub
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.
 
 
 
 
 

28 lines
807 B

// ==========================================================================
// MongoAppEntityLanguage.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==========================================================================
using System.Collections.Generic;
using MongoDB.Bson.Serialization.Attributes;
namespace Squidex.Read.MongoDb.Apps
{
public sealed class MongoAppEntityLanguage
{
[BsonRequired]
[BsonElement]
public string Iso2Code { get; set; }
[BsonRequired]
[BsonElement]
public bool IsOptional { get; set; }
[BsonRequired]
[BsonElement]
public List<string> Fallback { get; set; }
}
}