dengjunjie
2025-04-19 9e579eda4601ed7b492b9d19a24e8146f6ebdf8d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Enums;
 
namespace WIDESEA_Core.Attributes
{
    [AttributeUsage(AttributeTargets.Property)]
    public class CodeRuleAttribute : Attribute
    {
        public RuleCode RuleCode { get; set; }
        public CodeRuleAttribute(RuleCode ruleCode)
        {
            RuleCode = ruleCode;
        }
    }
}