From 461ccbda1d9d3fef42f250771c2fd30702755c16 Mon Sep 17 00:00:00 2001 From: yanjinhui <3306209981@qq.com> Date: 星期四, 24 四月 2025 17:18:35 +0800 Subject: [PATCH] PLC --- 项目代码/WIDESEAWCS_Server 正式/WIDESEAWCS_Model/Models/SerialPort/Dt_ArticleInfom.cs | 32 +++++++++++++++++++++++++++----- 1 files changed, 27 insertions(+), 5 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_ArticleInfom.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_ArticleInfom.cs" index ecdee0d..e086bf8 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_ArticleInfom.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_ArticleInfom.cs" @@ -4,29 +4,51 @@ using System.Text; using System.Threading.Tasks; using SqlSugar; +using WIDESEAWCS_Core.DB.Models; using WIDESEAWCS_Core.Tenants; namespace WIDESEAWCS_Model.Models { - [SugarTable("Dt_ArticleInfom", "濂楃瓛淇℃伅琛�"), MultiTenant] - public class Dt_ArticleInfom + [SugarTable("Dt_ArticleInfom", "淇℃伅琛�"), MultiTenant] + public class Dt_ArticleInfom:BaseEntity { [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] public int ID { get; set; } - [SugarColumn(IsNullable = true, Length = 50)] + /// <summary> + /// 濂楃瓛鍚� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50,ColumnDescription ="濂楃瓛鍚�")] public string ArticleName { get; set; } + /// <summary> + /// 瑙勬牸鍨嬪彿 + /// </summary> [SugarColumn(IsNullable = true, Length = 50)] public string ArticleType { get; set; } + + + /// <summary> + /// 鍗曚綅锛堜釜锛� + /// </summary> [SugarColumn(IsNullable = true, Length = 50)] public string ArticleUnit { get; set; } + + + /// <summary> + /// 鎵�灞炲垎绫� + /// </summary> [SugarColumn(IsNullable = true, Length = 50)] public string Category { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> [SugarColumn(IsNullable = true, Length = 50)] public string Articleremark { get; set; } - [SugarColumn(IsNullable = true, Length = 50)] - public DateTime CreateDate { get; set; } + + + } } -- Gitblit v1.9.3