blob: 6589ad6c3ce93df09e25aca1a399cb84ba857306 [file] [log] [blame]
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01001/*******************************************************************************
2* Copyright (c) 2020 Robert Bosch GmbH
3* Author: Constantin Ziesche (constantin.ziesche@bosch.com)
4*
5* This program and the accompanying materials are made available under the
6* terms of the Eclipse Public License 2.0 which is available at
7* http://www.eclipse.org/legal/epl-2.0
8*
9* SPDX-License-Identifier: EPL-2.0
10*******************************************************************************/
11using System.Runtime.Serialization;
12using System.Xml.Serialization;
13
14namespace BaSyx.Models.Core.AssetAdministrationShell.Identification
15{
Constantin Ziesche310d2aa2020-03-25 11:48:26 +010016 /// <summary>
17 /// Administrative metainformation for an element like version information.
18 /// </summary>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010019 [DataContract]
20 public class AdministrativeInformation
21 {
Constantin Ziesche310d2aa2020-03-25 11:48:26 +010022 /// <summary>
23 /// Version of the element.
24 /// </summary>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010025 [DataMember(Name = "version")]
26 [XmlElement("version")]
27 public string Version { get; set; }
28
Constantin Ziesche310d2aa2020-03-25 11:48:26 +010029 /// <summary>
30 /// Revision of the element.
31 /// </summary>
Constantin Ziesche857c7ab2020-02-25 11:24:51 +010032 [DataMember(Name = "revision")]
33 [XmlElement("revision")]
34 public string Revision { get; set; }
35 }
36}