增加项目,分层
This commit is contained in:
1 parent
6e995a5bdb
commit
0a3e5af6a9
234 files changed
+26994
-1
No files matched your search
@@ -0,0 +1,24 @@
|
||||
namespace Store.Product.Models.PublishParameters
|
||||
{
|
||||
/// <summary>
|
||||
/// 请求参数 是否开启 和值
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
public class SwitchParams<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否开启
|
||||
/// </summary>
|
||||
public bool IsOpened { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 值
|
||||
/// </summary>
|
||||
public T Value { get; set; } = default;
|
||||
public SwitchParams() { }
|
||||
public SwitchParams(bool isopen, T value)
|
||||
{
|
||||
IsOpened = isopen;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user