|
|
@ -18,28 +18,6 @@ |
|
|
|
<Property Name="SysSource" Type="varchar" MaxLength="500" /> |
|
|
|
<Property Name="CreateTime" Type="datetime" /> |
|
|
|
</EntityType> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.Sheet1$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="Sheet1$"> |
|
|
|
<Property Name="PartCode" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="Desc1" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="Desc2" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="Um" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="ProdLine" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="PartType" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="Group" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="Qgrade" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="InventoryCode" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="ManageType" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="InspectType" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="IsDeleted" Type="nvarchar" MaxLength="255" /> |
|
|
|
</EntityType>--> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.Sheet2$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="Sheet2$"> |
|
|
|
<Property Name="ParentPart" Type="nvarchar" MaxLength="255" /> |
|
|
|
<Property Name="ComponentPart" Type="nvarchar" MaxLength="255" /> |
|
|
|
</EntityType>--> |
|
|
|
<EntityType Name="T_PaintInfo"> |
|
|
|
<Key> |
|
|
|
<PropertyRef Name="ID" /> |
|
|
@ -490,7 +468,7 @@ |
|
|
|
<Key> |
|
|
|
<PropertyRef Name="OneBarCode" /> |
|
|
|
</Key> |
|
|
|
<Property Name="OneBarCode" Type="varchar" MaxLength="20" Nullable="false" /> |
|
|
|
<Property Name="OneBarCode" Type="varchar" MaxLength="50" Nullable="false" /> |
|
|
|
<Property Name="AddTime" Type="datetime" /> |
|
|
|
</EntityType> |
|
|
|
<EntityType Name="tb_BillNo"> |
|
|
@ -862,31 +840,6 @@ |
|
|
|
<Property Name="FinishProductName" Type="nvarchar" MaxLength="500" /> |
|
|
|
<Property Name="Des" Type="nchar" MaxLength="10" /> |
|
|
|
</EntityType> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.tb_GetNewTasks”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="tb_GetNewTasks"> |
|
|
|
<Property Name="TaskState" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="TaskID" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="TableName" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="TableName2" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="TableName3" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="Creator" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="DataCount" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="Subscriber" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="FailedCount" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="FailedInfo" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="Domain" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="Site" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="GUID" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="UID" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="CreateUser" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="CreateTime" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="Remark" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="UpdateUser" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="UpdateTime" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="IsChecked" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="InsertTime" Type="datetime" /> |
|
|
|
</EntityType>--> |
|
|
|
<EntityType Name="tb_ImgVideo"> |
|
|
|
<Key> |
|
|
|
<PropertyRef Name="ID" /> |
|
|
@ -916,6 +869,12 @@ |
|
|
|
<Property Name="IsFlag" Type="int" /> |
|
|
|
<Property Name="CreateTime" Type="datetime" /> |
|
|
|
<Property Name="BoxType" Type="int" /> |
|
|
|
<Property Name="StationNo" Type="varchar" MaxLength="50" /> |
|
|
|
<Property Name="PartName" Type="nvarchar" MaxLength="64" /> |
|
|
|
<Property Name="StandardQty" Type="int" /> |
|
|
|
<Property Name="Mould" Type="int" /> |
|
|
|
<Property Name="IsPrint" Type="int" /> |
|
|
|
<Property Name="PrintTime" Type="datetime" /> |
|
|
|
</EntityType> |
|
|
|
<EntityType Name="tb_Injection_DownRecord"> |
|
|
|
<Key> |
|
|
@ -1430,21 +1389,6 @@ |
|
|
|
<Property Name="IsPaint" Type="int" /> |
|
|
|
<Property Name="ColorName" Type="nvarchar" MaxLength="50" /> |
|
|
|
</EntityType> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.tb_PaintLoad”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="tb_PaintLoad"> |
|
|
|
<Property Name="ID" Type="varchar" MaxLength="50" /> |
|
|
|
<Property Name="barcode" Type="varchar" MaxLength="50" /> |
|
|
|
<Property Name="ColorName" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="CreateTime" Type="datetime" /> |
|
|
|
</EntityType>--> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.tb_PaintStockIn_Report”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="tb_PaintStockIn_Report"> |
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="ProductInfo" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="CreateTime" Type="datetime" /> |
|
|
|
</EntityType>--> |
|
|
|
<EntityType Name="tb_PartNoAndColor"> |
|
|
|
<Key> |
|
|
|
<PropertyRef Name="ID" /> |
|
|
@ -1569,6 +1513,7 @@ |
|
|
|
<Property Name="ProgramNo" Type="int" /> |
|
|
|
<Property Name="Side" Type="int" /> |
|
|
|
<Property Name="IsSend" Type="int" /> |
|
|
|
<Property Name="PackCountSize" Type="varchar" MaxLength="100" /> |
|
|
|
</EntityType> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.tb_Product_20200728”未定义主键。已推断出该键,并将定义创建为只读的表/视图。--> |
|
|
@ -2295,77 +2240,6 @@ |
|
|
|
<Property Name="Site" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="InsertTime" Type="datetime" /> |
|
|
|
</EntityType> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.TES_PART_DET”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="TES_PART_DET"> |
|
|
|
<Property Name="GUID" Type="uniqueidentifier" /> |
|
|
|
<Property Name="PartCode" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="Site" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="AbcClass" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="LotControl" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="Location" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="LocationType" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="AutoMaticLotNumbers" Type="bit" /> |
|
|
|
<Property Name="AverageInterval" Type="int" /> |
|
|
|
<Property Name="CycleCountInterval" Type="int" /> |
|
|
|
<Property Name="ShelfLife" Type="int" /> |
|
|
|
<Property Name="KeyPart" Type="bit" /> |
|
|
|
<Property Name="PoReceiptStatus" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="RctPoActive" Type="bit" /> |
|
|
|
<Property Name="WoReceiptStatus" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="RctWoActive" Type="bit" /> |
|
|
|
<Property Name="MemoOrderType" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="MasterSchedule" Type="bit" /> |
|
|
|
<Property Name="PlanOrders" Type="bit" /> |
|
|
|
<Property Name="TimeFence" Type="int" /> |
|
|
|
<Property Name="OrderPolicy" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="OrderQuantity" Type="decimal" Precision="18" Scale="5" /> |
|
|
|
<Property Name="OrderPeriod" Type="int" /> |
|
|
|
<Property Name="SafetyStock" Type="decimal" Precision="18" Scale="5" /> |
|
|
|
<Property Name="SafetyTime" Type="decimal" Precision="18" Scale="5" /> |
|
|
|
<Property Name="ReorderPoint" Type="decimal" Precision="18" Scale="5" /> |
|
|
|
<Property Name="PlanningRev" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="IssuePolicy" Type="bit" /> |
|
|
|
<Property Name="BuyerPlanner" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="Supplier" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="PoSite" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="PurMfg" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="ConfigurationType" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="InspectionLocation" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="InspectionRequired" Type="bit" /> |
|
|
|
<Property Name="InspectionLeadTime" Type="int" /> |
|
|
|
<Property Name="CumulativeLeadTime" Type="int" /> |
|
|
|
<Property Name="ManufacturingLedaTime" Type="int" /> |
|
|
|
<Property Name="PurchaseLeadTime" Type="int" /> |
|
|
|
<Property Name="AtpEnforcementLevel" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="FamilyATP" Type="bit" /> |
|
|
|
<Property Name="AtpHorizon" Type="int" /> |
|
|
|
<Property Name="RunSeq1" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="RunSeq2" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="Phantom" Type="bit" /> |
|
|
|
<Property Name="MinimumOrder" Type="decimal" Precision="18" Scale="0" /> |
|
|
|
<Property Name="MaximumOrder" Type="decimal" Precision="18" Scale="0" /> |
|
|
|
<Property Name="OrderMultiple" Type="decimal" Precision="18" Scale="0" /> |
|
|
|
<Property Name="OperationBasedYield" Type="bit" /> |
|
|
|
<Property Name="YieldPercent" Type="decimal" Precision="18" Scale="0" /> |
|
|
|
<Property Name="RunTime" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="SetupTime" Type="decimal" Precision="18" Scale="0" /> |
|
|
|
<Property Name="EmtType" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="AutomaticEmtProcessing" Type="bit" /> |
|
|
|
<Property Name="NetWorkCode" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="RoutingCode" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="BomFormulaCode" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="ReplenishmentMethod" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="UID" Type="int" /> |
|
|
|
<Property Name="CreateUser" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="CreateTime" Type="datetime" /> |
|
|
|
<Property Name="Remark" Type="nvarchar" MaxLength="500" /> |
|
|
|
<Property Name="TaskID" Type="uniqueidentifier" /> |
|
|
|
<Property Name="CommandType" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="DataID" Type="uniqueidentifier" /> |
|
|
|
<Property Name="Domain" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="InsertTime" Type="datetime" /> |
|
|
|
</EntityType>--> |
|
|
|
<EntityType Name="TES_PART_MSTR"> |
|
|
|
<Key> |
|
|
|
<PropertyRef Name="GUID" /> |
|
|
@ -2420,49 +2294,6 @@ |
|
|
|
<Property Name="ProductCount" Type="int" /> |
|
|
|
</EntityType> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.v_Code”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="v_Code"> |
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" /> |
|
|
|
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="BarCode" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="20" /> |
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="PrintType" Type="int" /> |
|
|
|
<Property Name="CreateTime" Type="datetime" /> |
|
|
|
<Property Name="IsDel" Type="int" /> |
|
|
|
<Property Name="PlanID" Type="char" MaxLength="36" /> |
|
|
|
<Property Name="Weight" Type="decimal" Precision="18" Scale="2" /> |
|
|
|
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" /> |
|
|
|
</EntityType>--> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.v_Schedules”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="v_Schedules"> |
|
|
|
<Property Name="Code" Type="nvarchar" MaxLength="101" /> |
|
|
|
<Property Name="Quantity" Type="int" /> |
|
|
|
<Property Name="MaterialCode" Type="nvarchar" MaxLength="1000" /> |
|
|
|
<Property Name="InjectorCode" Type="nvarchar" MaxLength="50" /> |
|
|
|
</EntityType>--> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.v_ZPPlan”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="v_ZPPlan"> |
|
|
|
<Property Name="ProductID1" Type="char" MaxLength="36" /> |
|
|
|
<Property Name="StationID" Type="char" MaxLength="36" /> |
|
|
|
<Property Name="PartNo" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="OrderNo" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="Item" Type="int" /> |
|
|
|
<Property Name="OrderCount" Type="int" /> |
|
|
|
<Property Name="ProductCount" Type="int" /> |
|
|
|
<Property Name="IsFinish" Type="int" /> |
|
|
|
<Property Name="ID" Type="char" MaxLength="36" /> |
|
|
|
<Property Name="StockNo" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="ProductName" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="OrderDate" Type="date" /> |
|
|
|
<Property Name="BadCount" Type="int" /> |
|
|
|
<Property Name="CreateTime" Type="datetime" /> |
|
|
|
<Property Name="StationNo" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="IsHigh" Type="varchar" MaxLength="255" /> |
|
|
|
</EntityType>--> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6002: 表/视图“BBMPT1.dbo.View_1”未定义主键。已推断出该键,并将定义创建为只读的表/视图。--> |
|
|
|
<EntityType Name="View_1"> |
|
|
|
<Key> |
|
|
@ -2475,29 +2306,6 @@ |
|
|
|
<Property Name="Time1" Type="datetime" /> |
|
|
|
<Property Name="Time2" Type="datetime" /> |
|
|
|
</EntityType> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.View_backup”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="View_backup"> |
|
|
|
<Property Name="barcode" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="productInfo" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="pass" Type="char" MaxLength="1" /> |
|
|
|
<Property Name="createTime" Type="datetime" /> |
|
|
|
</EntityType>--> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.View_InspectFinal”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="View_InspectFinal"> |
|
|
|
<Property Name="barcode" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="productInfo" Type="nvarchar" MaxLength="100" /> |
|
|
|
<Property Name="createTime" Type="datetime" /> |
|
|
|
</EntityType>--> |
|
|
|
<!--生成过程中发现错误: |
|
|
|
警告 6013: 表/视图“BBMPT1.dbo.View_StockIn”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。 |
|
|
|
<EntityType Name="View_StockIn"> |
|
|
|
<Property Name="barcode" Type="nvarchar" MaxLength="50" /> |
|
|
|
<Property Name="pass" Type="char" MaxLength="1" /> |
|
|
|
<Property Name="createTime" Type="datetime" /> |
|
|
|
<Property Name="productInfo" Type="nvarchar" MaxLength="100" /> |
|
|
|
</EntityType>--> |
|
|
|
<Association Name="FK_T_SYS_RO_REFERENCE_T_SYS_PO"> |
|
|
|
<End Role="T_Sys_Power" Type="Self.T_Sys_Power" Multiplicity="1" /> |
|
|
|
<End Role="T_Sys_RoleLinkPower" Type="Self.T_Sys_RoleLinkPower" Multiplicity="*" /> |
|
|
|