From fc9cba5f058089887aa7061d2e6b4006b9e04a9a Mon Sep 17 00:00:00 2001
From: 陈勇 <竞男@ASUNA>
Date: 星期二, 10 三月 2026 09:46:43 +0800
Subject: [PATCH] 同步
---
项目代码/WMS/WMSServer/WIDESEA_Model/Models/BasicInfo/Dt_BDCConfiguration.cs | 36 +++++++++++++++++-------------------
1 files changed, 17 insertions(+), 19 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_Model/Models/BasicInfo/Dt_BDCConfiguration.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_Model/Models/BasicInfo/Dt_BDCConfiguration.cs"
index 5c5188d..b948fe3 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_Model/Models/BasicInfo/Dt_BDCConfiguration.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_Model/Models/BasicInfo/Dt_BDCConfiguration.cs"
@@ -5,63 +5,61 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
+using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
/// <summary>
- /// BDC缂撳瓨閰嶇疆锛屽瓨鍌ㄥ悇绫荤墿鏂欑殑鏈�澶х紦瀛樻暟閲忛檺鍒�
+ /// BDC缂撳瓨閰嶇疆
/// </summary>
- [SugarTable(nameof(Dt_BDCConfiguration), "BDC缂撳瓨閰嶇疆")]
- public class Dt_BDCConfiguration
+ [SugarTable(nameof(Dt_BDCConfiguration), "BDC閰嶇疆")]
+ public class Dt_BDCConfiguration : BaseEntity
{
- [Key]
+ [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
+
+ //[SugarColumn(ColumnName = "Name")]
+ //public int Con_Id { get; set; }
/// <summary>
/// 閰嶇疆鍚嶇О
/// </summary>
- [Required]
- [MaxLength(100)]
- public string Name { get; set; } = "Default Configuration";
+ [SugarColumn(ColumnName = "Name")]
+ public string Name { get; set; } = "榛樿閰嶇疆";
/// <summary>
/// 鐧借溅韬渶澶х紦瀛樻暟
/// </summary>
+ [SugarColumn(ColumnName = "MaxWhiteBodyCache")]
[Range(0, int.MaxValue)]
+
public int MaxWhiteBodyCache { get; set; } = 100;
/// <summary>
/// 褰╄溅韬渶澶х紦瀛樻暟
/// </summary>
+ [SugarColumn(ColumnName = "MaxPaintedBodyCache")]
[Range(0, int.MaxValue)]
public int MaxPaintedBodyCache { get; set; } = 100;
/// <summary>
/// 鐢垫睜澹虫渶澶х紦瀛樻暟
/// </summary>
+ [SugarColumn(ColumnName = "MaxBatteryCaseCache")]
[Range(0, int.MaxValue)]
public int MaxBatteryCaseCache { get; set; } = 50;
/// <summary>
/// 绌烘粦姗囨渶澶х紦瀛樻暟
/// </summary>
+ [SugarColumn(ColumnName = "MaxEmptySledCache")]
[Range(0, int.MaxValue)]
public int MaxEmptySledCache { get; set; } = 30;
/// <summary>
- /// 鏈�鍚庢洿鏂版椂闂�
- /// </summary>
- public DateTime LastUpdatedTime { get; set; } = DateTime.Now;
-
- /// <summary>
- /// 鏇存柊浜�
- /// </summary>
- [MaxLength(50)]
- public string UpdatedBy { get; set; } = "System";
-
- /// <summary>
/// 鏄惁鍚敤
/// </summary>
- public int IsActive { get; set; }
+ [SugarColumn(ColumnName = "IsActive")]
+ public int IsActive { get; set; } = 1;
}
}
--
Gitblit v1.9.3