From f7f968bf90a2124d1787919b116bb143290622ce Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期三, 08 五月 2024 11:25:50 +0800
Subject: [PATCH] 增加货品管理页面,增加ip地址获取APi 修改发票列表宽度
---
CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs b/CoreCms.Net.Model/Entities/baifenbingfa/Promote/bloggers.cs
index b51f287..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,7 @@
/// 杩愯惀缁忕悊
/// </summary>
[Display(Name = "杩愯惀缁忕悊")]
- [SugarColumn(ColumnDescription = "杩愯惀缁忕悊")]
+ [SugarColumn(ColumnDescription = "杩愯惀缁忕悊", IsNullable = true)]
public string mangerName { get; set; }
/// <summary>
--
Gitblit v1.9.1