DepartmentProject/DepartmentPortal/Common/ModuleTools/ViewModels/ElementViewModel.cs
2021-04-13 12:52:45 +04:00

20 lines
472 B
C#

using ModuleTools.Attributes;
using System;
namespace ModuleTools.ViewModels
{
/// <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;
}
}