using System;
using System.Collections.Generic;

namespace Model
{
  // Generated by Telerik OpenAccess
  // Used template: e:\program files\telerik\openaccess orm\sdk\IDEIntegrations\templates\PCClassGeneration\cs\templates\classgen\class\partialuserdefault.vm
  // NOTE: Field declarations and 'Object ID' class implementation are added to the 'designer' file.
  //       Changes made to the 'designer' file will be overwritten by the wizard.  	
  public partial class Message
  {
    //The 'no-args' constructor required by OpenAccess. 
    public Message()
    {
    }

    [Telerik.OpenAccess.FieldAlias("messageId")]
    public int MessageId
    {
      get { return messageId; }
      set { this.messageId = value; }
    }

    [Telerik.OpenAccess.FieldAlias("date1")]
    public DateTime Date1
    {
      get { return date1; }
      set { this.date1 = value; }
    }

    [Telerik.OpenAccess.FieldAlias("receiver")]
    public string Receiver
    {
      get { return receiver; }
      set { this.receiver = value; }
    }

    [Telerik.OpenAccess.FieldAlias("sender")]
    public string Sender
    {
      get { return sender; }
      set { this.sender = value; }
    }

    [Telerik.OpenAccess.FieldAlias("text")]
    public string Text
    {
      get { return text; }
      set { this.text = value; }
    }

    [Telerik.OpenAccess.FieldAlias("title")]
    public string Title
    {
      get { return title; }
      set { this.title = value; }
    }

    [Telerik.OpenAccess.FieldAlias("radProduct")]
    public RadProduct RadProduct
    {
      get { return radProduct; }
      set { this.radProduct = value; }
    }

    [Telerik.OpenAccess.FieldAlias("user")]
    public User User
    {
      get { return user; }
      set { this.user = value; }
    }


  }
}
