초기커밋
This commit is contained in:
44
ServerCommon/z.Backup/NickNameEntity.cs
Normal file
44
ServerCommon/z.Backup/NickNameEntity.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
//using System;
|
||||
//using System.Collections.Generic;
|
||||
//using System.Linq;
|
||||
//using System.Text;
|
||||
//using System.Threading.Tasks;
|
||||
//using Amazon.DynamoDBv2.DocumentModel;
|
||||
//using Newtonsoft.Json;
|
||||
|
||||
//namespace ServerCommon.DB
|
||||
//{
|
||||
// public class NickNameEntityAttr
|
||||
// {
|
||||
// public string AccountGuid = string.Empty;
|
||||
// public string AccountId = string.Empty;
|
||||
// }
|
||||
// public class NickNameEntity
|
||||
// {
|
||||
// public string PK_NickName { get; private set; } = string.Empty;
|
||||
// public string SK_Empty { get; private set; } = string.Empty;
|
||||
|
||||
// public NickNameEntityAttr Attr { get; private set; } = new();
|
||||
|
||||
// public NickNameEntity()
|
||||
// {
|
||||
|
||||
// }
|
||||
// public NickNameEntity(Document document)
|
||||
// {
|
||||
// ReadFrom(document);
|
||||
// }
|
||||
|
||||
// void ReadFrom(Document document)
|
||||
// {
|
||||
// PK_NickName = document["PK"].AsString().Replace(MainDB.GetPKPrefix(EEntityType.NickName), "");
|
||||
// SK_Empty = document["SK"].AsString().Replace(MainDB.GetSKPrefix(EEntityType.NickName), "");
|
||||
|
||||
// NickNameEntityAttr? attr = JsonConvert.DeserializeObject<NickNameEntityAttr>(document["Attr"].AsString());
|
||||
// if (attr == null)
|
||||
// throw new Exception("Attr DeserializeObject error");
|
||||
|
||||
// Attr = attr;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
Reference in New Issue
Block a user