aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Waste/Waste.h
blob: e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 (plain)
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
using Newtonsoft.Json;
using System.Linq;
using Tango.DAL.Remote.DB;

namespace Tango.BL.Entities
{
    [Table("HTML_PAGES")]
    public partial class HtmlPage : ObservableEntity<HtmlPage>
    {

        protected Int32 _code;
        /// <summary>
        /// Gets or sets the htmlpage code.
        /// </summary>
        [Column("CODE")]

        public  Int32 Code
        {
            get 
            {
                return _code; 
            }

            set 
            {
                _code = value; RaisePropertyChanged(nameof(Code)); 
            }

        }

        protected String _name;
        /// <summary>
        /// Gets or sets the htmlpage name.
        /// </summary>
        [Column("NAME")]

        public  String Name
        {
            get 
            {
                return _name; 
            }

            set 
            {
                _name = value; RaisePropertyChanged(nameof(Name)); 
            }

        }

        protected String _description;
        /// <summary>
        /// Gets or sets the htmlpage description.
        /// </summary>
        [Column("DESCRIPTION")]

        public  String Description
        {
            get 
            {
                return _description; 
            }

            set 
            {
                _description = value; RaisePropertyChanged(nameof(Description)); 
            }

        }

        protected String _html;
        /// <summary>
        /// Gets or sets the htmlpage html.
        /// </summary>
        [Column("HTML")]

        public  String Html
        {
            get 
            {
                return _html; 
            }

            set 
            {
                _html = value; RaisePropertyChanged(nameof(Html)); 
            }

        }

        protected ObservableCollection<EventType> _eventtypes;
        /// <summary>
        /// Gets or sets the htmlpage event types.
        /// </summary>

        public virtual ObservableCollection<EventType> EventTypes
        {
            get 
            {
                return _eventtypes; 
            }

            set 
            {
                _eventtypes = value; RaisePropertyChanged(nameof(EventTypes)); 
            }

        }

        /// <summary>
        /// Initializes a new instance of the <see cref="HtmlPage" /> class.
        /// </summary>
        public HtmlPage() : base()
        {

            EventTypes = new ObservableCollection<EventType>();

        }
    }
}