123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- 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 int DataId { get; set; } = 0;
-
-
-
-
-
-
- public ApiLogAttribute(string tableName, OperationEnum operationEnum, int dataId = 0)
- {
- TableName = tableName;
- OperationEnum = operationEnum;
- DataId = dataId;
- }
- }
- }
|