From 2f0c81709876d76b6b120cf6ac43f05cda6dfe4c Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期六, 22 三月 2025 09:36:13 +0800 Subject: [PATCH] 修改websocket; --- 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Model/Models/SerialPort/Dt_Tools.cs | 48 +++++++++++++++++++++++++++++++----------------- 1 files changed, 31 insertions(+), 17 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Model/Models/SerialPort/Dt_Tools.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Model/Models/SerialPort/Dt_Tools.cs" index 8bfc886..c4fa4f8 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Model/Models/SerialPort/Dt_Tools.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEAWCS_Server \346\255\243\345\274\217/WIDESEAWCS_Model/Models/SerialPort/Dt_Tools.cs" @@ -4,35 +4,49 @@ using System.Text; using System.Threading.Tasks; using SqlSugar; +using WIDESEAWCS_Core.DB.Models; using WIDESEAWCS_Core.Tenants; -namespace WIDESEAWCS_Model.Models.SerialPort +namespace WIDESEAWCS_Model.Models { [SugarTable("Dt_Tools", "宸ュ叿淇℃伅琛�"), MultiTenant] - public class Dt_Tools + public class Dt_Tools : BaseEntity { - [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] - public int ID { get; set; } - [SugarColumn(IsNullable = true, Length = 50)] - public string ToolName { get; set; } + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int ID { get; set; } + - [SugarColumn(IsNullable = true, Length = 50)] - - public float Specification { get; set; } + /// <summary> + /// 宸ュ叿鍚� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "宸ュ叿鍚嶇О")] + public string ToolName { get; set; } - [SugarColumn(IsNullable = true, Length = 50)] + /// <summary> + /// 宸ュ叿瑙勬牸 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "瑙勬牸")] + public string Specification { get; set; } - public string ToolUnit { get; set; } - - [SugarColumn(IsNullable = true, Length = 50)] - public string Toolremark { get; set; } + /// <summary> + /// 宸ュ叿鍗曚綅锛堜釜锛� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鍗曚綅")] + public string ToolUnit { get; set; } - [SugarColumn(IsNullable = true)] + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "澶囨敞")] + public string Toolremark { get; set; } - public DateTime Createtime { get; set; } - } + + } } -- Gitblit v1.9.3