From a5851a4e906725b868bcfdaa8c59249523137586 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 29 十月 2024 14:03:47 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/baifenbaishop --- CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs b/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs index 30d8205..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> @@ -53,8 +54,8 @@ /// 绮変笣鏁伴噺 /// </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> /// 寰俊鍙� -- Gitblit v1.9.1