using System.ComponentModel;
using Hotline.Users;
using SqlSugar;
using XF.Domain.Entities;
using XF.Domain.Repository;
namespace Hotline.Settings
{
[Description("系统参数")]
public class SystemSetting:CreationEntity
{
///
/// 编码
///
public string Code { get; set; }
///
/// 配置名称
///
public string SettingName { get; set; }
///
/// 值
///
[SugarColumn(ColumnDataType = "json", IsJson = true, IsNullable = true)]
public List SettingValue { get; set; }
///
/// 排序
///
public int Sort { get; set; }
///
/// 说明
///
[SugarColumn(IsNullable = true)]
public string Remark { get; set; }
///
/// 创建人
///
[Navigate(NavigateType.OneToOne,nameof(CreatorId))]
public User? Creator { get; set; }
}
}