update:操作日志特性
This commit is contained in:
18
Api/Ewide.Core/Attributes/OpAttribute.cs
Normal file
18
Api/Ewide.Core/Attributes/OpAttribute.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ewide.Core.Attributes
|
||||
{
|
||||
public class OpAttribute : Attribute
|
||||
{
|
||||
private readonly LogOpType logOpType;
|
||||
public OpAttribute(LogOpType logOpType)
|
||||
{
|
||||
this.logOpType = logOpType;
|
||||
}
|
||||
public int OpType { get => (int)logOpType; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user