namespace NPin.Framework.Upms.Domain.Shared.OperLog; [AttributeUsage(AttributeTargets.Method)] public class OperLogAttribute: Attribute { /// /// 操作类型 /// public OperTypeEnum OperType { get; set; } /// /// 日志标题 /// public string Title { get; set; } /// /// 是否保存请求数据 /// public bool IsSaveRequestData { get; set; } = true; /// /// 是否保存返回数据 /// public bool IsSaveResponseData { get; set; } = true; public OperLogAttribute(string title, OperTypeEnum operationType) { Title = title; OperType = operationType; } }