海波 张
8 天以前 46dc31d4e66e45cde693b9c909691a710fabfcee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HH.WCS.ZhongCeJinTan.util
{
   
    [AttributeUsage(AttributeTargets.Class, Inherited = true)]
    class STAttribute : SugarTable
    {
        public static Dictionary<string, string> attributes = new Dictionary<string, string>();
        public STAttribute(string tableName) : base(tableName)
        {
            string value = "";
            if (attributes.TryGetValue(TableName, out value))
                TableName = value.ToUpper();
        }
 
    }
}