27 lines
613 B
C#
27 lines
613 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace Umbraco.Web.Models.ContentEditing
|
|
{
|
|
[DataContract(Name = "DomainDisplay")]
|
|
public class DomainDisplay
|
|
{
|
|
public DomainDisplay(string name, int lang)
|
|
{
|
|
Name = name;
|
|
Lang = lang;
|
|
}
|
|
|
|
[DataMember(Name = "name")]
|
|
public string Name { get; }
|
|
|
|
[DataMember(Name = "lang")]
|
|
public int Lang { get; }
|
|
|
|
[DataMember(Name = "duplicate")]
|
|
public bool Duplicate { get; set; }
|
|
|
|
[DataMember(Name = "other")]
|
|
public string Other { get; set; }
|
|
}
|
|
}
|