Data 위치 변경

This commit is contained in:
김민서 2024-03-28 12:12:02 +09:00
parent 36e5118c05
commit a14181e2e5
12 changed files with 19 additions and 13 deletions

View File

@ -1,5 +1,6 @@
using NLog;
using Server.SQL;
using Server.SQL.Excel;
using Server.System;
namespace Server.Manager

View File

@ -1,9 +1,9 @@
using Server.Git;
using System.ComponentModel.DataAnnotations;
namespace Server.SQL
namespace Server.SQL.Excel
{
public class ConsumableItemData
public class ConsumableItemData
{
[Key]
public long index { get; set; }
@ -36,7 +36,7 @@ namespace Server.SQL
}
public void init(Sheet data)
{
this.consumableItemData = new Dictionary<long, ConsumableItemData>();
consumableItemData = new Dictionary<long, ConsumableItemData>();
foreach (var item in data.dicViewer)
{
ConsumableItemData consumableItemData = new ConsumableItemData();

View File

@ -1,7 +1,7 @@
using Server.Git;
using System.ComponentModel.DataAnnotations;
namespace Server.SQL
namespace Server.SQL.Excel
{
public class EquipmentData
{
@ -27,7 +27,7 @@ namespace Server.SQL
}
public void init(Sheet data)
{
this.equipmentData = new Dictionary<long, EquipmentData>();
equipmentData = new Dictionary<long, EquipmentData>();
foreach (var item in data.dicViewer)
{
EquipmentData equipmentData = new EquipmentData();

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Server.SQL
namespace Server.SQL.Excel
{
public class RandomRewardData
{
@ -46,7 +46,7 @@ namespace Server.SQL
public void init(Sheet data)
{
this.randomRewardData = new Dictionary<long, RandomRewardData>();
randomRewardData = new Dictionary<long, RandomRewardData>();
foreach (var item in data.dicViewer)
{
RandomRewardData randomRewardData = new RandomRewardData();

View File

@ -1,7 +1,7 @@
using Server.Git;
using System.ComponentModel.DataAnnotations;
namespace Server.SQL
namespace Server.SQL.Excel
{
public class ResetShopItemData
{
@ -32,7 +32,7 @@ namespace Server.SQL
}
public void init(Sheet data)
{
this.resetShopItemData = new Dictionary<long, ResetShopItemData>();
resetShopItemData = new Dictionary<long, ResetShopItemData>();
foreach (var item in data.dicViewer)
{
ResetShopItemData resetShopItemData = new ResetShopItemData();

View File

@ -1,7 +1,7 @@
using Server.Git;
using System.ComponentModel.DataAnnotations;
namespace Server.SQL
namespace Server.SQL.Excel
{
public class RewardData
{
@ -40,7 +40,7 @@ namespace Server.SQL
}
public void init(Sheet data)
{
this.rewardData = new Dictionary<long, RewardData>();
rewardData = new Dictionary<long, RewardData>();
foreach (var item in data.dicViewer)
{
RewardData rewardData = new RewardData();

View File

@ -1,7 +1,7 @@
using Server.Git;
using System.ComponentModel.DataAnnotations;
namespace Server.SQL
namespace Server.SQL.Excel
{
public class ShopItemData
{
@ -37,7 +37,7 @@ namespace Server.SQL
}
public void init(Sheet data)
{
this.shopItemData = new Dictionary<long, ShopItemData>();
shopItemData = new Dictionary<long, ShopItemData>();
foreach (var item in data.dicViewer)
{
ShopItemData shopItemData = new ShopItemData();

View File

@ -1,5 +1,6 @@
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using Server.SQL.Excel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Server.SQL

View File

@ -4,6 +4,7 @@ using Server.SQL;
using Server.Manager;
using NLog;
using System.Diagnostics;
using Server.SQL.Excel;
namespace Server.Service
{

View File

@ -1,6 +1,7 @@
using Server.System;
using Newtonsoft.Json;
using Server.SQL;
using Server.SQL.Excel;
namespace Server.Service
{

View File

@ -4,6 +4,7 @@ using Server.SQL;
using Server.Manager;
using Microsoft.AspNetCore.DataProtection.KeyManagement;
using System.Collections.Generic;
using Server.SQL.Excel;
namespace Server.Service
{

View File

@ -1,4 +1,5 @@
using Server.SQL;
using Server.SQL.Excel;
namespace Server.System
{