Tjiny
2025-06-24 4c7cbee3e351f289fac1400e976bc8f10dc7e169
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 SqlSugar;
 
namespace HH.WCS.Mobox3.RiDong.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();
        }
    }
 
}