﻿using System;
using System.ComponentModel.DataAnnotations;
using EPiServer.Core;
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;
using EPiServer.SpecializedProperties;

namespace EPiServerSiteTest.Models.Pages
{
    [ContentType(DisplayName = "Start", GUID = "161b461e-e76b-4504-bf40-c06e3ca2afe5", Description = "")]
    public class StartPage : PageData
    {

        [CultureSpecific]
        [Display(
            Name = "Main body",
            Description = "The main body will be shown in the main content area of the page, using the XHTML-editor you can insert for example text, images and tables.",
            GroupName = SystemTabNames.Content,
            Order = 1)]
        public virtual XhtmlString MainBody { get; set; }

        [CultureSpecific]
        [Display(
            Name = "Description",
            Description = "Just add some text",
            GroupName = SystemTabNames.Content,
            Order = 2
            )]
        public virtual XhtmlString Description { get; set; }

    }
}