From 1a8952cd3e7dac0fe563666b75233f63f0aa4a6e Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 28 八月 2024 20:07:44 +0800 Subject: [PATCH] 条码规则定义增加字段 --- Tiger.Model.Net/Entitys/BAS/BAS_CODE_DTL.cs | 147 +++++++++++++++++++++++++++++------------------- 1 files changed, 89 insertions(+), 58 deletions(-) diff --git a/Tiger.Model.Net/Entitys/BAS/BAS_CODE_DTL.cs b/Tiger.Model.Net/Entitys/BAS/BAS_CODE_DTL.cs index b36ecd8..41bcf1d 100644 --- a/Tiger.Model.Net/Entitys/BAS/BAS_CODE_DTL.cs +++ b/Tiger.Model.Net/Entitys/BAS/BAS_CODE_DTL.cs @@ -20,73 +20,104 @@ /// 瀹炰綋锛氭潯鐮佽鍒欐槑缁嗗畾涔� /// </summary> public BAS_CODE_DTL() {} - #endregion + #endregion - #region 鍏叡灞炴�� - /// <summary> - /// 瑙勫垯ID - /// </summary> - public string RULE_ID { get; set; } - /// <summary> - /// 瑙勫垯椤哄簭(浠�1寮�濮嬬疮璁″姞1) - /// </summary> - public int RULE_SEQ { get; set; } - /// <summary> - /// 鏄庣粏鎻忚堪 - /// </summary> - public string DESCRIPTION { get; set; } - /// <summary> - /// 鏁版嵁绫诲瀷(0Character绾瓧姣峾1Numeric绾暟瀛梶2FixedCode鍥哄畾鍊紎3SerialCode娴佹按鍙穦4DateCode鏃ユ湡|5TimeCode鏃堕棿|6DbCheck鍏宠仈鏍¢獙|7NoCheck涓嶆牎楠�) - /// </summary> - public int DATA_TYPE { get; set; } + #region 鍏叡灞炴�� + /// <summary> + /// 瑙勫垯ID + /// </summary> + [DisplayName("瑙勫垯ID")] + public string RULE_ID { get; set; } + /// <summary> + /// 瑙勫垯椤哄簭(浠�1寮�濮嬬疮璁″姞1) + /// </summary> + [DisplayName("瑙勫垯椤哄簭(浠�1寮�濮嬬疮璁″姞1)")] + public int RULE_SEQ { get; set; } + /// <summary> + /// 鏄庣粏鎻忚堪 + /// </summary> + [DisplayName("鏄庣粏鎻忚堪")] + public string DESCRIPTION { get; set; } + /// <summary> + /// 鏁版嵁绫诲瀷(0Character绾瓧姣峾1Numeric绾暟瀛梶2FixedCode鍥哄畾鍊紎3SerialCode娴佹按鍙穦4DateCode鏃ユ湡|5TimeCode鏃堕棿|6DbCheck鍏宠仈鏍¢獙|7NoCheck涓嶆牎楠�) + /// </summary> + [DisplayName("鏁版嵁绫诲瀷(0Character绾瓧姣峾1Numeric绾暟瀛梶2FixedCode鍥哄畾鍊紎3SerialCode娴佹按鍙穦4DateCode鏃ユ湡|5TimeCode鏃堕棿|6DbCheck鍏宠仈鏍¢獙|7NoCheck涓嶆牎楠�)")] + public int DATA_TYPE { get; set; } /// <summary> /// 鏁版嵁閫夋嫨鍊�(绾瓧姣�,鏃ユ湡,鏃堕棿閫夋嫨鍊�) /// </summary> + [DisplayName("鏁版嵁閫夋嫨鍊�(绾瓧姣�,鏃ユ湡,鏃堕棿閫夋嫨鍊�)")] public string DATA_CASE { get; set; } /// <summary> /// 鏁版嵁鍊�(鍥哄畾鍊煎~鍐欏��) /// </summary> + [DisplayName("鏁版嵁鍊�(鍥哄畾鍊煎~鍐欏��)")] public string DATA_VALUE { get; set; } - /// <summary> - /// 娴佹按鍙锋渶灏忓�� - /// </summary> - public int SERIAL_MIN { get; set; } - /// <summary> - /// 娴佹按鍙锋渶澶у�� - /// </summary> - public int SERIAL_MAX { get; set; } - /// <summary> - /// 娴佹按鍙烽噸缃被鍨�(0Default榛樿|1Year骞磡2Month鏈坾3Week鍛▅4Day鏃5NotReset涓嶉噸缃�) - /// </summary> - public int SERIAL_RESET { get; set; } - /// <summary> - /// 鍏宠仈琛� - /// </summary> - public string CHECK_TABLE { get; set; } - /// <summary> - /// 鍏宠仈瀛楁 - /// </summary> - public string CHECK_FIELD { get; set; } - /// <summary> - /// 鏍¢獙闀垮害(榛樿鏄�1) - /// </summary> - public int CHECK_LENGTH { get; set; } - /// <summary> - /// 鍖归厤娆℃暟(榛樿鏄�1) - /// </summary> - public int REPEAT_TIMES { get; set; } - /// <summary> - /// 璧峰浣嶇疆(浠�0寮�濮�) - /// </summary> - public string START_DIGIT { get; set; } - /// <summary> - /// 鏍¢獙琛ㄨ揪寮� - /// </summary> - public string DATA_REGEX { get; set; } - /// <summary> - /// 澶囨敞 - /// </summary> - public string REMARK { get; set; } + /// <summary> + /// 娴佹按鍙锋渶灏忓�� + /// </summary> + [DisplayName("娴佹按鍙锋渶灏忓��")] + public int SERIAL_MIN { get; set; } + /// <summary> + /// 娴佹按鍙锋渶澶у�� + /// </summary> + [DisplayName("娴佹按鍙锋渶澶у��")] + public int SERIAL_MAX { get; set; } + /// <summary> + /// 娴佹按鍙烽噸缃被鍨�(0Default榛樿|1Year骞磡2Month鏈坾3Week鍛▅4Day鏃5NotReset涓嶉噸缃�) + /// </summary> + [DisplayName("娴佹按鍙烽噸缃被鍨�(0Default榛樿|1Year骞磡2Month鏈坾3Week鍛▅4Day鏃5NotReset涓嶉噸缃�)")] + public int SERIAL_RESET { get; set; } + /// <summary> + /// 娴佹按鍙峰彇鍙烽棿闅� + /// </summary> + [DisplayName("娴佹按鍙峰彇鍙烽棿闅�")] + public int SERIAL_INTERVAL { get; set; } = 1; + /// <summary> + /// 娴佹按鍙疯烦鍙�(鍙栧彿鏃惰烦杩囦互璁剧疆鍙风爜缁撳熬鐨勬祦姘村彿) + /// </summary> + [DisplayName("娴佹按鍙疯烦鍙�(鍙栧彿鏃惰烦杩囦互璁剧疆鍙风爜缁撳熬鐨勬祦姘村彿)")] + public string SERIAL_IGNORE { get; set; } + /// <summary> + /// 鏄惁涓嶅寘鍚浐瀹氬��(Y/N) + /// </summary> + [DisplayName("鏄惁涓嶅寘鍚浐瀹氬��(Y/N)")] + public string FIXED_NOTLIKE { get; set; } + /// <summary> + /// 鍏宠仈琛� + /// </summary> + [DisplayName("鍏宠仈琛�")] + public string CHECK_TABLE { get; set; } + /// <summary> + /// 鍏宠仈瀛楁 + /// </summary> + [DisplayName("鍏宠仈瀛楁")] + public string CHECK_FIELD { get; set; } + /// <summary> + /// 鏍¢獙闀垮害(榛樿鏄�1) + /// </summary> + [DisplayName("鏍¢獙闀垮害(榛樿鏄�1)")] + public int CHECK_LENGTH { get; set; } + /// <summary> + /// 鍖归厤娆℃暟(榛樿鏄�1) + /// </summary> + [DisplayName("鍖归厤娆℃暟(榛樿鏄�1)")] + public int REPEAT_TIMES { get; set; } + /// <summary> + /// 璧峰浣嶇疆(浠�0寮�濮�) + /// </summary> + [DisplayName("璧峰浣嶇疆(浠�0寮�濮�)")] + public string START_DIGIT { get; set; } + /// <summary> + /// 鏍¢獙琛ㄨ揪寮� + /// </summary> + [DisplayName("鏍¢獙琛ㄨ揪寮�")] + public string DATA_REGEX { get; set; } + /// <summary> + /// 澶囨敞 + /// </summary> + [DisplayName("澶囨敞")] + public string REMARK { get; set; } #endregion #region 铏氭嫙灞炴�� -- Gitblit v1.9.3