2022-03-20 10:10:44 +04:00
|
|
|
|
using System;
|
|
|
|
|
using ToolsModule.ManagmentMapping;
|
2021-03-28 19:15:55 +04:00
|
|
|
|
|
2022-03-20 10:10:44 +04:00
|
|
|
|
namespace ToolsModule.ManagmentEntity
|
2021-03-28 19:15:55 +04:00
|
|
|
|
{
|
2022-03-20 10:10:44 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Возвращаемая запись
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ElementViewModel
|
2021-03-28 19:15:55 +04:00
|
|
|
|
{
|
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
|
|
|
|
}
|
|
|
|
|
}
|