using System; namespace Abp.Application.Services.Dto { /// /// This DTO can be used as a simple item for a combobox/list. /// [Serializable] public class ComboboxItemDto { /// /// Value of the item. /// public string Value { get; set; } /// /// Display text of the item. /// public string DisplayText { get; set; } /// /// Is selected? /// public bool IsSelected { get; set; } /// /// Creates a new . /// public ComboboxItemDto() { } /// /// Creates a new . /// /// Value of the item /// Display text of the item public ComboboxItemDto(string value, string displayText) { Value = value; DisplayText = displayText; } } }