aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.DAL.Observables/Entities/MachineVersionsConfiguration.cs
blob: 0934bc127d709bb36f77e670b695b4251fd2c1b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Tango.DAL.Remote.DB;

namespace Tango.DAL.Observables
{
    [EntityFieldName("MACHINE_VERSIONS_CONFIGURATIONS")]
    public class MachineVersionsConfiguration : ObservableEntity<MACHINE_VERSIONS_CONFIGURATIONS>
    {

        private String _machineversionguid;
        /// <summary>
        /// Gets or sets the machineversionsconfiguration machine version guid.
        /// </summary>
        [EntityFieldName("MACHINE_VERSION_GUID")]
        public String MachineVersionGuid
        {
            get 
            {
                return _machineversionguid; 
            }

            set 
            {
                _machineversionguid = value; RaisePropertyChanged(nameof(MachineVersionGuid)); 
            }

        }

        private String _configurationguid;
        /// <summary>
        /// Gets or sets the machineversionsconfiguration configuration guid.
        /// </summary>
        [EntityFieldName("CONFIGURATION_GUID")]
        public String ConfigurationGuid
        {
            get 
            {
                return _configurationguid; 
            }

            set 
            {
                _configurationguid = value; RaisePropertyChanged(nameof(ConfigurationGuid)); 
            }

        }

        private Configuration _configuration;
        /// <summary>
        /// Gets or sets the machineversionsconfiguration configuration.
        /// </summary>
        [EntityFieldName("CONFIGURATION")]
        public Configuration Configuration
        {
            get 
            {
                return _configuration; 
            }

            set 
            {
                _configuration = value; RaisePropertyChanged(nameof(Configuration)); 
            }

        }

        private MachineVersion _machineversions;
        /// <summary>
        /// Gets or sets the machineversionsconfiguration machine versions.
        /// </summary>
        [EntityFieldName("MACHINE_VERSIONS")]
        public MachineVersion MachineVersions
        {
            get 
            {
                return _machineversions; 
            }

            set 
            {
                _machineversions = value; RaisePropertyChanged(nameof(MachineVersions)); 
            }

        }

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

        /// <summary>
        /// Initializes a new instance of the <see cref="MachineVersionsConfiguration" /> class.
        /// </summary>
        /// <param name="entity">The entity.</param>
        public MachineVersionsConfiguration(MACHINE_VERSIONS_CONFIGURATIONS entity) : base(entity)
        {
            Init();
            MapEntityToObservable(entity, this);
        }

        /// <summary>
        /// Initialize complex types.
        /// </summary>
        private void Init()
        {

            Configuration = new Configuration();

            MachineVersions = new MachineVersion();

        }
    }
}