You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.4 KiB
C#
85 lines
2.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DS.Module.Core.Constants
|
|
{
|
|
/// <summary>
|
|
/// SqlSugar缓存常量
|
|
/// </summary>
|
|
public class SqlSugarCacheConst
|
|
{
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 时长 10分钟
|
|
/// </summary>
|
|
public const int CacheDurationInSeconds = 60*10;
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存
|
|
/// </summary>
|
|
public const string SqlSugar = "sys_sqlSugar:";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存港口信息
|
|
/// </summary>
|
|
public const string Port = "sys_sqlSugar:Port";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 往来单位信息
|
|
/// </summary>
|
|
public const string InfoClient = "sys_sqlSugar:InfoClient";
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 所有往来单位信息
|
|
/// </summary>
|
|
public const string AllClient = "sys_sqlSugar:AllClient";
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 用户信息
|
|
/// </summary>
|
|
public const string User = "sys_sqlSugar:User";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 包装信息
|
|
/// </summary>
|
|
public const string Package = "sys_sqlSugar:Package";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 集装箱信息
|
|
/// </summary>
|
|
public const string Ctn = "sys_sqlSugar:Ctn";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 船名信息
|
|
/// </summary>
|
|
public const string Vessel = "sys_sqlSugar:Vessel";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 航次信息
|
|
/// </summary>
|
|
public const string Voyno = "sys_sqlSugar:Voyno";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 商品信息
|
|
/// </summary>
|
|
public const string Goods = "sys_sqlSugar:Goods";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 船公司信息
|
|
/// </summary>
|
|
public const string Carrier = "sys_sqlSugar:Carrier";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 机构信息
|
|
/// </summary>
|
|
public const string Org = "sys_sqlSugar:Org";
|
|
|
|
/// <summary>
|
|
/// SqlSugar二级缓存 约号信息
|
|
/// </summary>
|
|
public const string ContractNo = "sys_sqlSugar:ContractNo";
|
|
|
|
}
|
|
}
|