| | |
| | | using System; |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.Numeric; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.Numeric; |
| | | using SqlSugar; |
| | | using WIDESEAWCS_Core.DB.Models; |
| | | |
| | | using Magicodes.IE.Core; |
| | | namespace WIDESEAWCS_Model.Models |
| | | { |
| | | [SugarTable(nameof(Dt_Formula), "é
æ¹ä¿¡æ¯è¡¨")] |
| | |
| | | /// <summary> |
| | | /// ä¸»é® |
| | | /// </summary> |
| | | /// |
| | | [ImporterHeader(IsIgnore = true)] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "主é®")] |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåç¼å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æåç¼å·")] |
| | | /// |
| | | [ImporterHeader(Name = "æåç¼å·")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "æåç¼å·")] |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "æåç¼å·")] |
| | | public string ProductCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æååç§° |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æååç§°")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "æååç§°")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æååç§°")] |
| | | public string ProductName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè£
ä½äº§åé¿åº¦ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "产åé¿åº¦")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "产åé¿åº¦")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "åè£
ä½äº§åé¿åº¦")] |
| | | public decimal? ProductLength { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè£
ä½äº§å宽度 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "产å宽度")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "产å宽度")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "åè£
ä½äº§å宽度")] |
| | | public decimal? ProductWidth { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè£
ä½äº§åé«åº¦ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "产åé«åº¦")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "产åé«åº¦")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "åè£
ä½äº§åé«åº¦")] |
| | | public decimal? ProductHeight { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè£
ä½ä¸æ§ç´§ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "䏿§ç´§")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "䏿§ç´§")] |
| | | [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "åè£
ä½ä¸æ§ç´§")] |
| | | public int? PressNoTighten { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè£
使§ç´§ä¸éé«åº¦ |
| | | /// åè£
ä½ä¸æµåºæ¿ |
| | | /// 0-æ£æµ 1-䏿£æµ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "åè£
使§ç´§ä¸éé«åº¦")] |
| | | [ImporterHeader(Name = "䏿µåºæ¿")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "䏿µåºæ¿")] |
| | | [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "åè£
ä½ä¸æµåºæ¿")] |
| | | public int? PressNoCheckBottomPlate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿ååå |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ä¿ååå")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "ä¿ååå")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "ä¿ååå")] |
| | | public decimal? ScrewDownsetDistance { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè£
使§ç´§æå |
| | | /// ä¸å¿é«åº¦ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "åè£
使§ç´§æå")] |
| | | [ImporterHeader(Name = "ä¸å¿é«åº¦")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "ä¸å¿é«åº¦")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "ä¸å¿é«åº¦")] |
| | | public decimal? ScrewTorqueOutput { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè£
ä½èªå¨æ§ç´§ç¨åºå· |
| | | /// </summary> |
| | | [ImporterHeader(Name = "èªå¨æ§ç´§ç¨åºå·")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "èªå¨æ§ç´§ç¨åºå·")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "åè£
ä½èªå¨æ§ç´§ç¨åºå·")] |
| | | public int? DintAutoScrewOn { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè£
ä½ç´§åºæç© |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç´§åºæç©")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "ç´§åºæç©")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "åè£
ä½ç´§åºæç©", DefaultValue = "0.00")] |
| | | public decimal? PressFastenTorque { get; set; } |
| | | |
| | | /// <summary> |
| | | /// P0P1宽度 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "P0P1宽度")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "P0P1宽度")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "P0P1宽度")] |
| | | public decimal? P0P1Width { get; set; } |
| | | |
| | | /// <summary> |
| | | /// P0P2宽度 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "P0P2宽度")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "P0P2宽度")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "P0P2宽度")] |
| | | public decimal? P0P2Width { get; set; } |
| | | |
| | | /// <summary> |
| | | /// P0P3宽度 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "P0P3宽度")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "P0P3宽度")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "P0P3宽度")] |
| | | public decimal? P0P3Width { get; set; } |
| | | |
| | | /// <summary> |
| | | /// P1P3é«åº¦ |
| | | /// å«çé«åº¦ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "P1P3é«åº¦")] |
| | | public decimal? P1P3Height { get; set; } |
| | | [ImporterHeader(Name = "å«çé«åº¦")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "å«çé«åº¦")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "å«çé«åº¦")] |
| | | public decimal? GasketHeight { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// P2P3é«åº¦ |
| | | /// åè£
ååå·®å¼ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "P2P3é«åº¦")] |
| | | public decimal? P2P3Height { get; set; } |
| | | [ImporterHeader(Name = "ååå·®å¼")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "ååå·®å¼")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "åè£
ååå·®å¼")] |
| | | public decimal? PressPressureDiff { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产åå¾çè·¯å¾ |
| | | /// åè£
æåå·®å¼ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "产åå¾çè·¯å¾")] |
| | | public string ProductImagePath { get; set; } |
| | | [ImporterHeader(Name = "æåå·®å¼")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "æåå·®å¼")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "åè£
æåå·®å¼")] |
| | | public decimal? PressTorqueDiff { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ£æµé«åº¦å·®å¼ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "é«åº¦å·®å¼")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "é«åº¦å·®å¼")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "æ£æµé«åº¦å·®å¼")] |
| | | public decimal? DetectHeightDiff { get; set; } |
| | | |
| | | /// <summary> |
| | | /// èºçº¹ä½ç½®å·®å¼ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "èºçº¹å·®å¼")] |
| | | [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "èºçº¹å·®å¼")] |
| | | [SugarColumn(IsNullable = true, DecimalDigits = 2, ColumnDescription = "èºçº¹ä½ç½®å·®å¼")] |
| | | public decimal? ScrewPositionDiff { get; set; } |
| | | |
| | | [SugarColumn(IsIgnore = true)]//ä¸å䏿°æ®åºæ å°ï¼æµè¯ä½¿ç¨ |
| | | [Navigate(NavigateType.OneToMany, nameof(Dt_FormulaDetail.FormulaId), nameof(Id))] |
| | | public List<Dt_FormulaDetail> Details { get; set; } |
| | | |
| | | } |
| | | } |