From 0a430c14f3e3ceb4ba63462c4f2c92768fc79e87 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期三, 12 三月 2025 19:04:26 +0800 Subject: [PATCH] 美型 --- 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Model/Models/SerialPort/Dt_Tools.cs | 37 +++++++++++++++++-------------------- 1 files changed, 17 insertions(+), 20 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..42ef9c1 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,32 @@ 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; } + + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int ID { get; set; } - [SugarColumn(IsNullable = true, Length = 50)] + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "宸ュ叿鍚嶇О")] + public string ToolName { get; set; } - public float Specification { get; set; } + [SugarColumn(IsNullable = true, ColumnDescription = "瑙勬牸")] + public float Specification { get; set; } + + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鍗曚綅")] + public string ToolUnit { get; set; } + + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "澶囨敞")] + public string Toolremark { get; set; } - [SugarColumn(IsNullable = true, Length = 50)] - - public string ToolUnit { get; set; } - - [SugarColumn(IsNullable = true, Length = 50)] - public string Toolremark { get; set; } - - - [SugarColumn(IsNullable = true)] - - public DateTime Createtime { get; set; } - } + } } -- Gitblit v1.9.3