mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-30 23:51:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			816 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			816 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Text;
 | |
| 
 | |
| namespace Esiur.Data;
 | |
| 
 | |
| public class PropertyValue
 | |
| {
 | |
|     /// <summary>
 | |
|     /// Get or set the value.
 | |
|     /// </summary>
 | |
|     public object Value { get; set; }
 | |
|     /// <summary>
 | |
|     /// Get or set date of modification or occurrence.
 | |
|     /// </summary>
 | |
|     public DateTime? Date { get; set; }
 | |
|     /// <summary>
 | |
|     /// Get or set property age.
 | |
|     /// </summary>
 | |
|     public ulong? Age { get; set; }
 | |
| 
 | |
|     /// <summary>
 | |
|     /// Create an instance of PropertyValue.
 | |
|     /// </summary>
 | |
|     /// <param name="value">Value.</param>
 | |
|     /// <param name="age">Age.</param>
 | |
|     /// <param name="date">Date.</param>
 | |
|     public PropertyValue(object value, ulong? age, DateTime? date)
 | |
|     {
 | |
|         Value = value;
 | |
|         Age = age;
 | |
|         Date = date;
 | |
|     }
 | |
| }
 |