增加修炼功能
This commit is contained in:
10
Service/Application.Domain.Entity/db/unit_user_load.cs
Normal file
10
Service/Application.Domain.Entity/db/unit_user_load.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class unit_user_load
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string userId { get; set; }
|
||||
public string name { get; set; }
|
||||
public string code { get; set; }
|
||||
public int count { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Game")]
|
||||
public class unit_user_drug
|
||||
{
|
||||
/// <summary>
|
||||
/// userId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string userId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// drug
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true,IsJson = true)]
|
||||
public List<UserDrugModel> drug { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Game")]
|
||||
public class unit_user_monster
|
||||
{
|
||||
/// <summary>
|
||||
/// umId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string umId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// userId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? userId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// areaCode
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? areaCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// mapId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? mapId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// monsterId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? monsterId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// monsterName
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? monsterName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// code
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// par
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? par { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// addTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? addTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// endTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? endTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -47,5 +47,17 @@ namespace Application.Domain.Entity
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? copper { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 出售价格
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? sale { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// remark
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? remark { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Game")]
|
||||
public class unit_user_state
|
||||
{
|
||||
/// <summary>
|
||||
/// usId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string usId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// userId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? userId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// goodsId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? goodsId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// name
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 场景
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? scene { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// tips
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? tips { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// attr
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true,IsJson = true)]
|
||||
public List<AttrItem> attr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// addTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? addTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// endTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? endTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Game")]
|
||||
public class unit_user_stock
|
||||
{
|
||||
/// <summary>
|
||||
/// usId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string usId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// userId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? userId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// goodsId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? goodsId { get; set; }
|
||||
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// type
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// code
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// sign
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? sign { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// par
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string? par { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// endTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? endTime { get; set; }
|
||||
}
|
||||
}
|
||||
113
Service/Application.Domain.Entity/logdb/db/game_fight_data.cs
Normal file
113
Service/Application.Domain.Entity/logdb/db/game_fight_data.cs
Normal file
@@ -0,0 +1,113 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Log")]
|
||||
public class game_fight_data
|
||||
{
|
||||
/// <summary>
|
||||
/// fightId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string fightId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 作用区域
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? areaCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关联ID
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? keyId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 对方主ID
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? mainId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 战斗类型
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 场景
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? scene { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// mapId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? mapId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// userId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? userId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// state
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? state { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 胜利方
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? winUser { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 经验
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? exp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 铜贝
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? copper { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 宠物经验
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? petExp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 奖励
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string? award { get; set; }
|
||||
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string? pars { get; set; }
|
||||
/// <summary>
|
||||
/// addTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? addTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 战斗结束时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? okTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? endTime { get; set; }
|
||||
}
|
||||
}
|
||||
13
Service/Application.Domain.Entity/logdb/ot/game_broadcast.cs
Normal file
13
Service/Application.Domain.Entity/logdb/ot/game_broadcast.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class game_broadcast
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public int area { get; set; }
|
||||
public string code { get; set; }
|
||||
public string userId { get; set; }
|
||||
public string userNo { get; set; }
|
||||
public string nick { get; set; }
|
||||
public string msg { get; set; }
|
||||
public long endTime { get; set; }
|
||||
}
|
||||
30
Service/Application.Domain.Entity/model/CheckTowerNeeds.cs
Normal file
30
Service/Application.Domain.Entity/model/CheckTowerNeeds.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class CheckTowerNeeds
|
||||
{
|
||||
private bool _result;
|
||||
|
||||
public bool result
|
||||
{ get { return this._result; } set { this._result = value; } }
|
||||
|
||||
private System.Int32 _isDeal;
|
||||
|
||||
/// <summary>
|
||||
/// 0不可交易1可交易
|
||||
/// </summary>
|
||||
public System.Int32 isDeal
|
||||
{ get { return this._isDeal; } set { this._isDeal = value; } }
|
||||
|
||||
private System.Int32 _isGive;
|
||||
|
||||
/// <summary>
|
||||
/// 0不可交易1可交易
|
||||
/// </summary>
|
||||
public System.Int32 isGive
|
||||
{ get { return this._isGive; } set { this._isGive = value; } }
|
||||
|
||||
private List<TowerNeeds> _Needs;
|
||||
|
||||
public List<TowerNeeds> Needs
|
||||
{ get { return this._Needs; } set { this._Needs = value; } }
|
||||
}
|
||||
8
Service/Application.Domain.Entity/model/ChoiceGoods.cs
Normal file
8
Service/Application.Domain.Entity/model/ChoiceGoods.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class ChoiceGoods
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
public List<TowerGet> award { get; set; }
|
||||
}
|
||||
@@ -31,7 +31,6 @@ public class EquAwaken
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[SqlSugar.SugarColumn(ColumnDataType = "varchar(max)", IsJson = true)]
|
||||
public List<AttrItem> awaken
|
||||
{ get { return this._awaken; } set { this._awaken = value; } }
|
||||
}
|
||||
36
Service/Application.Domain.Entity/model/EquAwakenData.cs
Normal file
36
Service/Application.Domain.Entity/model/EquAwakenData.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class EquAwakenData
|
||||
{
|
||||
private System.Int32 _lev;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 lev
|
||||
{ get { return this._lev; } set { this._lev = value; } }
|
||||
|
||||
private System.Int32 _success;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 success
|
||||
{ get { return this._success; } set { this._success = value; } }
|
||||
|
||||
private List<TowerNeed> _need;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public List<TowerNeed> need
|
||||
{ get { return this._need; } set { this._need = value; } }
|
||||
|
||||
private List<AttrItem> _attr;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public List<AttrItem> attr
|
||||
{ get { return this._attr; } set { this._attr = value; } }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class FightAwardModel
|
||||
{
|
||||
public string code { get; set; }
|
||||
public object award { get; set; }
|
||||
}
|
||||
13
Service/Application.Domain.Entity/model/MapMonsterModel.cs
Normal file
13
Service/Application.Domain.Entity/model/MapMonsterModel.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class MapMonsterModel
|
||||
{
|
||||
public string monterId { get; set; }
|
||||
public string name { get; set; }
|
||||
/// <summary>
|
||||
/// 0地图怪物 1生成怪物
|
||||
/// </summary>
|
||||
public int type { get; set; }
|
||||
|
||||
public string sign { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class MonsterAwardModel
|
||||
{
|
||||
public string type { get; set; }
|
||||
public RandomModel award { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class RandomDataBase
|
||||
{
|
||||
public double random { get; set; }
|
||||
public object data { get; set; }
|
||||
}
|
||||
@@ -22,6 +22,7 @@ public class RandomData
|
||||
public string code { get; set; }
|
||||
public string name { get; set; }
|
||||
public string par { get; set; }
|
||||
public long count { get; set; }
|
||||
public int minCount { get; set; }
|
||||
public int maxCount { get; set; }
|
||||
public double chance { get; set; }
|
||||
}
|
||||
@@ -26,20 +26,20 @@ public class TowerNeed
|
||||
public System.String parameter
|
||||
{ get { return this._parameter; } set { this._parameter = value; } }
|
||||
|
||||
private System.Int32 _count;
|
||||
private long _count;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 count
|
||||
public long count
|
||||
{ get { return this._count; } set { this._count = value; } }
|
||||
|
||||
private System.Int32 _retCount;
|
||||
private long _retCount;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 retCount
|
||||
public long retCount
|
||||
{ get { return this._retCount; } set { this._retCount = value; } }
|
||||
|
||||
private System.Int32 _isOp;
|
||||
@@ -57,4 +57,12 @@ public class TowerNeed
|
||||
/// </summary>
|
||||
public System.Int32 isAsk
|
||||
{ get { return this._isAsk; } set { this._isAsk = value; } }
|
||||
|
||||
private long _onCount;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public long onCount
|
||||
{ get { return this._onCount; } set { this._onCount = value; } }
|
||||
}
|
||||
111
Service/Application.Domain.Entity/model/TowerNeeds.cs
Normal file
111
Service/Application.Domain.Entity/model/TowerNeeds.cs
Normal file
@@ -0,0 +1,111 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class TowerNeeds
|
||||
{
|
||||
private System.Int32 _Id;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 Id
|
||||
{
|
||||
get { return this._Id; }
|
||||
set { this._Id = value; }
|
||||
}
|
||||
|
||||
private System.String _code;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String code
|
||||
{
|
||||
get { return this._code; }
|
||||
set { this._code = value; }
|
||||
}
|
||||
|
||||
private System.String _name;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String name
|
||||
{
|
||||
get { return this._name; }
|
||||
set { this._name = value; }
|
||||
}
|
||||
|
||||
private System.String _parameter;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.String parameter
|
||||
{
|
||||
get { return this._parameter; }
|
||||
set { this._parameter = value; }
|
||||
}
|
||||
|
||||
private long _count;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public long count
|
||||
{
|
||||
get { return this._count; }
|
||||
set { this._count = value; }
|
||||
}
|
||||
|
||||
private long _retCount;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public long retCount
|
||||
{
|
||||
get { return this._retCount; }
|
||||
set { this._retCount = value; }
|
||||
}
|
||||
|
||||
private System.Int32 _isOp;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 isOp
|
||||
{
|
||||
get { return this._isOp; }
|
||||
set { this._isOp = value; }
|
||||
}
|
||||
|
||||
private System.Int32 _isAsk;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public System.Int32 isAsk
|
||||
{
|
||||
get { return this._isAsk; }
|
||||
set { this._isAsk = value; }
|
||||
}
|
||||
|
||||
private long _onCount;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public long onCount
|
||||
{
|
||||
get { return this._onCount; }
|
||||
set { this._onCount = value; }
|
||||
}
|
||||
|
||||
private List<TowerNeed> _NeedItem;
|
||||
|
||||
public List<TowerNeed> NeedItem
|
||||
{
|
||||
get { return this._NeedItem; }
|
||||
set { this._NeedItem = value; }
|
||||
}
|
||||
}
|
||||
@@ -8,11 +8,14 @@
|
||||
public int isCopy { get; set; }
|
||||
public string viceId { get; set; }
|
||||
public string name { get; set; }
|
||||
public int figState { get; set; }
|
||||
public string sex { get; set; }
|
||||
public string code { get; set; }
|
||||
public string remark { get; set; }
|
||||
public string TmImg { get; set; }
|
||||
public string tips { get; set; }
|
||||
public decimal addExp { get; set; }
|
||||
public decimal addGold { get; set; }
|
||||
public decimal burst { get; set; }//爆率
|
||||
public decimal luck { get; set; }//幸运
|
||||
public int weight { get; set; }//负重
|
||||
public int lev { get; set; }//等级
|
||||
public int minAtk { get; set; }//最小攻击
|
||||
public int maxAtk { get; set; }//最大攻击
|
||||
|
||||
10
Service/Application.Domain.Entity/model/UserDrugModel.cs
Normal file
10
Service/Application.Domain.Entity/model/UserDrugModel.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class UserDrugModel
|
||||
{
|
||||
public string id { get; set; }
|
||||
public int goodsId { get; set; }
|
||||
public string name { get; set; }
|
||||
public string code { get; set; }
|
||||
public int count { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class UserEquAttrModel
|
||||
{
|
||||
public UserAttrModel equ { get; set; }
|
||||
public List<AttrItem> attr { get; set; }
|
||||
}
|
||||
8
Service/Application.Domain.Entity/model/UserEquSuit.cs
Normal file
8
Service/Application.Domain.Entity/model/UserEquSuit.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class UserEquSuit
|
||||
{
|
||||
public string suitCode { get; set; }
|
||||
public string suitName { get; set; }
|
||||
public List<EquSuitAttr> SuitAttr { get; set; }
|
||||
}
|
||||
10
Service/Application.Domain.Entity/model/UserStateModel.cs
Normal file
10
Service/Application.Domain.Entity/model/UserStateModel.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class UserStateModel
|
||||
{
|
||||
public string name { get; set; }
|
||||
public int time { get; set; }
|
||||
public string scene { get; set; }
|
||||
public string tips { get; set; }
|
||||
public List<AttrItem> attr { get; set; }
|
||||
}
|
||||
27
Service/Application.Domain.Entity/resource/game/game_dic.cs
Normal file
27
Service/Application.Domain.Entity/resource/game/game_dic.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_dic
|
||||
{
|
||||
/// <summary>
|
||||
/// code
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// sign
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string? sign { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// remark
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? remark { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -4,72 +4,78 @@ using System;
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_ship
|
||||
public class game_equ_attr
|
||||
{
|
||||
/// <summary>
|
||||
/// shipId
|
||||
/// erId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public int shipId { get; set; }
|
||||
public string erId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// npc
|
||||
/// equCode
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? equCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// minLev
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? npc { get; set; }
|
||||
public int? minLev { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// shipName
|
||||
/// maxLev
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? maxLev { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 权重
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? random { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性类型:Number 数值 float 百分比
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string shipName { get; set; }
|
||||
public string? nt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// img
|
||||
/// 属性
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string img { get; set; }
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// price
|
||||
/// compute
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? compute { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// min_v
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 18, IsNullable = true)]
|
||||
public decimal? price { get; set; }
|
||||
public decimal? min_v { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// salePrice
|
||||
/// max_v
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 18, IsNullable = true)]
|
||||
public decimal? salePrice { get; set; }
|
||||
public decimal? max_v { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// payType
|
||||
/// tips
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string payType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// weight
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? weight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// speed
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? speed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// neeGold
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? neeGold { get; set; }
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? tips { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// remark
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string remark { get; set; }
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? remark { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_equ_awaken
|
||||
{
|
||||
/// <summary>
|
||||
/// 特性表
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string atId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 特性名称
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// levAttr
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true,IsJson = true)]
|
||||
public List<EquAwakenData> levAttr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 权重
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? random { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 可觉醒装备
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string? position { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_equ_make
|
||||
{
|
||||
/// <summary>
|
||||
/// mkId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string mkId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// goodsId
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? goodsId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// equId
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? equId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// equName
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? equName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// random
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? random { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否随机特性
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? rdAttr { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_equ_up
|
||||
{
|
||||
/// <summary>
|
||||
/// euId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
public int euId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// onLev
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? onLev { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// maxLev
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? maxLev { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// okChance
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? okChance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// needData
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true,IsJson = true)]
|
||||
public List<TowerNeeds> needData { get; set; }
|
||||
}
|
||||
}
|
||||
117
Service/Application.Domain.Entity/resource/game/game_monster.cs
Normal file
117
Service/Application.Domain.Entity/resource/game/game_monster.cs
Normal file
@@ -0,0 +1,117 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_monster
|
||||
{
|
||||
/// <summary>
|
||||
/// monsterId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string monsterId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// name
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 怪物应用区域
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// lev
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? lev { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// exp
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? exp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// copper
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? copper { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// petExp
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public long? petExp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// minAtk
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? minAtk { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// maxAtk
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? maxAtk { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// defense
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? defense { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// agility
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? agility { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// blood
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 62, IsNullable = true)]
|
||||
public decimal? blood { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 怪物属性
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true,IsJson = true)]
|
||||
public List<AttrItem> attr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 怪物技能
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string? skill { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// award
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 3000, IsNullable = true)]
|
||||
public string? award { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支持复制战斗0不支持 1支持
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? isCopy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 怪物说明
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用于后台操作标记,无其他作用
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 255, IsNullable = true)]
|
||||
public string? markTips { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace Application.Domain.Entity
|
||||
{
|
||||
[Tenant("Kg.SeaTime.Resource")]
|
||||
public class game_monster_map
|
||||
{
|
||||
/// <summary>
|
||||
/// mmId
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, Length = 50)]
|
||||
public string mmId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// mapId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? mapId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// monsterId
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? monsterId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// monsterName
|
||||
/// </summary>
|
||||
[SugarColumn(Length = 50, IsNullable = true)]
|
||||
public string? monsterName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// addCount
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? addCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// chance
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? chance { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// sTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? sTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// eTime
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public int? eTime { get; set; }
|
||||
}
|
||||
}
|
||||
7
Service/Application.Domain.Entity/view/MakePaperView.cs
Normal file
7
Service/Application.Domain.Entity/view/MakePaperView.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Application.Domain.Entity;
|
||||
|
||||
public class MakePaperView
|
||||
{
|
||||
public game_goods goods { get; set; }
|
||||
public long count { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user