This commit is contained in:
2023-05-17 14:00:28 +08:00
12 changed files with 359 additions and 30 deletions

View File

@@ -3,6 +3,7 @@ using System.Linq;
using System.Text;
using JNPF.Common.Security;
using SqlSugar;
using Tnb.Common.Contracts;
namespace Tnb.EquipMgr.Entities
{
@@ -16,11 +17,11 @@ namespace Tnb.EquipMgr.Entities
}
/// <summary>
/// <summary>
/// Desc:主键
/// Default:
/// Nullable:False
/// </summary>
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey=true)]
public string id {get;set;} = SnowflakeIdHelper.NextId();
@@ -31,11 +32,11 @@ namespace Tnb.EquipMgr.Entities
/// </summary>
public string? item_group_id {get;set;}
/// <summary>
/// Desc:保养项id
/// <summary>
/// Desc:保养项id
/// Default:NULL::character varying
/// Nullable:True
/// </summary>
/// Nullable:True
/// </summary>
public string? item_id {get;set;}
}