refactor(project): renamed project and namespace
This commit is contained in:
22
Server/Models/WeebItemConfig.cs
Normal file
22
Server/Models/WeebItemConfig.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
|
||||
namespace WeebSights.Models;
|
||||
|
||||
public record WeebItemConfig()
|
||||
{
|
||||
[JsonPropertyName("id")]
|
||||
public MongoId Id { get; set; }
|
||||
|
||||
[JsonPropertyName("clone_from_tpl")]
|
||||
public MongoId CloneFromTpl { get; set; }
|
||||
|
||||
[JsonPropertyName("bundle_path")]
|
||||
public string BundlePath { get; set; }
|
||||
|
||||
[JsonPropertyName("price")]
|
||||
public int Price { get; set; }
|
||||
|
||||
[JsonPropertyName("ergonomics")]
|
||||
public int Ergonomics { get; set; }
|
||||
}
|
||||
16
Server/Models/WeebLocaleConfig.cs
Normal file
16
Server/Models/WeebLocaleConfig.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
|
||||
namespace WeebSights.Models;
|
||||
|
||||
public record WeebLocaleConfig()
|
||||
{
|
||||
[JsonPropertyName("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonPropertyName("short_name")]
|
||||
public string ShortName { get; set; }
|
||||
|
||||
[JsonPropertyName("description")]
|
||||
public string Description { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user