2021-03-28 19:15:55 +04:00
|
|
|
|
using ModuleTools.Attributes;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace ModuleTools.ViewModels
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Возвращаемая запись
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ElementViewModel
|
|
|
|
|
{
|
2021-04-01 21:30:29 +04:00
|
|
|
|
[ViewModelControlListProperty("Идентификатор", IsHide = true)]
|
2021-03-28 19:15:55 +04:00
|
|
|
|
[MapConfiguration("Id")]
|
|
|
|
|
public Guid Id { get; set; }
|
2021-04-13 12:52:45 +04:00
|
|
|
|
|
|
|
|
|
[MapConfiguration("ToString")]
|
|
|
|
|
public string ElementViewString { get; set; }
|
|
|
|
|
|
|
|
|
|
public override string ToString() => ElementViewString;
|
2021-03-28 19:15:55 +04:00
|
|
|
|
}
|
|
|
|
|
}
|