diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Observables/Entities/MachineStudioVersion.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Observables/Entities/MachineStudioVersion.cs | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Observables/Entities/MachineStudioVersion.cs b/Software/Visual_Studio/Tango.Integration/Observables/Entities/MachineStudioVersion.cs new file mode 100644 index 000000000..9ff07682b --- /dev/null +++ b/Software/Visual_Studio/Tango.Integration/Observables/Entities/MachineStudioVersion.cs @@ -0,0 +1,126 @@ +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.Integration.Observables +{ + [Table("MACHINE_STUDIO_VERSIONS")] + public partial class MachineStudioVersion : ObservableEntity<MachineStudioVersion> + { + + protected String _version; + /// <summary> + /// Gets or sets the machinestudioversion version. + /// </summary> + [Column("VERSION")] + + public String Version + { + get + { + return _version; + } + + set + { + _version = value; RaisePropertyChanged(nameof(Version)); + } + + } + + protected String _ftpfilepath; + /// <summary> + /// Gets or sets the machinestudioversion ftp file path. + /// </summary> + [Column("FTP_FILE_PATH")] + + public String FtpFilePath + { + get + { + return _ftpfilepath; + } + + set + { + _ftpfilepath = value; RaisePropertyChanged(nameof(FtpFilePath)); + } + + } + + protected String _comments; + /// <summary> + /// Gets or sets the machinestudioversion comments. + /// </summary> + [Column("COMMENTS")] + + public String Comments + { + get + { + return _comments; + } + + set + { + _comments = value; RaisePropertyChanged(nameof(Comments)); + } + + } + + protected String _userguid; + /// <summary> + /// Gets or sets the machinestudioversion user guid. + /// </summary> + [Column("USER_GUID")] + [ForeignKey("User")] + + public String UserGuid + { + get + { + return _userguid; + } + + set + { + _userguid = value; RaisePropertyChanged(nameof(UserGuid)); + } + + } + + protected User _user; + /// <summary> + /// Gets or sets the machinestudioversion user. + /// </summary> + + [XmlIgnore] + [JsonIgnore] + public virtual User User + { + get + { + return _user; + } + + set + { + _user = value; RaisePropertyChanged(nameof(User)); + } + + } + + /// <summary> + /// Initializes a new instance of the <see cref="MachineStudioVersion" /> class. + /// </summary> + public MachineStudioVersion() : base() + { + } + } +} |
