111
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class MapNear
|
||||
{
|
||||
public string mapId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string positition { get; set; }
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using SqlSugar;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
|
||||
69
Service/Application.Domain.Entity/resource/game/game_city.cs
Normal file
69
Service/Application.Domain.Entity/resource/game/game_city.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_city
|
||||
{
|
||||
/// <summary>
|
||||
/// cityId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public int cityId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// cityName
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 20, IsNullable = true)]
|
||||
public string? cityName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// parent
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? parent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// type
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 20, IsNullable = true)]
|
||||
public string? type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// toMap
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 20, IsNullable = true)]
|
||||
public string? toMap { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 城市范围x起始坐标
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? x_s { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 城市范围x结束坐标
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? x_e { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 城市范围y起始坐标
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? y_s { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 城市范围y结束坐标
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? y_e { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// sort
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? sort { get; set; }
|
||||
}
|
||||
}
|
||||
117
Service/Application.Domain.Entity/resource/game/game_city_map.cs
Normal file
117
Service/Application.Domain.Entity/resource/game/game_city_map.cs
Normal file
@@ -0,0 +1,117 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_city_map
|
||||
{
|
||||
/// <summary>
|
||||
/// mapId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 20)]
|
||||
public string mapId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// mapName
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? mapName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// x
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? x { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// y
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? y { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// code
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// cityId
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? cityId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// isPk
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? isPk { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// show
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? show { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// isHome
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? isHome { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否可采集 0不可采集 2可采集
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? isRes { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// isBus
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? isBus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// retMap
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 20, IsNullable = true)]
|
||||
public string? retMap { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// near
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true,IsJson = true)]
|
||||
public List<MapNear> near { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tips
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? tips { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否查看附近的人0不显示 1显示
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? lookUser { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 附近人显示方式0不限制1当前区
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? lookArea { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 进入权限0不限制,1验证
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? inRole { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 锁定时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? lockTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_city_map_res
|
||||
{
|
||||
/// <summary>
|
||||
/// 资源id
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string resId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 地图id
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? mapId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源名称
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? resName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对应物品ID
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? goodsId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取资源数量
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? count { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 采集需要数量
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? needVigour { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 成功率
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 18, IsNullable = true)]
|
||||
public decimal? okRadio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 采集锁定时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? gatherTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_city_npc
|
||||
{
|
||||
/// <summary>
|
||||
/// npcId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public int npcId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// areaId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? areaId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// mapId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 20, IsNullable = true)]
|
||||
public string? mapId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// npcName
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? npcName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tips
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? tips { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// code
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// story
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string? story { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// status
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// bus
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string? bus { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using SqlSugar;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
|
||||
Reference in New Issue
Block a user