diff --git a/Myshipping.Core/Entity/SysUser.cs b/Myshipping.Core/Entity/SysUser.cs index 599c527..96c1d5c 100644 --- a/Myshipping.Core/Entity/SysUser.cs +++ b/Myshipping.Core/Entity/SysUser.cs @@ -94,6 +94,12 @@ public class SysUser : DBEntityTenant /// [MaxLength(20)] public string DjyUserId { get; set; } + + /// + /// 拼音码 + /// + [MaxLength(20)] + public string PinYinCode { get; set; } } diff --git a/Myshipping.Core/Helper/PinYinHelper.cs b/Myshipping.Core/Helper/PinYinHelper.cs new file mode 100644 index 0000000..69684d0 --- /dev/null +++ b/Myshipping.Core/Helper/PinYinHelper.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Core.Helper +{ + public static class PinYinHelper + { + ///// + ///// 获取拼音码(首字母) + ///// + ///// + ///// + //public static string GetPinYinCodeFirst(string name) + //{ + + //} + + ///// + ///// 获取拼音码(全品) + ///// + ///// + ///// + //public static string GetPinYinCodeFull(string name) + //{ + + //} + } +} diff --git a/Myshipping.Core/Myshipping.Core.xml b/Myshipping.Core/Myshipping.Core.xml index 9fcb49c..5bb05c3 100644 --- a/Myshipping.Core/Myshipping.Core.xml +++ b/Myshipping.Core/Myshipping.Core.xml @@ -4035,6 +4035,11 @@ 大简云userid + + + 拼音码 + + 账号