erp生产工单

This commit is contained in:
2024-07-03 17:02:05 +08:00
parent d2f3a7aff7
commit 2da3feb5e4
8 changed files with 138 additions and 35 deletions

View File

@@ -17,6 +17,7 @@ namespace Tnb.ProductionMgr.Entities.Dto
{
public string id { get; set; }
public string code { get; set; }
public string carry_code { get; set; }
public string create_id { get; set; }
public string create_time { get; set; }
}

View File

@@ -0,0 +1,40 @@
using JNPF.Common.Contracts;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities.Entity
{
/// <summary>
/// erp扩展字段
/// </summary>
[SugarTable("erp_extend_field")]
public class ErpExtendField: BaseEntity<string>
{
/// <summary>
/// 天益表名
/// </summary>
public string table_name { get; set; }
/// <summary>
/// 天益表id
/// </summary>
public string table_id { get; set; }
/// <summary>
/// 机构id
/// </summary>
public string org_id { get; set; }
/// <summary>
/// erp表体行号
/// </summary>
public int erp_lineno { get; set; }
/// <summary>
/// 工单pk值
/// </summary>
public string erp_mo_pk { get; set; }
/// <summary>
/// 表体pk值
/// </summary>
public string erp_line_pk { get; set; }
public DateTime create_time { get; set; }
}
}

View File

@@ -243,5 +243,19 @@ public partial class PrdMo : BaseEntity<string>
/// </summary>
public string? mo_source { get; set; }
/// <summary>
/// erp表体行号
/// </summary>
[SugarColumn(IsIgnore = true)]
public int erp_lineno { get; set; }
/// <summary>
/// 工单pk值
/// </summary>
[SugarColumn(IsIgnore = true)]
public string erp_mo_pk { get; set; }
/// <summary>
/// 表体pk值
/// </summary>
[SugarColumn(IsIgnore = true)]
public string erp_line_pk { get; set; }
}