From 557c2711a3e103ebc3d0492344eca9730d5e92b2 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期一, 17 二月 2025 10:47:47 +0800 Subject: [PATCH] 增加司机配送单超时处理任务,防止一直不停手机定位信息, --- CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs b/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs index cd998d5..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,14 @@ /// 杩愯惀缁忕悊 /// </summary> [Display(Name = "杩愯惀缁忕悊")] - [SugarColumn(ColumnDescription = "杩愯惀缁忕悊")] + [SugarColumn(ColumnDescription = "杩愯惀缁忕悊", IsNullable = true)] public string mangerName { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [Display(Name = "澶囨敞")] + [SugarColumn(ColumnDescription = "澶囨敞",IsNullable =true)] + public string reMaker { get; set; } } } -- Gitblit v1.9.1