This commit is contained in:
Putoo
2026-06-25 18:39:45 +08:00
parent 9cf2c50298
commit c374f27d16
13 changed files with 571 additions and 16 deletions

View File

@@ -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; }
}
}

View File

@@ -0,0 +1,11 @@
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; }
}

View 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; }
}
}

View File

@@ -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; }
}
}