40 lines
759 B
C#
Raw Normal View History

2025-06-04 09:42:48 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Syc.Abp.Application.Contracts
{
public class OptionsDto: OptionsDto<object>
{
public OptionsDto(string label,object val)
{
this.label = label;
this.value = val;
}
public string label { get; set; }
public object value { get; set; }
}
public class OptionsDto<T>
{
public OptionsDto()
{
}
public OptionsDto(string label, T val)
{
this.label = label;
this.value = val;
}
public string label { get; set; }
public T value { get; set; }
}
}