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

20 lines
495 B
C#
Raw Permalink Normal View History

2022-03-20 10:10:44 +04:00
using System;
using ToolsModule.ManagmentMapping;
2022-03-20 10:10:44 +04:00
namespace ToolsModule.ManagmentEntity
{
2022-03-20 10:10:44 +04:00
/// <summary>
/// Возвращаемая запись
/// </summary>
public class ElementViewModel
{
[ViewModelControlListProperty("Идентификатор", IsHide = true)]
[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;
}
}