This commit is contained in:
Putoo
2026-05-29 19:06:51 +08:00
parent 69ae1e3174
commit bd1535aee9
48 changed files with 1571 additions and 133 deletions

View File

@@ -7,34 +7,28 @@ namespace Application.Domain.Entity
public class unit_user_friend
{
/// <summary>
/// fId
/// frId
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string fId { get; set; }
[SugarColumn(IsPrimaryKey = true, Length = 100)]
public string frId { get; set; }
/// <summary>
/// sId
/// userId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? sId { get; set; }
public string? userId { get; set; }
/// <summary>
/// mId
/// toId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? mId { get; set; }
public string? toId { get; set; }
/// <summary>
/// near
/// 亲密度
/// </summary>
[SugarColumn(IsNullable = true)]
public int? near { get; set; }
/// <summary>
/// status
/// </summary>
[SugarColumn(IsNullable = true)]
public int? status { get; set; }
public long? near { get; set; }
/// <summary>
/// addTime
@@ -42,4 +36,4 @@ namespace Application.Domain.Entity
[SugarColumn(IsNullable = true)]
public DateTime? addTime { get; set; }
}
}
}

View File

@@ -0,0 +1,63 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Game")]
public class unit_user_mail
{
/// <summary>
/// mailId
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string mailId { get; set; }
/// <summary>
/// userId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? userId { get; set; }
/// <summary>
/// name
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? name { get; set; }
/// <summary>
/// sign
/// </summary>
[SugarColumn(IsNullable = true)]
public string? sign { get; set; }
/// <summary>
/// isRead
/// </summary>
[SugarColumn(IsNullable = true)]
public int? isRead { get; set; }
/// <summary>
/// isGet
/// </summary>
[SugarColumn(IsNullable = true)]
public int? isGet { get; set; }
/// <summary>
/// award
/// </summary>
[SugarColumn(IsNullable = true,IsJson = true)]
public List<TowerGet> award { get; set; }
/// <summary>
/// addTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? addTime { get; set; }
/// <summary>
/// endTime
/// </summary>
[SugarColumn(IsNullable = true)]
public long? endTime { get; set; }
}
}

View File

@@ -0,0 +1,72 @@
using SqlSugar;
using System;
namespace Application.Domain.Entity
{
[Tenant("Kg.SeaTime.Game")]
public class unit_user_message_event
{
/// <summary>
/// eventId
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 50)]
public string eventId { get; set; }
/// <summary>
/// userId
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? userId { get; set; }
/// <summary>
/// code
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? code { get; set; }
/// <summary>
/// name
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? name { get; set; }
/// <summary>
/// sign
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? sign { get; set; }
[SugarColumn(IsNullable = true)]
public string? pars { get; set; }
/// <summary>
/// state
/// </summary>
[SugarColumn(IsNullable = true)]
public int? state { get; set; }
/// <summary>
/// btns
/// </summary>
[SugarColumn(IsNullable = true, IsJson = true)]
public List<MsgEventBtn> btns { get; set; }
/// <summary>
/// addTime
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? addTime { get; set; }
/// <summary>
/// endTime
/// </summary>
[SugarColumn(IsNullable = true)]
public long? endTime { get; set; }
/// <summary>
/// token
/// </summary>
[SugarColumn(Length = 255, IsNullable = true)]
public string? token { get; set; }
}
}

View File

@@ -0,0 +1,8 @@
namespace Application.Domain.Entity;
public class MsgEventBtn
{
public int status { get; set; }
public string name { get; set; }
public string tips { get; set; }
}

View File

@@ -0,0 +1,36 @@
namespace Application.Domain.Entity;
public class TowerGet
{
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; } }
}

View File

@@ -8,4 +8,5 @@ public class UserModel
public string headImg { get; set; }
public int area { get; set; }
public string icon { get; set; }
public int lev { get; set; }
}

View File

@@ -0,0 +1,10 @@
namespace Application.Domain.Entity;
public class UserOnMap
{
public string mapId { get; set; }
public string mapName { get; set; }
public int cityId { get; set; }
public string cityName { get; set; }
public int isOnline { get; set; }
}

View File

@@ -0,0 +1,11 @@
namespace Application.Domain.Entity;
public class RelationView
{
public UserModel user { get; set; }
public long near { get; set; }
public string mapName { get; set; }
public string cityName { get; set; }
public long sort { get; set; }
public int isOnline { get; set; }
}