From 5d6cb15ac86d9174393cb9d1538d69b567e2c26c Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期四, 09 五月 2024 08:56:50 +0800
Subject: [PATCH] 修改货品编辑bug
---
CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs | 24 ++++++++++++++++--------
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs b/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs
index cd998d5..107dc88 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;
@@ -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