using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace COMCMS.Web.Models { /// /// 系统部分配置 /// public class SystemSetting { /// /// 文件允许扩展名 /// public string FileAllowedExtensions { get; set; } /// /// 图片允许扩展名 /// public string ImageAllowedExtensions { get; set; } /// /// 多媒体允许扩展名 /// public string MediaAllowedExtensions { get; set; } /// /// JWT验证的密钥 /// public string JwtSecret { get; set; } /// /// 前缀 /// public string COMCMSPrefixKey { get; set; } /// /// 签名盐 /// public string SignSalt { get; set; } /// /// 密码强度 /// 0:6位无要求 /// 1:至少八个字符,至少一个字母和一个数字 /// 2:至少八个字符,至少一个字母,一个数字和一个特殊字符 /// 3:最少八个字符,至少一个大写字母,一个小写字母和一个数字 /// 4:至少八个字符,至少一个大写字母,一个小写字母,一个数字和一个特殊字符 /// public int PasswordStrength { get; set; } = 0; } }