From 863a2010a80d75bcab37c00b38d0311faaf70026 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Mon, 15 Apr 2024 14:44:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BasePoco?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Model/Base/BasePoco.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tiobon.Core.Model/Base/BasePoco.cs b/Tiobon.Core.Model/Base/BasePoco.cs index db2a43e9..98883f0a 100644 --- a/Tiobon.Core.Model/Base/BasePoco.cs +++ b/Tiobon.Core.Model/Base/BasePoco.cs @@ -18,19 +18,19 @@ namespace Tiobon.Core.Model /// 序号 /// [Display(Name = "序号")] - public int SortNo { get; set; } + public int? SortNo { get; set; } = 0; /// /// 1:有效,0:未生效 /// [Display(Name = "1:有效,0:未生效")] - public int IsEnable { get; set; } + public int? IsEnable { get; set; } = 1; /// /// 是否默认 /// [Display(Name = "是否默认")] - public int IsDefault { get; set; } + public int? IsDefault { get; set; } = 0; /// /// 操作日志ID @@ -42,13 +42,13 @@ namespace Tiobon.Core.Model /// 创建人 /// [Display(Name = "创建人")] - public int CreateBy { get; set; } + public int? CreateBy { get; set; } /// /// 创建时间 /// [Display(Name = "创建时间")] - public DateTime CreateTime { get; set; } + public DateTime? CreateTime { get; set; } /// /// 创建程序