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_TorqueOp.cs | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 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_TorqueOp.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_TorqueOp.cs" index 076ed5e..1cd158f 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_TorqueOp.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_TorqueOp.cs" @@ -4,28 +4,29 @@ 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_Process", "姣忔鎵ц鎴愬姛瀛樺偍鐨勫��"), MultiTenant] - public class Dt_TorqueOp + [SugarTable("Dt_TorqueOp", "姣忔鎵ц鎴愬姛瀛樺偍鐨勫��"), MultiTenant] + public class Dt_TorqueOp { [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] public int ID { get; set; } - public string DeviceCode { get; set; } + public string DeviceCode { get; set; } - //[SugarColumn(IsNullable = true, Length = 50,ColumnName = "TakeId")] - public int TakeId { get; set; } + [SugarColumn(IsNullable = true, Length = 50)] + public string TakeId { get; set; } - //[SugarColumn(IsNullable = true, Length = 50, ColumnName = "GroupOp")] + [SugarColumn(IsNullable = true, Length = 50)] public string GroupOp { get; set; } - //[SugarColumn(IsNullable = true, Length = 50, ColumnName = "ProcessSte")] + [SugarColumn(IsNullable = true, Length = 50)] public int ProcessSte { get; set; } - //[SugarColumn(IsNullable = true, Length = 50, ColumnName = "TorqueSize")] + [SugarColumn(IsNullable = true, Length = 50)] public float TorqueSize { get; set; } -- Gitblit v1.9.3