DepartmentProject/DepartmentPortal/Common/ToolsModule/ManagmentEntity/ElementViewModel.cs

20 lines
495 B
C#

using System;
using ToolsModule.ManagmentMapping;
namespace ToolsModule.ManagmentEntity
{
/// <summary>
/// Возвращаемая запись
/// </summary>
public class ElementViewModel
{
[ViewModelControlListProperty("Идентификатор", IsHide = true)]
[MapConfiguration("Id")]
public Guid Id { get; set; }
[MapConfiguration("ToString")]
public string ElementViewString { get; set; }
public override string ToString() => ElementViewString;
}
}