From 18a8fab394f764e5b30c48c8e0d6887ef7d44cbf Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 29 十月 2024 14:22:49 +0800 Subject: [PATCH] 取消拆单 --- CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs b/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs index b51f287..49aab78 100644 --- a/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs +++ b/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; +using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -15,7 +16,7 @@ /// </summary> [Display(Name = "鎺ㄥ箍鍗氫富淇℃伅")] [SugarTable( TableDescription = "鎺ㄥ箍鍗氫富")] - [SqlCodeFirst] + //[SqlCodeFirst] public partial class bloggersInfo: BFBaseModel { /// <summary> @@ -34,7 +35,7 @@ /// 濮撳悕 /// </summary> [Display(Name = "濮撳悕")] - [SugarColumn(ColumnDescription = "濮撳悕", Length = 100)] + [SugarColumn(ColumnDescription = "濮撳悕", Length = 100, IsNullable = true)] public string name { get; set; } /// <summary> @@ -47,33 +48,33 @@ /// 鐢佃瘽鍙风爜 /// </summary> [Display(Name = "鐢佃瘽鍙风爜")] - [SugarColumn(ColumnDescription = "鐢佃瘽鍙风爜", Length = 100)] + [SugarColumn(ColumnDescription = "鐢佃瘽鍙风爜", Length = 100, IsNullable = true)] public string phone { get; set; } /// <summary> /// 绮変笣鏁伴噺 /// </summary> [Display(Name = "绮変笣鏁伴噺")] - [SugarColumn(ColumnDescription = "绮変笣鏁伴噺")] - public int followersCount { get; set; } + [SugarColumn(ColumnDescription = "绮変笣鏁伴噺",SqlParameterDbType = "decimal(12,4)",DefaultValue ="0.00")] + public decimal followersCount { get; set; } /// <summary> /// 寰俊鍙� /// </summary> [Display(Name = "寰俊鍙�")] - [SugarColumn(ColumnDescription = "寰俊鍙�", Length = 100)] + [SugarColumn(ColumnDescription = "寰俊鍙�", Length = 100, IsNullable = true)] public string weiXin { get; set; } /// <summary> /// 琛屾斂鍖哄煙 /// </summary> [Display(Name = "琛屾斂鍖哄煙")] - [SugarColumn(ColumnDescription = "琛屾斂鍖哄煙锛岀敤锛屽彿鍒嗗壊", Length = 100)] + [SugarColumn(ColumnDescription = "琛屾斂鍖哄煙锛岀敤锛屽彿鍒嗗壊", Length = 100, IsNullable = true)] public string areaCode { get; set; } /// <summary> /// 璇︾粏鍦板潃 /// </summary> [Display(Name = "璇︾粏鍦板潃")] - [SugarColumn(ColumnDescription = "璇︾粏鍦板潃")] + [SugarColumn(ColumnDescription = "璇︾粏鍦板潃", IsNullable = true)] public string address { get; set; } /// <summary> /// 鎺ㄥ箍璐圭敤 @@ -93,7 +94,7 @@ /// 杩愯惀缁忕悊 /// </summary> [Display(Name = "杩愯惀缁忕悊")] - [SugarColumn(ColumnDescription = "杩愯惀缁忕悊")] + [SugarColumn(ColumnDescription = "杩愯惀缁忕悊", IsNullable = true)] public string mangerName { get; set; } /// <summary> -- Gitblit v1.9.1