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