From 52ed22fbccb23e1ffe7a8f179eb753947300ed8e Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期二, 25 六月 2024 09:05:19 +0800
Subject: [PATCH] 仓储管理 增加类型筛选
---
CoreCms.Net.Model/Entities/User/CoreCmsUser.cs | 35 +++++++++++++++++++++++++++++------
1 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/User/CoreCmsUser.cs b/CoreCms.Net.Model/Entities/User/CoreCmsUser.cs
index 1189d99..0aaab12 100644
--- a/CoreCms.Net.Model/Entities/User/CoreCmsUser.cs
+++ b/CoreCms.Net.Model/Entities/User/CoreCmsUser.cs
@@ -1,12 +1,13 @@
/***********************************************************************
- * Project: CoreCms
- * ProjectName: 鏍稿績鍐呭绠$悊绯荤粺
- * Web: https://www.corecms.net
- * Author: 澶х伆鐏�
- * Email: jianweie@163.com
+ * Project: baifenBinfa
+ * ProjectName: 鐧惧垎鍏垫硶绠$悊绯荤粺
+ * Web: http://chuanyin.com
+ * Author:
+ * Email: 34161541@qq.com
* CreateTime: 2021-06-08 22:14:59
* Description: 鏆傛棤
-***********************************************************************/
+***********************************************************************/
+using Chuanyin.Attribute;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
@@ -16,6 +17,7 @@
/// 鐢ㄦ埛琛�
/// </summary>
[SugarTable("CoreCmsUser",TableDescription = "鐢ㄦ埛琛�")]
+ //[SqlCodeFirst]
public partial class CoreCmsUser
{
/// <summary>
@@ -135,6 +137,15 @@
[SugarColumn(ColumnDescription = "鍏宠仈涓夋柟璐︽埛")]
[Required(ErrorMessage = "璇疯緭鍏0}")]
public System.Int32 userWx { get; set; }
+
+
+ /// <summary>
+ /// 鏄惁鏄帹骞夸汉鍛�
+ /// </summary>
+ [Display(Name = "鏄惁鏄帹骞夸汉鍛�")]
+ [SugarColumn(ColumnDescription = "鏄惁鏄帹骞夸汉鍛�",IsNullable =true)]
+ [Required(ErrorMessage = "璇疯緭鍏0}")]
+ public bool? IsBaifenPromotion { get; set; }
/// <summary>
/// 鍒犻櫎鏍囧織 鏈夋暟鎹氨鏄垹闄�
/// </summary>
@@ -142,5 +153,17 @@
[SugarColumn(ColumnDescription = "鍒犻櫎鏍囧織 鏈夋暟鎹氨鏄垹闄�")]
[Required(ErrorMessage = "璇疯緭鍏0}")]
public System.Boolean isDelete { get; set; }
+
+
+ /// <summary>
+ /// 鏄惁鏄鍒掕鍗曠敤鎴� ALTER TABLE [CoreCmsUser] ADD [isplanorder] [nvarchar](255) NULL;
+ /// </summary>
+ [Display(Name = "璁″垝璁㈠崟id")]
+
+
+ [StringLength(maximumLength: 255, ErrorMessage = "{0}涓嶈兘瓒呰繃{1}瀛�")]
+ [SugarColumn(IsNullable = true)]
+
+ public System.String isplanorder { get; set; }
}
}
\ No newline at end of file
--
Gitblit v1.9.1