From 9bda2a9c4dcd6512b32a31cde6af4d5d8e80c668 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 23 五月 2025 09:59:26 +0800
Subject: [PATCH] 1.销售订单优化 2.组织新增同步时间
---
MES.Service/Modes/MesItemType.cs | 43 +++++++++++++++++++------------------------
1 files changed, 19 insertions(+), 24 deletions(-)
diff --git a/MES.Service/Modes/MesItemType.cs b/MES.Service/Modes/MesItemType.cs
index 55b00b0..36eafa7 100644
--- a/MES.Service/Modes/MesItemType.cs
+++ b/MES.Service/Modes/MesItemType.cs
@@ -9,95 +9,90 @@
public class MesItemType
{
/// <summary>
+ /// </summary>
+ [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
+ public Guid Guid { get; set; }
+
+ /// <summary>
/// ID
/// </summary>
- [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
+ [SugarColumn(ColumnName = "id")]
public decimal Id { get; set; }
/// <summary>
/// 绫诲瀷缂栫爜
/// </summary>
- [SugarColumn(ColumnName = "TCODE")]
+ [SugarColumn(ColumnName = "tcode")]
public string? Tcode { get; set; }
/// <summary>
/// 绫诲瀷鍚嶇О
/// </summary>
- [SugarColumn(ColumnName = "TNAME")]
+ [SugarColumn(ColumnName = "tname")]
public string? Tname { get; set; }
/// <summary>
/// 澶囨敞
/// </summary>
- [SugarColumn(ColumnName = "REMARK")]
+ [SugarColumn(ColumnName = "remark")]
public string? Remark { get; set; }
/// <summary>
/// 鍒涘缓浜�
/// </summary>
- [SugarColumn(ColumnName = "CREATE_BY")]
+ [SugarColumn(ColumnName = "create_by")]
public string? CreateBy { get; set; }
/// <summary>
/// 鍒涘缓鏃堕棿
/// </summary>
- [SugarColumn(ColumnName = "CREATE_DATE")]
+ [SugarColumn(ColumnName = "create_date")]
public DateTime? CreateDate { get; set; }
/// <summary>
/// 鏈�鍚庢洿鏂颁汉
/// </summary>
- [SugarColumn(ColumnName = "LASTUPDATE_BY")]
+ [SugarColumn(ColumnName = "lastupdate_by")]
public string? LastupdateBy { get; set; }
/// <summary>
/// 鏈�鍚庢洿鏂版椂闂�
/// </summary>
- [SugarColumn(ColumnName = "LASTUPDATE_DATE")]
+ [SugarColumn(ColumnName = "lastupdate_date")]
public DateTime? LastupdateDate { get; set; }
/// <summary>
/// </summary>
- [SugarColumn(ColumnName = "COMPANY")]
+ [SugarColumn(ColumnName = "company")]
public string? Company { get; set; }
/// <summary>
/// </summary>
- [SugarColumn(ColumnName = "FACTORY")]
+ [SugarColumn(ColumnName = "factory")]
public string? Factory { get; set; }
/// <summary>
/// IQC鍒嗙被
/// </summary>
- [SugarColumn(ColumnName = "IQC_TYPE")]
+ [SugarColumn(ColumnName = "iqc_type")]
public string? IqcType { get; set; }
/// <summary>
/// IQC鍒嗙被鍚嶇О
/// </summary>
- [SugarColumn(ColumnName = "IQC_TYPE_NAME")]
+ [SugarColumn(ColumnName = "iqc_type_name")]
public string? IqcTypeName { get; set; }
/// <summary>
/// 涓婄骇鍒嗙粍
/// </summary>
- [SugarColumn(ColumnName = "PGROUP")]
+ [SugarColumn(ColumnName = "pgroup")]
public string? Pgroup { get; set; }
-/* /// <summary>
- /// 浣跨敤绲勭箶
- /// </summary>
- [SugarColumn(ColumnName = "FSubsidiary")]
- public string? FSubsidiary { get; set; }
- /// <summary>
- /// 鍓靛缓绲勭箶
- /// </summary>
- [SugarColumn(ColumnName = "Fumbrella")]
- public string? Fumbrella { get; set; }*/
/// <summary>
/// 鎻忚堪
/// </summary>
- [SugarColumn(ColumnName = "DESCRIPTION")]
+ [SugarColumn(ColumnName = "description")]
public string? Description { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
--
Gitblit v1.9.3