
namespace VideoDistanc.Web
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;


    // The MetadataTypeAttribute identifies ChatListMetadata as the class
    // that carries additional metadata for the ChatList class.
    [MetadataTypeAttribute(typeof(ChatList.ChatListMetadata))]
    public partial class ChatList
    {

        // This class allows you to attach custom attributes to properties
        // of the ChatList class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class ChatListMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private ChatListMetadata()
            {
            }

            public string Author { get; set; }

            public int id { get; set; }

            public string Text { get; set; }

            public TimeSpan Time { get; set; }
        }
    }
}
