452424
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user