27 lines
754 B
C#
27 lines
754 B
C#
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|||
|
namespace Persistence.Models;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Параметр Wits
|
|||
|
/// </summary>
|
|||
|
public class WitsValueDto
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Wits - Record Number
|
|||
|
/// </summary>
|
|||
|
[Range(1, 100, ErrorMessage = "Значение \"Record Number\" обязано находиться в диапозоне от 1 до 100")]
|
|||
|
public int RecordId { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Wits - Record Item
|
|||
|
/// </summary>
|
|||
|
[Range(1, 100, ErrorMessage = "Значение \"Wits Record Item\" обязано находиться в диапозоне от 1 до 100")]
|
|||
|
public int ItemId { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Значение параметра
|
|||
|
/// </summary>
|
|||
|
public required object Value { get; set; }
|
|||
|
}
|