20 lines
472 B
C#
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;
|
|
}
|
|
} |