Initial_commit_SecMPS_v2
This commit is contained in:
11
api_sqlsugar/VolPro.Core/Const/ApplicationContentType.cs
Normal file
11
api_sqlsugar/VolPro.Core/Const/ApplicationContentType.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace VolPro.Core.Const
|
||||
{
|
||||
public class ApplicationContentType
|
||||
{
|
||||
public const string FORM = "application/x-www-form-urlencoded; charset=utf-8";
|
||||
public const string STREAM = "application/octet-stream; charset=utf-8";
|
||||
public const string JSON = "application/json; charset=utf-8";
|
||||
public const string XML = "application/xml; charset=utf-8";
|
||||
public const string TEXT = "application/text; charset=utf-8";
|
||||
}
|
||||
}
|
||||
7
api_sqlsugar/VolPro.Core/Const/DataBaseType.cs
Normal file
7
api_sqlsugar/VolPro.Core/Const/DataBaseType.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace VolPro.Core.Const
|
||||
{
|
||||
public static class DBType
|
||||
{
|
||||
public static string Name { get; set; }
|
||||
}
|
||||
}
|
||||
32
api_sqlsugar/VolPro.Core/Const/HtmlElementType.cs
Normal file
32
api_sqlsugar/VolPro.Core/Const/HtmlElementType.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VolPro.Core.Const
|
||||
{
|
||||
public struct HtmlElementType
|
||||
{
|
||||
public const string drop = "drop";
|
||||
public const string droplist = "droplist";
|
||||
public const string select = "select";
|
||||
public const string selectlist = "selectlist";
|
||||
public const string checkbox = "checkbox";
|
||||
public const string textarea = "textarea";
|
||||
public const string thanorequal = "thanorequal";
|
||||
public const string lessorequal = "lessorequal";
|
||||
|
||||
|
||||
public const string gt = "gt";
|
||||
public const string lt = "lt";
|
||||
public const string GT = ">";
|
||||
public const string LT = "<";
|
||||
public const string like = "like";
|
||||
|
||||
public const string ThanOrEqual = ">=";
|
||||
public const string LessOrequal = "<=";
|
||||
public const string Contains = "in";
|
||||
public const string Equal = "=";
|
||||
public const string NotEqual = "!=";
|
||||
|
||||
}
|
||||
}
|
||||
36
api_sqlsugar/VolPro.Core/Const/Secret.cs
Normal file
36
api_sqlsugar/VolPro.Core/Const/Secret.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
namespace VolPro.Core.Const
|
||||
{
|
||||
/// <summary>
|
||||
/// 加密对应密钥Key
|
||||
/// </summary>
|
||||
public class Secret
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户密码加密key
|
||||
/// </summary>
|
||||
public string User { get; set; }
|
||||
/// <summary>
|
||||
/// 数据库加密key
|
||||
/// </summary>
|
||||
public string DB { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// redis加密key
|
||||
/// </summary>
|
||||
public string Redis { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// jwt加密key
|
||||
/// </summary>
|
||||
public string JWT { get; set; }
|
||||
|
||||
public string Audience { get; set; }
|
||||
public string Issuer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 导出文件加密key
|
||||
/// </summary>
|
||||
public string ExportFile = "C5ABA9E202D94C13A3CB66002BF77FAF";
|
||||
|
||||
}
|
||||
}
|
||||
28
api_sqlsugar/VolPro.Core/Const/SqlDbTypeName.cs
Normal file
28
api_sqlsugar/VolPro.Core/Const/SqlDbTypeName.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace VolPro.Core.Const
|
||||
{
|
||||
public struct SqlDbTypeName
|
||||
{
|
||||
public const string NVarChar = "nvarchar";
|
||||
public const string VarChar = "varchar";
|
||||
public const string NChar = "nchar";
|
||||
public const string Char = "char";
|
||||
public const string Text = "text";
|
||||
public const string Int = "int";
|
||||
public const string BigInt = "bigint";
|
||||
public const string DateTime = "datetime";
|
||||
public const string Date = "date";
|
||||
public const string SmallDateTime = "smalldatetime";
|
||||
public const string SmallDate = "smalldate";
|
||||
public const string Float = "float";
|
||||
public const string Decimal = "decimal";
|
||||
public const string Double = "double";
|
||||
public const string Bit = "bit";
|
||||
public const string Bool = "bool";
|
||||
public const string UniqueIdentifier = "uniqueidentifier";
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user