From 0328e3cb3451f663944dc3bfb0111324f43f8e63 Mon Sep 17 00:00:00 2001 From: wanghaomei Date: Mon, 29 May 2023 15:45:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E6=8B=BC=E9=9F=B3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Myshipping.Core/Entity/SysUser.cs | 6 +++++ Myshipping.Core/Helper/PinYinHelper.cs | 31 ++++++++++++++++++++++++++ Myshipping.Core/Myshipping.Core.xml | 5 +++++ 3 files changed, 42 insertions(+) create mode 100644 Myshipping.Core/Helper/PinYinHelper.cs 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 + + + 拼音码 + + 账号