...
杨前锦
2025-06-11 10e84968f9c70ebf6c83893091a36863b1e27b2a
HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/util/STAttribute.cs
New file
@@ -0,0 +1,23 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HH.WCS.Mobox3.FJJT.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();
        }
    }
}