| | |
| | | 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_detail), "BDCé
ç½®")] |
| | | public class Dt_BDCConfiguration_detail : 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> |
| | | [SugarColumn(ColumnName = "IsActive")] |
| | | public int IsActive { get; set; } = 1; |
| | | } |
| | | } |