using Dlhis.Entity.Canteen.Enums;
using Kurisu.AspNetCore.Utils.Extensions;
namespace Dlhis.Canteen.Setting.Response;
public class CanteenSettingResponse
{
public CanteenSettingUnqiueEnumType UniqueType { get; set; }
public string UniqueTypeDesc => UniqueType.GetDescription();
///
/// 唯一值
///
public string UniqueValue { get; set; }
///
/// 唯一值说明
///
public string UniqueValueDesc { get; set; }
///
/// 分类
///
public string Catalog { get; set; }
///
/// 参数
///
public CanteenSettingItemEnumType Item { get; set; }
public string ItemDesc => Item.GetDescription();
///
/// 值
///
public string Value { get; set; }
///
/// 是否启用
///
public bool Enable { get; set; }
}