2024-12-04 14:13:25 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2024-12-16 15:38:46 +05:00
|
|
|
|
namespace DD.Persistence.Models;
|
2024-12-04 14:13:25 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Параметр Wits
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class WitsValueDto
|
|
|
|
|
{
|
2024-12-12 16:56:25 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Wits - Record Number
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Range(1, 100, ErrorMessage = "Значение \"Record Number\" обязано находиться в диапозоне от 1 до 100")]
|
|
|
|
|
public int RecordId { get; set; }
|
2024-12-04 14:13:25 +05:00
|
|
|
|
|
2024-12-12 16:56:25 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Wits - Record Item
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Range(1, 100, ErrorMessage = "Значение \"Wits Record Item\" обязано находиться в диапозоне от 1 до 100")]
|
|
|
|
|
public int ItemId { get; set; }
|
2024-12-04 14:13:25 +05:00
|
|
|
|
|
2024-12-12 16:56:25 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Значение параметра
|
|
|
|
|
/// </summary>
|
|
|
|
|
public required object Value { get; set; }
|
2024-12-04 14:13:25 +05:00
|
|
|
|
}
|