From 481e4bef4be32a5a9754d01faf80bf0bc4e14951 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 28 八月 2024 14:23:16 +0800 Subject: [PATCH] 生产领料单 --- MES.Service/Modes/MesBarcodeType.cs | 462 +++++++++++++++++++++++++++++++-------------------------- 1 files changed, 249 insertions(+), 213 deletions(-) diff --git a/MES.Service/Modes/MesBarcodeType.cs b/MES.Service/Modes/MesBarcodeType.cs index f11c46e..2a8c96a 100644 --- a/MES.Service/Modes/MesBarcodeType.cs +++ b/MES.Service/Modes/MesBarcodeType.cs @@ -1,214 +1,250 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Linq; -using SqlSugar; -namespace MES.Service.Modes +锘縰sing SqlSugar; + +namespace MES.Service.Modes; + +/// <summary> +/// 鏉$爜绫诲瀷琛� +/// </summary> +[SugarTable("MES_BARCODE_TYPE")] +public class MesBarcodeType { - /// <summary> - /// 鏉$爜绫诲瀷琛� - ///</summary> - [SugarTable("MES_BARCODE_TYPE")] - public class MesBarcodeType - { - /// <summary> - /// 鏉$爜绫诲瀷ID(seq_me_id) - ///</summary> - [SugarColumn(ColumnName="ID" ,IsPrimaryKey = true )] - public decimal Id { get; set; } - /// <summary> - /// 浣跨敤鍦烘墍 - ///</summary> - [SugarColumn(ColumnName="USE_SITE" )] - public string UseSite { get; set; } - /// <summary> - /// 鏉$爜绫诲瀷鍚嶇О - ///</summary> - [SugarColumn(ColumnName="BARCODE_TYPE_NAME" )] - public string BarcodeTypeName { get; set; } - /// <summary> - /// 鐮佸埗 - ///</summary> - [SugarColumn(ColumnName="CODE" )] - public string Code { get; set; } - /// <summary> - /// 鏉$爜绾稿 - ///</summary> - [SugarColumn(ColumnName="PAPER_WIDTH" )] - public decimal? PaperWidth { get; set; } - /// <summary> - /// 鏉$爜绾搁珮 - ///</summary> - [SugarColumn(ColumnName="PAPER_HEIGHT" )] - public decimal? PaperHeight { get; set; } - /// <summary> - /// 鏉$爜寮�濮嬩綅缃甔 - ///</summary> - [SugarColumn(ColumnName="BARCODE_BEGIN_POSITION_X" )] - public decimal? BarcodeBeginPositionX { get; set; } - /// <summary> - /// 鏉$爜寮�濮嬩綅缃甕 - ///</summary> - [SugarColumn(ColumnName="BARCODE_BEGIN_POSITION_Y" )] - public decimal? BarcodeBeginPositionY { get; set; } - /// <summary> - /// 涓�寮犳潯鐮佺焊涓婃潯鐮佷釜鏁� - ///</summary> - [SugarColumn(ColumnName="PAPER_NUM" )] - public decimal? PaperNum { get; set; } - /// <summary> - /// 涓�寮犳潯鐮佺焊涓婃瘡琛屾潯鐮佷釜鏁� - ///</summary> - [SugarColumn(ColumnName="PAPER_ROW_NUM" )] - public decimal? PaperRowNum { get; set; } - /// <summary> - /// 涓�寮犳潯鐮佺焊涓婃潯鐮佸垪鏁� - ///</summary> - [SugarColumn(ColumnName="PAPER_COLUMN_NUM" )] - public decimal? PaperColumnNum { get; set; } - /// <summary> - /// 鏉$爜娴佹按鍙峰惊鐜被鍨�(鎺у埗鏉$爜娴佹按鍙�) - ///</summary> - [SugarColumn(ColumnName="CYCLE_TYPE" )] - public string CycleType { get; set; } - /// <summary> - /// 鏄惁鏈夋晥(0-鏃犳晥,1-鏈夋晥) - ///</summary> - [SugarColumn(ColumnName="AVAILABLE_FLAG" )] - public decimal? AvailableFlag { get; set; } - /// <summary> - /// 鏉$爜楂樺害 - ///</summary> - [SugarColumn(ColumnName="BARCODE_HEIGHT" )] - public decimal? BarcodeHeight { get; set; } - /// <summary> - /// 鏉$爜瀛椾綋鏂瑰悜 - ///</summary> - [SugarColumn(ColumnName="BARCODE_ORIENTATION" )] - public string BarcodeOrientation { get; set; } - /// <summary> - /// 鏉$爜鎵撳嵃娉ㄩ噴琛�(1-鎵撳嵃锛�0-涓嶆墦鍗�) - ///</summary> - [SugarColumn(ColumnName="BARCODE_INTERPRETATION" )] - public decimal? BarcodeInterpretation { get; set; } - /// <summary> - /// 鏉$爜鎵撳嵃娉ㄩ噴琛屾墦鍦ㄦ潯鐮佷笂鏂�(1-鎵撳嵃鍦ㄦ潯鐮佷笂鏂癸紝0-涓嶆墦鍗板湪鏉$爜涓婃柟) - ///</summary> - [SugarColumn(ColumnName="BARCODE_INTERPRETATION_ABOVE" )] - public decimal? BarcodeInterpretationAbove { get; set; } - /// <summary> - /// 鍒涘缓浜� - ///</summary> - [SugarColumn(ColumnName="CREATE_BY" )] - public string CreateBy { get; set; } - /// <summary> - /// 鍒涘缓鏃堕棿 - ///</summary> - [SugarColumn(ColumnName="CREATE_DATE" )] - public DateTime? CreateDate { get; set; } - /// <summary> - /// 鏈�鍚庢洿鏂颁汉 - ///</summary> - [SugarColumn(ColumnName="LASTUPDATE_BY" )] - public string LastupdateBy { get; set; } - /// <summary> - /// 鏈�鍚庢洿鏂版椂闂� - ///</summary> - [SugarColumn(ColumnName="LASTUPDATE_DATE" )] - public DateTime? LastupdateDate { get; set; } - /// <summary> - /// 鏉$爜瀹藉害 - ///</summary> - [SugarColumn(ColumnName="BARCODE_WIDTH" )] - public decimal? BarcodeWidth { get; set; } - /// <summary> - /// [鏀瑰彉鏉$爜榛樿鍙傛暟]妯″潡锛堢獎鏉★級瀹� - ///</summary> - [SugarColumn(ColumnName="BY_W" )] - public decimal? ByW { get; set; } - /// <summary> - /// [鏀瑰彉鏉$爜榛樿鍙傛暟]瀹芥潯涓庣獎鏉$殑姣斾緥 - ///</summary> - [SugarColumn(ColumnName="BY_R" )] - public decimal? ByR { get; set; } - /// <summary> - /// [鏀瑰彉鏉$爜榛樿鍙傛暟]鏉$爜楂樺害 - ///</summary> - [SugarColumn(ColumnName="BY_H" )] - public decimal? ByH { get; set; } - /// <summary> - /// 鐐规暟/姣背 - ///</summary> - [SugarColumn(ColumnName="JM" )] - public string Jm { get; set; } - /// <summary> - /// 铏氭嫙鏁版嵁鏍囧織(1-鏄紝0锛嶅惁) - ///</summary> - [SugarColumn(ColumnName="JVM_DATA_FLAG" )] - public decimal? JvmDataFlag { get; set; } - /// <summary> - /// 铏氭嫙鏁版嵁娴佹按鍙蜂綅鏁� - ///</summary> - [SugarColumn(ColumnName="JVM_SERIAL_DIGIT" )] - public decimal? JvmSerialDigit { get; set; } - /// <summary> - /// 铏氭嫙鏁版嵁鏉$爜闀垮害 - ///</summary> - [SugarColumn(ColumnName="JVM_BARCODE_LENGTH" )] - public decimal? JvmBarcodeLength { get; set; } - /// <summary> - /// 鎵撳嵃鍛戒护 - ///</summary> - [SugarColumn(ColumnName="PRINT_COMMAND" )] - public string PrintCommand { get; set; } - /// <summary> - /// 鎵撳嵃鍛戒护寮�濮� - ///</summary> - [SugarColumn(ColumnName="PRINT_COMMAND_BEGIN" )] - public string PrintCommandBegin { get; set; } - /// <summary> - /// 鎵撳嵃鍛戒护缁撴潫 - ///</summary> - [SugarColumn(ColumnName="PRINT_COMMAND_END" )] - public string PrintCommandEnd { get; set; } - /// <summary> - /// 鏉$爜娉ㄩ噴琛屾暟 - ///</summary> - [SugarColumn(ColumnName="BARCODE_INTERPRETATION_ROW" )] - public decimal? BarcodeInterpretationRow { get; set; } - /// <summary> - /// 鏉$爜鍊煎甫鐗╂枡缂栫爜 - ///</summary> - [SugarColumn(ColumnName="BARCODE_ITEM" )] - public decimal? BarcodeItem { get; set; } - /// <summary> - /// 鏉$爜绫诲瀷缂栫爜 - ///</summary> - [SugarColumn(ColumnName="TYPE_CODE" )] - public decimal TypeCode { get; set; } - /// <summary> - /// 鏄惁浣跨敤 - ///</summary> - [SugarColumn(ColumnName="ISUSED" )] - public short? Isused { get; set; } - /// <summary> - /// 鎵撳嵃妯℃澘 - ///</summary> - [SugarColumn(ColumnName="MBTYPE" )] - public decimal? Mbtype { get; set; } - /// <summary> - /// 鍒嗗巶缂栫爜 - ///</summary> - [SugarColumn(ColumnName="FACTORY" )] - public string Factory { get; set; } - /// <summary> - /// 鍏徃浠g爜 - ///</summary> - [SugarColumn(ColumnName="COMPANY" )] - public string Company { get; set; } - /// <summary> - /// 娴佹按鍙蜂綅鏁� - ///</summary> - [SugarColumn(ColumnName="ORDER_NUM" )] - public decimal? OrderNum { get; set; } - } -} + /// <summary> + /// 鏉$爜绫诲瀷ID(seq_me_id) + /// </summary> + [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] + public decimal Id { get; set; } + + /// <summary> + /// 浣跨敤鍦烘墍 + /// </summary> + [SugarColumn(ColumnName = "USE_SITE")] + public string UseSite { get; set; } + + /// <summary> + /// 鏉$爜绫诲瀷鍚嶇О + /// </summary> + [SugarColumn(ColumnName = "BARCODE_TYPE_NAME")] + public string BarcodeTypeName { get; set; } + + /// <summary> + /// 鐮佸埗 + /// </summary> + [SugarColumn(ColumnName = "CODE")] + public string Code { get; set; } + + /// <summary> + /// 鏉$爜绾稿 + /// </summary> + [SugarColumn(ColumnName = "PAPER_WIDTH")] + public decimal? PaperWidth { get; set; } + + /// <summary> + /// 鏉$爜绾搁珮 + /// </summary> + [SugarColumn(ColumnName = "PAPER_HEIGHT")] + public decimal? PaperHeight { get; set; } + + /// <summary> + /// 鏉$爜寮�濮嬩綅缃甔 + /// </summary> + [SugarColumn(ColumnName = "BARCODE_BEGIN_POSITION_X")] + public decimal? BarcodeBeginPositionX { get; set; } + + /// <summary> + /// 鏉$爜寮�濮嬩綅缃甕 + /// </summary> + [SugarColumn(ColumnName = "BARCODE_BEGIN_POSITION_Y")] + public decimal? BarcodeBeginPositionY { get; set; } + + /// <summary> + /// 涓�寮犳潯鐮佺焊涓婃潯鐮佷釜鏁� + /// </summary> + [SugarColumn(ColumnName = "PAPER_NUM")] + public decimal? PaperNum { get; set; } + + /// <summary> + /// 涓�寮犳潯鐮佺焊涓婃瘡琛屾潯鐮佷釜鏁� + /// </summary> + [SugarColumn(ColumnName = "PAPER_ROW_NUM")] + public decimal? PaperRowNum { get; set; } + + /// <summary> + /// 涓�寮犳潯鐮佺焊涓婃潯鐮佸垪鏁� + /// </summary> + [SugarColumn(ColumnName = "PAPER_COLUMN_NUM")] + public decimal? PaperColumnNum { get; set; } + + /// <summary> + /// 鏉$爜娴佹按鍙峰惊鐜被鍨�(鎺у埗鏉$爜娴佹按鍙�) + /// </summary> + [SugarColumn(ColumnName = "CYCLE_TYPE")] + public string CycleType { get; set; } + + /// <summary> + /// 鏄惁鏈夋晥(0-鏃犳晥,1-鏈夋晥) + /// </summary> + [SugarColumn(ColumnName = "AVAILABLE_FLAG")] + public decimal? AvailableFlag { get; set; } + + /// <summary> + /// 鏉$爜楂樺害 + /// </summary> + [SugarColumn(ColumnName = "BARCODE_HEIGHT")] + public decimal? BarcodeHeight { get; set; } + + /// <summary> + /// 鏉$爜瀛椾綋鏂瑰悜 + /// </summary> + [SugarColumn(ColumnName = "BARCODE_ORIENTATION")] + public string BarcodeOrientation { get; set; } + + /// <summary> + /// 鏉$爜鎵撳嵃娉ㄩ噴琛�(1-鎵撳嵃锛�0-涓嶆墦鍗�) + /// </summary> + [SugarColumn(ColumnName = "BARCODE_INTERPRETATION")] + public decimal? BarcodeInterpretation { get; set; } + + /// <summary> + /// 鏉$爜鎵撳嵃娉ㄩ噴琛屾墦鍦ㄦ潯鐮佷笂鏂�(1-鎵撳嵃鍦ㄦ潯鐮佷笂鏂癸紝0-涓嶆墦鍗板湪鏉$爜涓婃柟) + /// </summary> + [SugarColumn(ColumnName = "BARCODE_INTERPRETATION_ABOVE")] + public decimal? BarcodeInterpretationAbove { get; set; } + + /// <summary> + /// 鍒涘缓浜� + /// </summary> + [SugarColumn(ColumnName = "CREATE_BY")] + public string CreateBy { get; set; } + + /// <summary> + /// 鍒涘缓鏃堕棿 + /// </summary> + [SugarColumn(ColumnName = "CREATE_DATE")] + public DateTime? CreateDate { get; set; } + + /// <summary> + /// 鏈�鍚庢洿鏂颁汉 + /// </summary> + [SugarColumn(ColumnName = "LASTUPDATE_BY")] + public string LastupdateBy { get; set; } + + /// <summary> + /// 鏈�鍚庢洿鏂版椂闂� + /// </summary> + [SugarColumn(ColumnName = "LASTUPDATE_DATE")] + public DateTime? LastupdateDate { get; set; } + + /// <summary> + /// 鏉$爜瀹藉害 + /// </summary> + [SugarColumn(ColumnName = "BARCODE_WIDTH")] + public decimal? BarcodeWidth { get; set; } + + /// <summary> + /// [鏀瑰彉鏉$爜榛樿鍙傛暟]妯″潡锛堢獎鏉★級瀹� + /// </summary> + [SugarColumn(ColumnName = "BY_W")] + public decimal? ByW { get; set; } + + /// <summary> + /// [鏀瑰彉鏉$爜榛樿鍙傛暟]瀹芥潯涓庣獎鏉$殑姣斾緥 + /// </summary> + [SugarColumn(ColumnName = "BY_R")] + public decimal? ByR { get; set; } + + /// <summary> + /// [鏀瑰彉鏉$爜榛樿鍙傛暟]鏉$爜楂樺害 + /// </summary> + [SugarColumn(ColumnName = "BY_H")] + public decimal? ByH { get; set; } + + /// <summary> + /// 鐐规暟/姣背 + /// </summary> + [SugarColumn(ColumnName = "JM")] + public string Jm { get; set; } + + /// <summary> + /// 铏氭嫙鏁版嵁鏍囧織(1-鏄紝0锛嶅惁) + /// </summary> + [SugarColumn(ColumnName = "JVM_DATA_FLAG")] + public decimal? JvmDataFlag { get; set; } + + /// <summary> + /// 铏氭嫙鏁版嵁娴佹按鍙蜂綅鏁� + /// </summary> + [SugarColumn(ColumnName = "JVM_SERIAL_DIGIT")] + public decimal? JvmSerialDigit { get; set; } + + /// <summary> + /// 铏氭嫙鏁版嵁鏉$爜闀垮害 + /// </summary> + [SugarColumn(ColumnName = "JVM_BARCODE_LENGTH")] + public decimal? JvmBarcodeLength { get; set; } + + /// <summary> + /// 鎵撳嵃鍛戒护 + /// </summary> + [SugarColumn(ColumnName = "PRINT_COMMAND")] + public string PrintCommand { get; set; } + + /// <summary> + /// 鎵撳嵃鍛戒护寮�濮� + /// </summary> + [SugarColumn(ColumnName = "PRINT_COMMAND_BEGIN")] + public string PrintCommandBegin { get; set; } + + /// <summary> + /// 鎵撳嵃鍛戒护缁撴潫 + /// </summary> + [SugarColumn(ColumnName = "PRINT_COMMAND_END")] + public string PrintCommandEnd { get; set; } + + /// <summary> + /// 鏉$爜娉ㄩ噴琛屾暟 + /// </summary> + [SugarColumn(ColumnName = "BARCODE_INTERPRETATION_ROW")] + public decimal? BarcodeInterpretationRow { get; set; } + + /// <summary> + /// 鏉$爜鍊煎甫鐗╂枡缂栫爜 + /// </summary> + [SugarColumn(ColumnName = "BARCODE_ITEM")] + public decimal? BarcodeItem { get; set; } + + /// <summary> + /// 鏉$爜绫诲瀷缂栫爜 + /// </summary> + [SugarColumn(ColumnName = "TYPE_CODE")] + public decimal TypeCode { get; set; } + + /// <summary> + /// 鏄惁浣跨敤 + /// </summary> + [SugarColumn(ColumnName = "ISUSED")] + public short? Isused { get; set; } + + /// <summary> + /// 鎵撳嵃妯℃澘 + /// </summary> + [SugarColumn(ColumnName = "MBTYPE")] + public decimal? Mbtype { get; set; } + + /// <summary> + /// 鍒嗗巶缂栫爜 + /// </summary> + [SugarColumn(ColumnName = "FACTORY")] + public string Factory { get; set; } + + /// <summary> + /// 鍏徃浠g爜 + /// </summary> + [SugarColumn(ColumnName = "COMPANY")] + public string Company { get; set; } + + /// <summary> + /// 娴佹按鍙蜂綅鏁� + /// </summary> + [SugarColumn(ColumnName = "ORDER_NUM")] + public decimal? OrderNum { get; set; } +} \ No newline at end of file -- Gitblit v1.9.3