Tjiny
2025-06-17 7e47d1856a1db4367ce103a8b7de37fb0f3590b0
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();
        }
    }
 
}