From 4f0567c2e02d1bbdfe497dad9b948d3ecf4d3c3a Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期三, 26 七月 2023 16:03:13 +0800
Subject: [PATCH] 增加配置文件,增加数据库codefirst

---
 DocumentServiceAPI.Model/JobInfo.cs |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/DocumentServiceAPI.Model/JobInfo.cs b/DocumentServiceAPI.Model/JobInfo.cs
new file mode 100644
index 0000000..0771383
--- /dev/null
+++ b/DocumentServiceAPI.Model/JobInfo.cs
@@ -0,0 +1,40 @@
+锘縰sing DocumentServiceAPI.Enum;
+using SqlSugar;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DocumentServiceAPI.Model
+{
+    /// <summary>
+    /// 宀椾綅琛�
+    /// </summary>
+    [SugarTable(TableDescription = "宀椾綅鍜孶ser 涓棿琛�")]
+    public class JobInfo: BaseModel
+    {
+        /// <summary>
+        /// ID
+        /// </summary>
+        [Display(Name = "ID ")]
+        [SugarColumn(ColumnDescription = "ID ",IsPrimaryKey =true,IsIdentity =true)]
+        public int ID { get; set; }
+
+        /// <summary>
+        /// 鑱屼綅鍚嶇О
+        /// </summary>
+        [Display(Name = "鑱屼綅鍚嶇О ")]
+        [SugarColumn(ColumnDescription = "鑱屼綅鍚嶇О ")]
+        public string JobName { get; set; }
+
+
+        /// <summary>
+        /// 鍏徃鍚嶇О
+        /// </summary>
+        [Display(Name = "鍏徃鍚嶇О ")]
+        [SugarColumn(ColumnDescription = "鍏徃鍚嶇О ")]
+        public int  UntilID { get; set; }
+    }
+}

--
Gitblit v1.9.1