1234567891011121314151617181920212223242526272829303132333435363738 |
- using OASystem.Domain.Enums;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Attributes
- {
-
-
-
- [AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
- public class ApiLogAttribute : Attribute
- {
-
-
-
- public string TableName { get; set; }
-
-
-
- public OperationEnum OperationEnum { get; set; }
-
-
-
-
-
- public ApiLogAttribute(string tableName, OperationEnum operationEnum)
- {
- TableName = tableName;
- OperationEnum = operationEnum;
- }
- }
- }
|