2012-11-25 19:19:10 -01:00
|
|
|
|
using Umbraco.Tests.CodeFirst.Attributes;
|
2012-11-30 09:34:09 -01:00
|
|
|
|
using umbraco.editorControls.textfield;
|
|
|
|
|
|
using umbraco.editorControls.textfieldmultiple;
|
2012-11-25 19:19:10 -01:00
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Tests.CodeFirst.TestModels.Composition
|
2012-11-25 17:56:08 -01:00
|
|
|
|
{
|
2012-11-30 09:34:09 -01:00
|
|
|
|
public class Meta : ContentTypeBase, IMeta
|
2012-11-25 17:56:08 -01:00
|
|
|
|
{
|
2012-11-30 09:34:09 -01:00
|
|
|
|
[PropertyType(typeof(TextFieldDataType), PropertyGroup = "Content")]
|
|
|
|
|
|
public string MetaKeywords { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[PropertyType(typeof(textfieldMultipleDataType))]
|
|
|
|
|
|
public string MetaDescription { get; set; }
|
2012-11-25 17:56:08 -01:00
|
|
|
|
}
|
|
|
|
|
|
|
2012-11-30 09:34:09 -01:00
|
|
|
|
[Mixin(typeof(Meta))]
|
2012-11-25 17:56:08 -01:00
|
|
|
|
public interface IMeta
|
|
|
|
|
|
{}
|
|
|
|
|
|
}
|