一厂MES,含注塑,喷涂,冲孔
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1683 lines
87 KiB

3 months ago
<?xml version="1.0" encoding="utf-8"?>
<Schema Namespace="BBMPT1Model.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2008" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
<!--生成过程中发现错误:
警告 6013: 表/视图“BBMPT1.dbo.'2F2$'”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="'2F2$'">
<Property Name="F1" Type="nvarchar" MaxLength="255" />
<Property Name="F2" Type="float" />
<Property Name="F3" Type="nvarchar" MaxLength="255" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6013: 表/视图“BBMPT1.dbo.'2F3$'”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="'2F3$'">
<Property Name="F1" Type="nvarchar" MaxLength="255" />
<Property Name="F2" Type="nvarchar" MaxLength="255" />
<Property Name="F3" Type="float" />
</EntityType>-->
<EntityType Name="LogErr">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ErrContent" Type="text" />
<Property Name="ErrSource" Type="varchar" MaxLength="200" />
<Property Name="ErrTime" Type="datetime" />
</EntityType>
<EntityType Name="LogSys">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="SysContent" Type="text" />
<Property Name="SysSource" Type="varchar" MaxLength="500" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6013: 表/视图“BBMPT1.dbo.Sheet1$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="Sheet1$">
<Property Name="F1" Type="nvarchar" MaxLength="255" />
<Property Name="F2" Type="nvarchar" MaxLength="255" />
<Property Name="F3" Type="nvarchar" MaxLength="255" />
<Property Name="F4" Type="nvarchar" MaxLength="255" />
<Property Name="F5" Type="nvarchar" MaxLength="255" />
<Property Name="F6" Type="nvarchar" MaxLength="255" />
<Property Name="F7" Type="nvarchar" MaxLength="255" />
<Property Name="F8" Type="nvarchar" MaxLength="255" />
<Property Name="F9" Type="nvarchar" MaxLength="255" />
<Property Name="F10" Type="nvarchar" MaxLength="255" />
<Property Name="F11" Type="nvarchar" MaxLength="255" />
<Property Name="F12" Type="nvarchar" MaxLength="255" />
<Property Name="F13" Type="nvarchar" MaxLength="255" />
<Property Name="F14" Type="nvarchar" MaxLength="255" />
<Property Name="F15" Type="nvarchar" MaxLength="255" />
<Property Name="F16" Type="nvarchar" MaxLength="255" />
<Property Name="F17" Type="nvarchar" MaxLength="255" />
<Property Name="F18" Type="nvarchar" MaxLength="255" />
<Property Name="F19" Type="nvarchar" MaxLength="255" />
<Property Name="F20" Type="nvarchar" MaxLength="255" />
<Property Name="F21" Type="nvarchar" MaxLength="255" />
<Property Name="F22" Type="nvarchar" MaxLength="255" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6013: 表/视图“BBMPT1.dbo.Sheet2$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="Sheet2$">
<Property Name="F1" Type="nvarchar" MaxLength="255" />
<Property Name="F2" Type="nvarchar" MaxLength="255" />
<Property Name="F3" Type="nvarchar" MaxLength="255" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6013: 表/视图“BBMPT1.dbo.Sheet3$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="Sheet3$">
<Property Name="F1" Type="nvarchar" MaxLength="255" />
<Property Name="F2" Type="nvarchar" MaxLength="255" />
<Property Name="F3" Type="nvarchar" MaxLength="255" />
</EntityType>-->
<!--生成过程中发现错误:
警告 6013: 表/视图“BBMPT1.dbo.Sheet4$”未定义主键,并且无法推断有效的主键。已排除了此表/视图。若要使用实体,将需要检查您的架构、添加正确的键并取消对实体的注释。
<EntityType Name="Sheet4$">
<Property Name="F1" Type="nvarchar" MaxLength="255" />
<Property Name="F2" Type="nvarchar" MaxLength="255" />
<Property Name="F3" Type="float" />
</EntityType>-->
<EntityType Name="T_PaintInfo">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="PaintCode" Type="nvarchar(max)" />
<Property Name="PaintName" Type="nvarchar(max)" />
<Property Name="PaintModel" Type="nvarchar(max)" />
<Property Name="UnitCode" Type="nvarchar(max)" />
<Property Name="CarModelCode" Type="nvarchar(max)" />
<Property Name="IsUsing" Type="int" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="T_Sys_Buttons">
<Key>
<PropertyRef Name="BtnID" />
</Key>
<Property Name="BtnID" Type="uniqueidentifier" Nullable="false" />
<Property Name="BtnName" Type="varchar" MaxLength="50" />
<Property Name="ItemPic" Type="varchar" MaxLength="300" />
<Property Name="PowerID" Type="uniqueidentifier" />
<Property Name="MenuID" Type="uniqueidentifier" />
<Property Name="MenuName" Type="nvarchar" MaxLength="200" />
<Property Name="IsEnabled" Type="char" MaxLength="1" />
<Property Name="BtnCode" Type="varchar" MaxLength="50" />
</EntityType>
<EntityType Name="T_Sys_NavMenu">
<Key>
<PropertyRef Name="MenuID" />
</Key>
<Property Name="MenuID" Type="uniqueidentifier" Nullable="false" />
<Property Name="MenuName" Type="nvarchar" MaxLength="200" />
<Property Name="URLStr" Type="varchar" MaxLength="500" />
<Property Name="ItemPic" Type="varchar" MaxLength="300" />
<Property Name="PowerID" Type="uniqueidentifier" />
<Property Name="ParentMenuID" Type="uniqueidentifier" />
<Property Name="IsEnabled" Type="char" MaxLength="1" />
<Property Name="OrderNum" Type="varchar" MaxLength="100" />
</EntityType>
<EntityType Name="T_Sys_Power">
<Key>
<PropertyRef Name="PowerID" />
</Key>
<Property Name="PowerID" Type="uniqueidentifier" Nullable="false" />
<Property Name="PowerCode" Type="varchar" MaxLength="10" />
<Property Name="PowerName" Type="varchar" MaxLength="30" Nullable="false" />
<Property Name="OpName" Type="varchar" MaxLength="20" />
<Property Name="OpTime" Type="datetime" />
</EntityType>
<EntityType Name="T_Sys_Role">
<Key>
<PropertyRef Name="RoleID" />
</Key>
<Property Name="RoleID" Type="uniqueidentifier" Nullable="false" />
<Property Name="RoleName" Type="varchar" MaxLength="30" />
<Property Name="Description" Type="varchar" MaxLength="200" />
<Property Name="OpName" Type="varchar" MaxLength="20" />
<Property Name="OpTime" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BBMPT1.dbo.T_Sys_RoleLinkPower”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="T_Sys_RoleLinkPower">
<Key>
<PropertyRef Name="RoleID" />
<PropertyRef Name="PowerID" />
</Key>
<Property Name="RoleID" Type="uniqueidentifier" Nullable="false" />
<Property Name="PowerID" Type="uniqueidentifier" Nullable="false" />
<Property Name="OpTime" Type="datetime" />
<Property Name="OpName" Type="varchar" MaxLength="20" />
</EntityType>
<EntityType Name="T_Sys_UserRole">
<Key>
<PropertyRef Name="UserID" />
<PropertyRef Name="RoleID" />
</Key>
<Property Name="UserID" Type="uniqueidentifier" Nullable="false" />
<Property Name="RoleID" Type="uniqueidentifier" Nullable="false" />
<Property Name="OpTime" Type="datetime" />
<Property Name="OpName" Type="varchar" MaxLength="20" />
</EntityType>
<EntityType Name="T_Sys_Users">
<Key>
<PropertyRef Name="UserID" />
</Key>
<Property Name="UserID" Type="uniqueidentifier" Nullable="false" />
<Property Name="UserName" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="Password" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="IsEnabled" Type="char" MaxLength="1" Nullable="false" />
<Property Name="RealName" Type="nvarchar" MaxLength="20" />
<Property Name="Sex" Type="char" MaxLength="1" />
<Property Name="Tel" Type="nvarchar" MaxLength="20" />
<Property Name="LastLoginTime" Type="datetime" />
<Property Name="LastLoginIP" Type="varchar" MaxLength="20" />
<Property Name="DepartmentID" Type="uniqueidentifier" />
<Property Name="OpName" Type="nvarchar" MaxLength="20" />
<Property Name="OpTime" Type="datetime" />
<Property Name="Department" Type="nvarchar" MaxLength="50" />
</EntityType>
<EntityType Name="T_Sys_Users_NavMenu">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="UserID" Type="uniqueidentifier" />
<Property Name="MenuID" Type="uniqueidentifier" />
</EntityType>
<EntityType Name="TA_DEPT">
<Key>
<PropertyRef Name="GUID" />
</Key>
<Property Name="GUID" Type="uniqueidentifier" Nullable="false" />
<Property Name="DeptCode" Type="nvarchar" MaxLength="50" />
<Property Name="DeptName" Type="nvarchar" MaxLength="50" />
<Property Name="CreateUser" Type="nvarchar" MaxLength="50" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateUser" Type="nvarchar" MaxLength="50" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="Remark" Type="nvarchar" MaxLength="500" />
<Property Name="UID" Type="int" />
<Property Name="Enable" Type="bit" />
<Property Name="Domain" Type="nvarchar" MaxLength="500" />
<Property Name="Site" Type="nvarchar" MaxLength="500" />
</EntityType>
<EntityType Name="tb_Assembly_247">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
<Property Name="PartName" Type="nvarchar" MaxLength="200" />
<Property Name="BatchNo" Type="nvarchar" MaxLength="200" />
<Property Name="Color" Type="nvarchar" MaxLength="50" />
<Property Name="ColorNo" Type="nvarchar" MaxLength="20" />
<Property Name="PartType" Type="nvarchar" MaxLength="50" />
<Property Name="TapeBatchNo" Type="nvarchar" MaxLength="100" />
<Property Name="Validity" Type="nvarchar" MaxLength="50" />
<Property Name="ValidityDate" Type="nvarchar" MaxLength="200" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="PrintTime" Type="datetime" />
<Property Name="Des" Type="nvarchar" MaxLength="500" />
<Property Name="Flag" Type="int" />
</EntityType>
<EntityType Name="tb_Bad_Injection">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
<Property Name="BadPosition" Type="nvarchar" MaxLength="100" />
<Property Name="BadReason" Type="nvarchar" MaxLength="200" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_BarCode1">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<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="PrintTime" Type="datetime" />
<Property Name="IsDel" Type="int" />
<Property Name="IsImport" Type="text" />
<Property Name="StationID2" Type="char" MaxLength="36" />
<Property Name="PlanID" Type="char" MaxLength="36" />
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
</EntityType>
<EntityType Name="tb_BarCode2">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<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="PrintTime" Type="datetime" />
<Property Name="IsDel" Type="int" />
<Property Name="IsImport" Type="text" />
<Property Name="StationID2" Type="char" MaxLength="36" />
<Property Name="PlanID" Type="char" MaxLength="36" />
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
<Property Name="IsBad" Type="int" />
<Property Name="ProductNature" Type="nvarchar" MaxLength="50" />
</EntityType>
<EntityType Name="tb_BarCode3">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<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="PrintTime" Type="datetime" />
<Property Name="IsDel" Type="int" />
<Property Name="IsImport" Type="text" />
<Property Name="StationID2" Type="char" MaxLength="36" />
<Property Name="PlanID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_BarCode4">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<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="PrintTime" Type="datetime" />
<Property Name="IsDel" Type="int" />
<Property Name="IsImport" Type="text" />
<Property Name="StationID2" Type="char" MaxLength="36" />
<Property Name="PlanID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_BarCode5">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<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="PrintTime" Type="datetime" />
<Property Name="IsDel" Type="int" />
<Property Name="IsImport" Type="text" />
<Property Name="StationID2" Type="char" MaxLength="36" />
<Property Name="PlanID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_Bom">
<Key>
<PropertyRef Name="BomID" />
</Key>
<Property Name="BomID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="PartNo1" Type="nvarchar" MaxLength="50" />
<Property Name="PartNo2" Type="nvarchar" MaxLength="50" />
</EntityType>
<EntityType Name="tb_Box_247">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
<Property Name="PartName" Type="nvarchar" MaxLength="200" />
<Property Name="BatchNo" Type="nvarchar" MaxLength="50" />
<Property Name="BoxCount" Type="int" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="PrintTime" Type="datetime" />
<Property Name="Des" Type="nvarchar" MaxLength="200" />
<Property Name="Flag" Type="int" />
</EntityType>
<EntityType Name="tb_BucketInfo">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="BucketCode" Type="nvarchar" MaxLength="50" />
<Property Name="BucketName" Type="nvarchar" MaxLength="200" />
<Property Name="IsUsing" Type="int" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_CarType">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="CarTypeName" Type="varchar" MaxLength="255" />
<Property Name="ManufacturerID" Type="varchar" MaxLength="36" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_CheckItem">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="DeviceID" Type="char" MaxLength="36" />
<Property Name="CheckContent" Type="nvarchar" MaxLength="500" />
<Property Name="CheckVersion" Type="nvarchar" MaxLength="50" />
<Property Name="Standard" Type="nvarchar" MaxLength="500" />
<Property Name="Way" Type="varchar" MaxLength="500" />
<Property Name="Cycle" Type="varchar" MaxLength="255" />
</EntityType>
<EntityType Name="tb_Color">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ColorCode" Type="nvarchar" MaxLength="20" />
<Property Name="ColorNo" Type="nvarchar" MaxLength="20" />
<Property Name="Des" Type="text" />
<Property Name="Circle" Type="int" />
<Property Name="ColorQQCode" Type="nvarchar" MaxLength="20" />
<Property Name="ColorDQCode" Type="nvarchar" MaxLength="20" />
</EntityType>
<EntityType Name="tb_CommonlyInspection">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="VersionID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="InspectionContentID" Type="nvarchar" MaxLength="2000" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
<Property Name="IsUseing" Type="int" Nullable="false" />
<Property Name="DisableTime" Type="datetime" />
<Property Name="DisableUserID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_CommonlyInspectionRecord">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="CommonlyInspectionID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="CheckResult" Type="varchar" MaxLength="200" />
<Property Name="CheckUser" Type="varchar" MaxLength="50" />
<Property Name="CheckDate" Type="datetime" Nullable="false" />
<Property Name="ConfirmUser" Type="varchar" MaxLength="50" />
<Property Name="ConfirmUserDate" Type="datetime" />
<Property Name="GroupLeaderConfirm" Type="varchar" MaxLength="50" />
<Property Name="GroupLeaderConfirmDate" Type="datetime" />
<Property Name="DepartmentLeaderConfirm" Type="varchar" MaxLength="50" />
<Property Name="DepartmentLeaderConfirmDate" Type="datetime" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
<Property Name="IsUseing" Type="int" Nullable="false" />
<Property Name="DisableTime" Type="datetime" />
<Property Name="DisableUserID" Type="char" MaxLength="36" />
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="CheckType" Type="char" MaxLength="1" />
<Property Name="ErrMes" Type="nvarchar" MaxLength="500" />
</EntityType>
<EntityType Name="tb_CommonlyInspectionVersion">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="DeviceID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="Version" Type="varchar" MaxLength="200" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
<Property Name="IsUseing" Type="int" Nullable="false" />
<Property Name="Operation" Type="varchar" MaxLength="50" />
<Property Name="DisableTime" Type="datetime" />
<Property Name="DisableUserID" Type="char" MaxLength="36" />
<Property Name="Description" Type="varchar" MaxLength="200" />
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
</EntityType>
<EntityType Name="tb_Config">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="name" Type="varchar" MaxLength="50" />
<Property Name="value" Type="varchar" MaxLength="100" />
<Property Name="des" Type="varchar" MaxLength="100" />
<Property Name="remark1" Type="varchar" MaxLength="100" />
<Property Name="remark2" Type="varchar" MaxLength="100" />
<Property Name="remark3" Type="varchar" MaxLength="100" />
</EntityType>
<EntityType Name="tb_Cylinder">
<Key>
<PropertyRef Name="CylinderID" />
</Key>
<Property Name="CylinderID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="CylinderNo" Type="nvarchar" MaxLength="50" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_CylinderAndRaw">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="CylinderID" Type="char" MaxLength="36" />
<Property Name="DrumBarCode" Type="nvarchar" MaxLength="100" />
<Property Name="BarCode" Type="nvarchar" MaxLength="100" />
<Property Name="Time1" Type="datetime" />
<Property Name="Time2" Type="datetime" />
</EntityType>
<EntityType Name="tb_Defect">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="LineID" Type="varchar" MaxLength="36" />
<Property Name="DefectName" Type="nvarchar" MaxLength="50" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_Device">
<Key>
<PropertyRef Name="DeviceID" />
</Key>
<Property Name="DeviceID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="DeviceNo" Type="nvarchar" MaxLength="50" />
<Property Name="DeviceName" Type="nvarchar" MaxLength="500" />
<Property Name="FixNo" Type="nvarchar" MaxLength="50" />
<Property Name="Des" Type="text" />
<Property Name="DeviceModel" Type="nvarchar" MaxLength="500" />
</EntityType>
<EntityType Name="tb_DeviceKeepItems">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="KeepItemsID" Type="varchar" MaxLength="36" />
<Property Name="DeviceID" Type="varchar" MaxLength="36" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_Factory">
<Key>
<PropertyRef Name="FactoryID" />
</Key>
<Property Name="FactoryID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="FactoryName" Type="nvarchar" MaxLength="500" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_FinishProduct">
<Key>
<PropertyRef Name="FinishProductID" />
</Key>
<Property Name="FinishProductID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="FinishProductNo" Type="nvarchar" MaxLength="50" />
<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" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="fileUrl" Type="varchar" MaxLength="2000" Nullable="false" />
<Property Name="fileName" Type="varchar" MaxLength="500" Nullable="false" />
<Property Name="fileType" Type="varchar" MaxLength="50" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_Inhection_DownReason">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="Reason" Type="nvarchar" MaxLength="100" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_Injection_BoxRecord">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
<Property Name="BoxCount" Type="int" />
<Property Name="IsFlag" Type="int" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_Injection_DownRecord">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="DownType" Type="nvarchar" MaxLength="50" />
<Property Name="DownReason" Type="nvarchar" MaxLength="500" />
<Property Name="Des" Type="text" />
<Property Name="StartTime" Type="datetime" />
<Property Name="EndTime" Type="datetime" />
<Property Name="DownTime" Type="int" />
<Property Name="Remark1" Type="text" />
<Property Name="Remark2" Type="text" />
<Property Name="Remark3" Type="text" />
<Property Name="PlanID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_Injection_DownTime">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="StartTime" Type="datetime" />
<Property Name="EndTime" Type="datetime" />
<Property Name="InterVal" Type="int" />
<Property Name="DownTypeID" Type="char" MaxLength="36" />
<Property Name="Remark1" Type="text" />
<Property Name="Remark2" Type="text" />
<Property Name="Remark3" Type="text" />
</EntityType>
<EntityType Name="tb_Injection_DownType">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="DownTypeName" Type="nvarchar" MaxLength="50" />
<Property Name="Remark" Type="text" />
</EntityType>
<EntityType Name="tb_Injection_Record">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="workClass" Type="varchar" MaxLength="255" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="JK_Weight" Type="float" />
<Property Name="Waste_Weight" Type="float" />
<Property Name="RecordDate" Type="datetime" />
<Property Name="StockNo" Type="varchar" MaxLength="255" />
<Property Name="PartNo" Type="varchar" MaxLength="255" />
<Property Name="PlanID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_InjectionPlan">
<Key>
<PropertyRef Name="InjectionPlanID" />
</Key>
<Property Name="InjectionPlanID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="BeginTime" Type="nvarchar" MaxLength="50" />
<Property Name="StockNo" Type="nvarchar" MaxLength="50" />
<Property Name="PartNo" Type="nvarchar" MaxLength="1000" />
<Property Name="PlanCount" Type="int" />
<Property Name="EndTime" Type="nvarchar" MaxLength="50" />
<Property Name="PlanDate" Type="date" />
<Property Name="CompleteCount" Type="int" />
<Property Name="IsFinish" Type="int" />
<Property Name="FinishTime" Type="datetime" />
<Property Name="RealCycle" Type="decimal" Precision="12" Scale="0" />
<Property Name="workClass" Type="nvarchar" MaxLength="255" />
<Property Name="JK_Weight" Type="float" />
<Property Name="Waste_Weight" Type="float" />
<Property Name="ProductNature" Type="nvarchar" MaxLength="1000" />
</EntityType>
<EntityType Name="tb_InjectPlanReport">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="InjectionPlanID" Type="varchar" MaxLength="50" />
<Property Name="ProductName" Type="varchar" MaxLength="50" />
<Property Name="MaterialName" Type="varchar" MaxLength="50" />
<Property Name="Drum" Type="varchar" MaxLength="50" />
<Property Name="BatchNo" Type="varchar" MaxLength="50" />
<Property Name="Time1" Type="datetime" />
</EntityType>
<EntityType Name="tb_InspectResult">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="barcode" Type="nvarchar" MaxLength="100" />
<Property Name="side" Type="nvarchar" MaxLength="100" />
<Property Name="position" Type="nvarchar" MaxLength="100" />
<Property Name="stationNo" Type="nvarchar" MaxLength="100" />
<Property Name="workClass" Type="nvarchar" MaxLength="100" />
<Property Name="inspectResult" Type="nvarchar" MaxLength="100" />
<Property Name="damnPosition" Type="nvarchar" MaxLength="100" />
<Property Name="defectID" Type="nvarchar" MaxLength="100" />
<Property Name="reason" Type="nvarchar" MaxLength="100" />
<Property Name="productInfo" Type="nvarchar" MaxLength="100" />
<Property Name="productOption" Type="nvarchar" MaxLength="100" />
<Property Name="createTime" Type="datetime" />
<Property Name="InspectTimes" Type="varchar" MaxLength="50" />
<Property Name="remark1" Type="nvarchar" MaxLength="100" />
<Property Name="remark2" Type="nvarchar" MaxLength="100" />
<Property Name="remark3" Type="nvarchar" MaxLength="100" />
</EntityType>
<EntityType Name="tb_KeepItems">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="KeepLevelID" Type="varchar" MaxLength="36" />
<Property Name="Des" Type="varchar" MaxLength="500" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="KeepItems" Type="varchar" MaxLength="500" />
</EntityType>
<EntityType Name="tb_KeepItemsVersion">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="VersionID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="KeepItemsID" Type="nvarchar" MaxLength="2000" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
<Property Name="IsUseing" Type="int" Nullable="false" />
<Property Name="DisableTime" Type="datetime" />
<Property Name="DisableUserID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_KeepLevel">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="KeepLevel" Type="varchar" MaxLength="255" />
<Property Name="Des" Type="varchar" MaxLength="255" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_KeepPlan">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="DeviceID" Type="varchar" MaxLength="36" />
<Property Name="KeepLevelID" Type="varchar" MaxLength="36" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="KeepDay" Type="datetime" />
<Property Name="Des" Type="varchar" MaxLength="500" />
</EntityType>
<EntityType Name="tb_KeepRecord">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="KeepPlanID" Type="varchar" MaxLength="36" />
<Property Name="KeepItemsVersionID" Type="varchar" MaxLength="36" />
<Property Name="Result" Type="varchar" MaxLength="255" />
<Property Name="Des" Type="varchar" MaxLength="500" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="CheckUser" Type="varchar" MaxLength="50" />
<Property Name="CheckDate" Type="datetime" Nullable="false" />
<Property Name="ConfirmUser" Type="varchar" MaxLength="50" />
<Property Name="ConfirmUserDate" Type="datetime" />
<Property Name="GroupLeaderConfirm" Type="varchar" MaxLength="50" />
<Property Name="GroupLeaderConfirmDate" Type="datetime" />
<Property Name="DepartmentLeaderConfirm" Type="varchar" MaxLength="50" />
<Property Name="DepartmentLeaderConfirmDate" Type="datetime" />
</EntityType>
<EntityType Name="tb_KeepVersion">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="DeviceID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="Version" Type="varchar" MaxLength="200" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreateUserID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="UpdateTime" Type="datetime" />
<Property Name="UpdateUserID" Type="char" MaxLength="36" />
<Property Name="IsUseing" Type="int" Nullable="false" />
<Property Name="Operation" Type="varchar" MaxLength="50" />
<Property Name="DisableTime" Type="datetime" />
<Property Name="DisableUserID" Type="char" MaxLength="36" />
<Property Name="Description" Type="varchar" MaxLength="200" />
</EntityType>
<EntityType Name="tb_LayerAndBC">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="layer" Type="int" />
<Property Name="floor" Type="nvarchar" MaxLength="10" />
<Property Name="side" Type="varchar" MaxLength="20" />
<Property Name="des" Type="varchar" MaxLength="300" />
</EntityType>
<EntityType Name="tb_Line">
<Key>
<PropertyRef Name="LineID" />
</Key>
<Property Name="LineID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="PlaceID" Type="char" MaxLength="36" />
<Property Name="LineName" Type="nvarchar" MaxLength="500" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_Machine">
<Key>
<PropertyRef Name="MachineID" />
</Key>
<Property Name="MachineID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="MachineNo" Type="nvarchar" MaxLength="50" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_Manufacturer">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="36" Nullable="false" />
<Property Name="ManufacturerName" Type="varchar" MaxLength="500" />
<Property Name="Des" Type="varchar" MaxLength="500" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="UpdateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_Mistake_247">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="PartNo1" Type="nvarchar" MaxLength="50" />
<Property Name="PartName1" Type="nvarchar" MaxLength="200" />
<Property Name="PartNo2" Type="nvarchar" MaxLength="50" />
<Property Name="PartName2" Type="nvarchar" MaxLength="200" />
<Property Name="PackCount" Type="int" />
<Property Name="DeviceNo" Type="nvarchar" MaxLength="50" />
</EntityType>
<EntityType Name="tb_Model_Product">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ModelID" Type="char" MaxLength="36" />
<Property Name="ProuctID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_Model_Update">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="Purpose" Type="varchar" MaxLength="255" />
<Property Name="State" Type="varchar" MaxLength="255" />
<Property Name="Supplier" Type="varchar" MaxLength="255" />
<Property Name="Remarks" Type="varchar" MaxLength="255" />
<Property Name="AddTime" Type="datetime" />
<Property Name="ModelID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_ModelCount">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ModelID" Type="char" MaxLength="36" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="ModelPrintCount" Type="numeric" Precision="18" Scale="0" Nullable="false" />
<Property Name="PrintDate" Type="date" />
<Property Name="ModelSumCount" Type="numeric" Precision="18" Scale="0" Nullable="false" />
</EntityType>
<EntityType Name="tb_ModelInfo">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ModelName" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="ModelNo" Type="varchar" MaxLength="255" />
<Property Name="PermanentAssetsNo" Type="varchar" MaxLength="255" />
<Property Name="Tonnage" Type="varchar" MaxLength="255" />
<Property Name="ServiceLife" Type="varchar" MaxLength="255" />
<Property Name="Supplier" Type="varchar" MaxLength="255" />
<Property Name="PartWeight" Type="varchar" MaxLength="255" />
<Property Name="InjectionPeriod" Type="varchar" MaxLength="255" />
<Property Name="LocatingRingSize" Type="varchar" MaxLength="255" />
<Property Name="OutForm" Type="varchar" MaxLength="255" />
<Property Name="ModelWeight" Type="varchar" MaxLength="255" />
<Property Name="RunnerForm" Type="varchar" MaxLength="255" />
<Property Name="ModelCavityNo" Type="varchar" MaxLength="255" />
<Property Name="ModelSize" Type="varchar" MaxLength="255" />
</EntityType>
<EntityType Name="tb_Operator">
<Key>
<PropertyRef Name="OperatorID" />
</Key>
<Property Name="OperatorID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="OperatorNo" Type="nvarchar" MaxLength="20" />
<Property Name="OperatorName" Type="nvarchar" MaxLength="50" />
<Property Name="OperatorPsw" Type="nvarchar" MaxLength="50" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_Paint_Bucket">
<Key>
<PropertyRef Name="PaintID" />
<PropertyRef Name="BucketID" />
</Key>
<Property Name="PaintID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="BucketID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
</EntityType>
<EntityType Name="tb_PaintBarCode">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="ProductID" 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="ColorDes" Type="nvarchar" MaxLength="200" />
<Property Name="workClass" Type="nvarchar" MaxLength="20" />
<Property Name="Side" Type="nvarchar" MaxLength="10" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="PrintTime" Type="datetime" />
<Property Name="ProductDate" Type="nvarchar" MaxLength="20" />
</EntityType>
<EntityType Name="tb_PaintInfo">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="PaintCode" Type="nvarchar" MaxLength="50" />
<Property Name="PaintName" Type="nvarchar" MaxLength="200" />
<Property Name="PaintModel" Type="nvarchar" MaxLength="50" />
<Property Name="UnitCode" Type="nvarchar" MaxLength="50" />
<Property Name="CarModelCode" Type="nvarchar" MaxLength="50" />
<Property Name="IsUsing" Type="int" />
<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_Place">
<Key>
<PropertyRef Name="PlaceID" />
</Key>
<Property Name="PlaceID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="FactoryID" Type="char" MaxLength="36" />
<Property Name="PlaceName" Type="nvarchar" MaxLength="500" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_Plan_247">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="OrderNo" Type="nvarchar" MaxLength="20" />
<Property Name="Item" Type="int" />
<Property Name="PartNo" Type="nvarchar" MaxLength="200" />
<Property Name="OrderCount" Type="int" />
<Property Name="LyCount" Type="int" />
<Property Name="CompleteCount" Type="int" />
<Property Name="RepairCount" Type="int" />
<Property Name="ScrapCount1" Type="int" />
<Property Name="ScrapCount2" Type="int" />
<Property Name="Des" Type="nvarchar" MaxLength="500" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="IsFinish" Type="int" />
</EntityType>
<EntityType Name="tb_PlanScreenConfig">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="IP" Type="varchar" MaxLength="100" />
<Property Name="StationNo" Type="varchar" MaxLength="50" />
<Property Name="Des" Type="varchar" MaxLength="100" />
</EntityType>
<EntityType Name="tb_Plastic">
<Key>
<PropertyRef Name="StationID" />
<PropertyRef Name="PartNo" />
</Key>
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
<Property Name="CycleTime" Type="int" />
<Property Name="StationID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="IsBackup" Type="int" />
<Property Name="Weight" Type="int" />
<Property Name="OpenDebugTime" Type="int" />
<Property Name="PrinterNo" Type="int" />
<Property Name="PartNo" Type="nvarchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityType Name="tb_PLC_Break">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Address" Type="nvarchar" MaxLength="100" />
<Property Name="Des" Type="nvarchar" MaxLength="500" />
</EntityType>
<EntityType Name="tb_PLC_Mould">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Address" Type="nvarchar" MaxLength="100" />
<Property Name="Des" Type="nvarchar" MaxLength="500" />
</EntityType>
<EntityType Name="tb_Product">
<Key>
<PropertyRef Name="ProductID" />
</Key>
<Property Name="ProductID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ProductTypeID" Type="char" MaxLength="36" />
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
<Property Name="PartName" Type="nvarchar" MaxLength="100" />
<Property Name="ProductName" Type="nvarchar" MaxLength="100" />
<Property Name="ColorName" Type="nvarchar" MaxLength="50" />
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
<Property Name="Rows" Type="int" />
<Property Name="Cols" Type="int" />
<Property Name="Layers" Type="int" />
<Property Name="PicturePath" Type="nvarchar" MaxLength="500" />
<Property Name="Des" Type="text" />
<Property Name="isImport" Type="int" />
<Property Name="PackCount" Type="int" />
<Property Name="OpenFailNum" Type="int" />
<Property Name="QLevel" Type="varchar" MaxLength="255" />
<Property Name="IsPrintOneTag" Type="varchar" MaxLength="255" />
<Property Name="IsPrintPackList" Type="varchar" MaxLength="255" />
<Property Name="IsSupply" Type="varchar" MaxLength="255" />
<Property Name="IsOneMore" Type="varchar" MaxLength="255" />
<Property Name="BackPlatingNum" Type="int" />
<Property Name="IsPlating" Type="varchar" MaxLength="255" />
<Property Name="CarTypeID" Type="char" MaxLength="36" />
</EntityType>
<EntityType Name="tb_Product_Color">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ProductID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ColorID" Type="char" MaxLength="36" Nullable="false" />
</EntityType>
<EntityType Name="tb_Product_Injection">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="PlanID" Type="char" MaxLength="36" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="ProductDate" Type="nvarchar" MaxLength="20" />
<Property Name="ClassName" Type="nvarchar" MaxLength="20" />
<Property Name="StockNo" Type="nvarchar" MaxLength="20" />
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
<Property Name="ProductCount" Type="int" />
<Property Name="BadCount" Type="int" />
</EntityType>
<EntityType Name="tb_Product_Injection_w">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="RealCycle" Type="decimal" Precision="12" Scale="0" />
<Property Name="Waste_Weight" Type="float" />
<Property Name="JK_Weight" Type="float" />
</EntityType>
<EntityType Name="tb_ProductSotckIn">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="BarCode" Type="nvarchar" MaxLength="50" />
<Property Name="ProductName" Type="nvarchar" MaxLength="500" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_ProductType">
<Key>
<PropertyRef Name="ProductTypeID" />
</Key>
<Property Name="ProductTypeID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ProductTypeNo" Type="nvarchar" MaxLength="10" />
<Property Name="ProductTypeName" Type="nvarchar" MaxLength="500" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_Record_247">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="PartNo1" Type="nvarchar" MaxLength="50" />
<Property Name="PartNo2" Type="nvarchar" MaxLength="50" />
<Property Name="BoxNo" Type="nvarchar" MaxLength="50" />
<Property Name="OrderNo" Type="nvarchar" MaxLength="50" />
<Property Name="CreateTime1" Type="datetime" />
<Property Name="CreateTime2" Type="datetime" />
<Property Name="Flag" Type="int" />
<Property Name="Type" Type="int" />
</EntityType>
<EntityType Name="tb_Report_FiveScreen">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="50" />
<Property Name="LastYear" Type="decimal" Precision="18" Scale="1" />
<Property Name="Jan" Type="decimal" Precision="18" Scale="1" />
<Property Name="Feb" Type="decimal" Precision="18" Scale="1" />
<Property Name="Mar" Type="decimal" Precision="18" Scale="1" />
<Property Name="Apr" Type="decimal" Precision="18" Scale="1" />
<Property Name="May" Type="decimal" Precision="18" Scale="1" />
<Property Name="Jun" Type="decimal" Precision="18" Scale="1" />
<Property Name="Jul" Type="decimal" Precision="18" Scale="1" />
<Property Name="Aug" Type="decimal" Precision="18" Scale="1" />
<Property Name="Sept" Type="decimal" Precision="18" Scale="1" />
<Property Name="Oct" Type="decimal" Precision="18" Scale="1" />
<Property Name="Nov" Type="decimal" Precision="18" Scale="1" />
<Property Name="Dec" Type="decimal" Precision="18" Scale="1" />
<Property Name="day1" Type="decimal" Precision="18" Scale="1" />
<Property Name="day2" Type="decimal" Precision="18" Scale="1" />
<Property Name="day3" Type="decimal" Precision="18" Scale="1" />
<Property Name="day4" Type="decimal" Precision="18" Scale="1" />
<Property Name="day5" Type="decimal" Precision="18" Scale="1" />
<Property Name="day6" Type="decimal" Precision="18" Scale="1" />
<Property Name="day7" Type="decimal" Precision="18" Scale="1" />
<Property Name="day8" Type="decimal" Precision="18" Scale="1" />
<Property Name="day9" Type="decimal" Precision="18" Scale="1" />
<Property Name="day10" Type="decimal" Precision="18" Scale="1" />
<Property Name="day11" Type="decimal" Precision="18" Scale="1" />
<Property Name="day12" Type="decimal" Precision="18" Scale="1" />
<Property Name="day13" Type="decimal" Precision="18" Scale="1" />
<Property Name="day14" Type="decimal" Precision="18" Scale="1" />
<Property Name="day15" Type="decimal" Precision="18" Scale="1" />
<Property Name="day16" Type="decimal" Precision="18" Scale="1" />
<Property Name="day17" Type="decimal" Precision="18" Scale="1" />
<Property Name="day18" Type="decimal" Precision="18" Scale="1" />
<Property Name="day19" Type="decimal" Precision="18" Scale="1" />
<Property Name="day20" Type="decimal" Precision="18" Scale="1" />
<Property Name="day21" Type="decimal" Precision="18" Scale="1" />
<Property Name="day22" Type="decimal" Precision="18" Scale="1" />
<Property Name="day23" Type="decimal" Precision="18" Scale="1" />
<Property Name="day24" Type="decimal" Precision="18" Scale="1" />
<Property Name="day25" Type="decimal" Precision="18" Scale="1" />
<Property Name="day26" Type="decimal" Precision="18" Scale="1" />
<Property Name="day27" Type="decimal" Precision="18" Scale="1" />
<Property Name="day28" Type="decimal" Precision="18" Scale="1" />
<Property Name="day29" Type="decimal" Precision="18" Scale="1" />
<Property Name="day30" Type="decimal" Precision="18" Scale="1" />
<Property Name="day31" Type="decimal" Precision="18" Scale="1" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_Report_FiveScreenConfig">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="50" />
<Property Name="Min" Type="decimal" Precision="18" Scale="1" />
<Property Name="Max" Type="decimal" Precision="18" Scale="1" />
<Property Name="Scale" Type="int" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_Report_FiveScreenLast">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="StationID" Type="varchar" MaxLength="50" />
<Property Name="StationNo" Type="varchar" MaxLength="50" />
<Property Name="UseRate" Type="nvarchar" MaxLength="50" />
<Property Name="PassRate" Type="nvarchar" MaxLength="50" />
<Property Name="Remark1" Type="nvarchar" MaxLength="50" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BBMPT1.dbo.tb_Report_FiveScreenStandard”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="tb_Report_FiveScreenStandard">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Name" Type="nvarchar" MaxLength="50" />
<Property Name="LastYear" Type="decimal" Precision="18" Scale="1" />
<Property Name="Jan" Type="decimal" Precision="18" Scale="1" />
<Property Name="Feb" Type="decimal" Precision="18" Scale="1" />
<Property Name="Mar" Type="decimal" Precision="18" Scale="1" />
<Property Name="Apr" Type="decimal" Precision="18" Scale="1" />
<Property Name="May" Type="decimal" Precision="18" Scale="1" />
<Property Name="Jun" Type="decimal" Precision="18" Scale="1" />
<Property Name="Jul" Type="decimal" Precision="18" Scale="1" />
<Property Name="Aug" Type="decimal" Precision="18" Scale="1" />
<Property Name="Sept" Type="decimal" Precision="18" Scale="1" />
<Property Name="Oct" Type="decimal" Precision="18" Scale="1" />
<Property Name="Nov" Type="decimal" Precision="18" Scale="1" />
<Property Name="Dec" Type="decimal" Precision="18" Scale="1" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BBMPT1.dbo.tb_ReportPaintingScreen”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="tb_ReportPaintingScreen">
<Key>
<PropertyRef Name="sumNum" />
<PropertyRef Name="oncePassNum" />
<PropertyRef Name="sumPassNum" />
</Key>
<Property Name="color" Type="nvarchar" MaxLength="4000" />
<Property Name="productInfo" Type="nvarchar" MaxLength="4000" />
<Property Name="sumNum" Type="int" Nullable="false" />
<Property Name="oncePassNum" Type="int" Nullable="false" />
<Property Name="oncePassRate" Type="varchar" MaxLength="21" />
<Property Name="sumPassNum" Type="int" Nullable="false" />
<Property Name="sumPassRate" Type="varchar" MaxLength="21" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BBMPT1.dbo.tb_ReportPaintingScreen_pg”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="tb_ReportPaintingScreen_pg">
<Key>
<PropertyRef Name="sumNum" />
<PropertyRef Name="hgNum" />
<PropertyRef Name="defectRate1" />
</Key>
<Property Name="color" Type="nvarchar" MaxLength="4000" />
<Property Name="productInfo" Type="nvarchar" MaxLength="4000" />
<Property Name="sumNum" Type="int" Nullable="false" />
<Property Name="hgNum" Type="int" Nullable="false" />
<Property Name="DefectName1" Type="nvarchar" MaxLength="50" />
<Property Name="defectRate1" Type="decimal" Precision="10" Scale="2" Nullable="false" />
<Property Name="DefectName2" Type="nvarchar" MaxLength="50" />
<Property Name="defectRate2" Type="decimal" Precision="10" Scale="2" />
<Property Name="DefectName3" Type="nvarchar" MaxLength="50" />
<Property Name="defectRate3" Type="decimal" Precision="10" Scale="2" />
<Property Name="DefectName4" Type="nvarchar" MaxLength="50" />
<Property Name="defectRate4" Type="decimal" Precision="10" Scale="2" />
<Property Name="DefectName5" Type="nvarchar" MaxLength="50" />
<Property Name="defectRate5" Type="decimal" Precision="10" Scale="2" />
</EntityType>
<EntityType Name="tb_SkidInfo">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="SkidNo" Type="varchar" MaxLength="50" />
<Property Name="BarcodeLeft" Type="varchar" MaxLength="500" />
<Property Name="BarcodeRight" Type="varchar" MaxLength="500" />
<Property Name="Layer" Type="varchar" MaxLength="10" />
<Property Name="ColorInfo" Type="nvarchar" MaxLength="50" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="Side_1_BC01" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC02" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC03" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC04" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC05" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC06" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC07" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC08" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC09" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC10" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC11" Type="nvarchar" MaxLength="50" />
<Property Name="Side_1_BC12" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC01" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC02" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC03" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC04" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC05" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC06" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC07" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC08" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC09" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC10" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC11" Type="nvarchar" MaxLength="50" />
<Property Name="Side_2_BC12" Type="nvarchar" MaxLength="50" />
</EntityType>
<EntityType Name="tb_Station">
<Key>
<PropertyRef Name="StationID" />
</Key>
<Property Name="StationID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="LineID" Type="char" MaxLength="36" />
<Property Name="StationNo" Type="nvarchar" MaxLength="50" />
<Property Name="Des" Type="text" />
</EntityType>
<EntityType Name="tb_StationAndCylinder">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="CylinderID" Type="char" MaxLength="36" />
<Property Name="Time1" Type="datetime" />
<Property Name="Time2" Type="datetime" />
</EntityType>
<EntityType Name="tb_StockIn">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="barcode" Type="nvarchar" MaxLength="50" />
<Property Name="pass" Type="char" MaxLength="1" />
<Property Name="createTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_StockIn_beif">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="barcode" Type="nvarchar" MaxLength="50" />
<Property Name="pass" Type="char" MaxLength="1" />
<Property Name="createTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_StockInColor">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Barcode" Type="varchar" MaxLength="50" />
<Property Name="ColorInfo" Type="varchar" MaxLength="50" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_test">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="Reason" Type="text" />
<Property Name="createTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_weightRecord">
<Key>
<PropertyRef Name="GID" />
</Key>
<Property Name="GID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="ID" Type="int" />
<Property Name="DeviceNo" Type="nvarchar" MaxLength="20" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="tb_ZPPlan">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="OrderNo" Type="nvarchar" MaxLength="50" />
<Property Name="OrderDate" Type="date" />
<Property Name="Item" Type="int" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
<Property Name="OrderCount" Type="int" />
<Property Name="ProductCount" Type="int" />
<Property Name="IsFinish" Type="int" />
<Property Name="BadCount" Type="int" />
<Property Name="CreateTime" Type="datetime" />
</EntityType>
<EntityType Name="TES_BOM">
<Key>
<PropertyRef Name="GUID" />
<PropertyRef Name="UID" />
</Key>
<Property Name="ParentPart" Type="nvarchar" MaxLength="100" />
<Property Name="ComponentPart" Type="nvarchar" MaxLength="100" />
<Property Name="Reference" Type="nvarchar" MaxLength="100" />
<Property Name="StartEffective" Type="nvarchar" MaxLength="100" />
<Property Name="QuantityPer" Type="nvarchar" MaxLength="100" />
<Property Name="StructureType" Type="nvarchar" MaxLength="100" />
<Property Name="EndEffective" Type="nvarchar" MaxLength="100" />
<Property Name="Remarks" Type="nvarchar" MaxLength="100" />
<Property Name="Scrap" Type="nvarchar" MaxLength="100" />
<Property Name="LeadTimeOffset" Type="nvarchar" MaxLength="100" />
<Property Name="Operation" Type="nvarchar" MaxLength="100" />
<Property Name="SequenceNumber" Type="nvarchar" MaxLength="100" />
<Property Name="FporecastPercent" Type="nvarchar" MaxLength="100" />
<Property Name="OptionGroup" Type="nvarchar" MaxLength="100" />
<Property Name="Process" Type="nvarchar" MaxLength="100" />
<Property Name="GUID" Type="nvarchar" MaxLength="100" Nullable="false" />
<Property Name="UID" Type="nvarchar" MaxLength="100" Nullable="false" />
<Property Name="CreateUser" Type="nvarchar" MaxLength="100" />
<Property Name="CreateTime" Type="nvarchar" MaxLength="100" />
<Property Name="Remark" Type="nvarchar" MaxLength="100" />
<Property Name="TaskID" Type="nvarchar" MaxLength="100" />
<Property Name="CommandType" Type="nvarchar" MaxLength="100" />
<Property Name="DataID" Type="nvarchar" MaxLength="100" />
<Property Name="Domain" Type="nvarchar" MaxLength="100" />
<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" />
<PropertyRef Name="UID" />
</Key>
<Property Name="GUID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="PartCode" Type="nvarchar(max)" />
<Property Name="Desc1" Type="nvarchar(max)" />
<Property Name="Desc2" Type="nvarchar(max)" />
<Property Name="Um" Type="nvarchar(max)" />
<Property Name="ProdLine" Type="nvarchar(max)" />
<Property Name="AddDate" Type="nvarchar(max)" />
<Property Name="PartType" Type="nvarchar(max)" />
<Property Name="Status" Type="nvarchar(max)" />
<Property Name="Qgrade" Type="nvarchar(max)" />
<Property Name="InventoryCode" Type="nvarchar(max)" />
<Property Name="UID" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Remark" Type="nvarchar(max)" />
<Property Name="TaskID" Type="nvarchar(max)" />
<Property Name="Domain" Type="nvarchar(max)" />
<Property Name="Site" Type="nvarchar(max)" />
<Property Name="CreatTime" Type="datetime" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“BBMPT1.dbo.test1”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
<EntityType Name="test1">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="char" MaxLength="36" Nullable="false" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="StockNo" Type="nvarchar" MaxLength="50" />
<Property Name="PrintType" Type="int" />
<Property Name="OneBarCode" Type="nvarchar" MaxLength="50" />
<Property Name="PlanID" Type="char" MaxLength="36" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="ProductName" Type="nvarchar" MaxLength="500" />
<Property Name="PartNo" Type="nvarchar" MaxLength="50" />
<Property Name="ProductDate" Type="nvarchar" MaxLength="50" />
<Property Name="ClassName" Type="nvarchar" MaxLength="50" />
</EntityType>
<EntityType Name="test2">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="PlanID" Type="char" MaxLength="36" />
<Property Name="StationID" Type="char" MaxLength="36" />
<Property Name="ProductDate" Type="nvarchar" MaxLength="50" />
<Property Name="ClassName" Type="nvarchar" MaxLength="50" />
<Property Name="ProductCount" Type="int" />
</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="*" />
<ReferentialConstraint>
<Principal Role="T_Sys_Power">
<PropertyRef Name="PowerID" />
</Principal>
<Dependent Role="T_Sys_RoleLinkPower">
<PropertyRef Name="PowerID" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="BBMPT1ModelStoreContainer">
<EntitySet Name="LogErr" EntityType="Self.LogErr" Schema="dbo" store:Type="Tables" />
<EntitySet Name="LogSys" EntityType="Self.LogSys" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_PaintInfo" EntityType="Self.T_PaintInfo" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_Sys_Buttons" EntityType="Self.T_Sys_Buttons" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_Sys_NavMenu" EntityType="Self.T_Sys_NavMenu" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_Sys_Power" EntityType="Self.T_Sys_Power" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_Sys_Role" EntityType="Self.T_Sys_Role" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_Sys_UserRole" EntityType="Self.T_Sys_UserRole" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_Sys_Users" EntityType="Self.T_Sys_Users" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_Sys_Users_NavMenu" EntityType="Self.T_Sys_Users_NavMenu" Schema="dbo" store:Type="Tables" />
<EntitySet Name="TA_DEPT" EntityType="Self.TA_DEPT" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Assembly_247" EntityType="Self.tb_Assembly_247" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Bad_Injection" EntityType="Self.tb_Bad_Injection" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_BarCode1" EntityType="Self.tb_BarCode1" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_BarCode2" EntityType="Self.tb_BarCode2" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_BarCode3" EntityType="Self.tb_BarCode3" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_BarCode4" EntityType="Self.tb_BarCode4" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_BarCode5" EntityType="Self.tb_BarCode5" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Bom" EntityType="Self.tb_Bom" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Box_247" EntityType="Self.tb_Box_247" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_BucketInfo" EntityType="Self.tb_BucketInfo" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_CarType" EntityType="Self.tb_CarType" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_CheckItem" EntityType="Self.tb_CheckItem" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Color" EntityType="Self.tb_Color" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_CommonlyInspection" EntityType="Self.tb_CommonlyInspection" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_CommonlyInspectionRecord" EntityType="Self.tb_CommonlyInspectionRecord" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_CommonlyInspectionVersion" EntityType="Self.tb_CommonlyInspectionVersion" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Config" EntityType="Self.tb_Config" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Cylinder" EntityType="Self.tb_Cylinder" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_CylinderAndRaw" EntityType="Self.tb_CylinderAndRaw" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Defect" EntityType="Self.tb_Defect" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Device" EntityType="Self.tb_Device" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_DeviceKeepItems" EntityType="Self.tb_DeviceKeepItems" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Factory" EntityType="Self.tb_Factory" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_FinishProduct" EntityType="Self.tb_FinishProduct" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_ImgVideo" EntityType="Self.tb_ImgVideo" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Inhection_DownReason" EntityType="Self.tb_Inhection_DownReason" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Injection_BoxRecord" EntityType="Self.tb_Injection_BoxRecord" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Injection_DownRecord" EntityType="Self.tb_Injection_DownRecord" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Injection_DownTime" EntityType="Self.tb_Injection_DownTime" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Injection_DownType" EntityType="Self.tb_Injection_DownType" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Injection_Record" EntityType="Self.tb_Injection_Record" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_InjectionPlan" EntityType="Self.tb_InjectionPlan" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_InjectPlanReport" EntityType="Self.tb_InjectPlanReport" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_InspectResult" EntityType="Self.tb_InspectResult" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_KeepItems" EntityType="Self.tb_KeepItems" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_KeepItemsVersion" EntityType="Self.tb_KeepItemsVersion" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_KeepLevel" EntityType="Self.tb_KeepLevel" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_KeepPlan" EntityType="Self.tb_KeepPlan" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_KeepRecord" EntityType="Self.tb_KeepRecord" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_KeepVersion" EntityType="Self.tb_KeepVersion" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_LayerAndBC" EntityType="Self.tb_LayerAndBC" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Line" EntityType="Self.tb_Line" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Machine" EntityType="Self.tb_Machine" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Manufacturer" EntityType="Self.tb_Manufacturer" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Mistake_247" EntityType="Self.tb_Mistake_247" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Model_Product" EntityType="Self.tb_Model_Product" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Model_Update" EntityType="Self.tb_Model_Update" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_ModelCount" EntityType="Self.tb_ModelCount" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_ModelInfo" EntityType="Self.tb_ModelInfo" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Operator" EntityType="Self.tb_Operator" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Paint_Bucket" EntityType="Self.tb_Paint_Bucket" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_PaintBarCode" EntityType="Self.tb_PaintBarCode" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_PaintInfo" EntityType="Self.tb_PaintInfo" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Place" EntityType="Self.tb_Place" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Plan_247" EntityType="Self.tb_Plan_247" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_PlanScreenConfig" EntityType="Self.tb_PlanScreenConfig" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Plastic" EntityType="Self.tb_Plastic" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_PLC_Break" EntityType="Self.tb_PLC_Break" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_PLC_Mould" EntityType="Self.tb_PLC_Mould" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Product" EntityType="Self.tb_Product" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Product_Color" EntityType="Self.tb_Product_Color" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Product_Injection" EntityType="Self.tb_Product_Injection" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Product_Injection_w" EntityType="Self.tb_Product_Injection_w" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_ProductSotckIn" EntityType="Self.tb_ProductSotckIn" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_ProductType" EntityType="Self.tb_ProductType" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Record_247" EntityType="Self.tb_Record_247" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Report_FiveScreen" EntityType="Self.tb_Report_FiveScreen" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Report_FiveScreenConfig" EntityType="Self.tb_Report_FiveScreenConfig" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Report_FiveScreenLast" EntityType="Self.tb_Report_FiveScreenLast" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_SkidInfo" EntityType="Self.tb_SkidInfo" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_Station" EntityType="Self.tb_Station" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_StationAndCylinder" EntityType="Self.tb_StationAndCylinder" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_StockIn" EntityType="Self.tb_StockIn" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_StockIn_beif" EntityType="Self.tb_StockIn_beif" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_StockInColor" EntityType="Self.tb_StockInColor" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_test" EntityType="Self.tb_test" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_weightRecord" EntityType="Self.tb_weightRecord" Schema="dbo" store:Type="Tables" />
<EntitySet Name="tb_ZPPlan" EntityType="Self.tb_ZPPlan" Schema="dbo" store:Type="Tables" />
<EntitySet Name="TES_BOM" EntityType="Self.TES_BOM" Schema="dbo" store:Type="Tables" />
<EntitySet Name="TES_PART_MSTR" EntityType="Self.TES_PART_MSTR" Schema="dbo" store:Type="Tables" />
<EntitySet Name="test2" EntityType="Self.test2" Schema="dbo" store:Type="Tables" />
<EntitySet Name="T_Sys_RoleLinkPower" EntityType="Self.T_Sys_RoleLinkPower" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[T_Sys_RoleLinkPower].[RoleID] AS [RoleID],
[T_Sys_RoleLinkPower].[PowerID] AS [PowerID],
[T_Sys_RoleLinkPower].[OpTime] AS [OpTime],
[T_Sys_RoleLinkPower].[OpName] AS [OpName]
FROM [dbo].[T_Sys_RoleLinkPower] AS [T_Sys_RoleLinkPower]</DefiningQuery>
</EntitySet>
<EntitySet Name="tb_Report_FiveScreenStandard" EntityType="Self.tb_Report_FiveScreenStandard" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[tb_Report_FiveScreenStandard].[ID] AS [ID],
[tb_Report_FiveScreenStandard].[Name] AS [Name],
[tb_Report_FiveScreenStandard].[LastYear] AS [LastYear],
[tb_Report_FiveScreenStandard].[Jan] AS [Jan],
[tb_Report_FiveScreenStandard].[Feb] AS [Feb],
[tb_Report_FiveScreenStandard].[Mar] AS [Mar],
[tb_Report_FiveScreenStandard].[Apr] AS [Apr],
[tb_Report_FiveScreenStandard].[May] AS [May],
[tb_Report_FiveScreenStandard].[Jun] AS [Jun],
[tb_Report_FiveScreenStandard].[Jul] AS [Jul],
[tb_Report_FiveScreenStandard].[Aug] AS [Aug],
[tb_Report_FiveScreenStandard].[Sept] AS [Sept],
[tb_Report_FiveScreenStandard].[Oct] AS [Oct],
[tb_Report_FiveScreenStandard].[Nov] AS [Nov],
[tb_Report_FiveScreenStandard].[Dec] AS [Dec],
[tb_Report_FiveScreenStandard].[CreateTime] AS [CreateTime]
FROM [dbo].[tb_Report_FiveScreenStandard] AS [tb_Report_FiveScreenStandard]</DefiningQuery>
</EntitySet>
<EntitySet Name="tb_ReportPaintingScreen" EntityType="Self.tb_ReportPaintingScreen" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[tb_ReportPaintingScreen].[color] AS [color],
[tb_ReportPaintingScreen].[productInfo] AS [productInfo],
[tb_ReportPaintingScreen].[sumNum] AS [sumNum],
[tb_ReportPaintingScreen].[oncePassNum] AS [oncePassNum],
[tb_ReportPaintingScreen].[oncePassRate] AS [oncePassRate],
[tb_ReportPaintingScreen].[sumPassNum] AS [sumPassNum],
[tb_ReportPaintingScreen].[sumPassRate] AS [sumPassRate]
FROM [dbo].[tb_ReportPaintingScreen] AS [tb_ReportPaintingScreen]</DefiningQuery>
</EntitySet>
<EntitySet Name="tb_ReportPaintingScreen_pg" EntityType="Self.tb_ReportPaintingScreen_pg" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[tb_ReportPaintingScreen_pg].[color] AS [color],
[tb_ReportPaintingScreen_pg].[productInfo] AS [productInfo],
[tb_ReportPaintingScreen_pg].[sumNum] AS [sumNum],
[tb_ReportPaintingScreen_pg].[hgNum] AS [hgNum],
[tb_ReportPaintingScreen_pg].[DefectName1] AS [DefectName1],
[tb_ReportPaintingScreen_pg].[defectRate1] AS [defectRate1],
[tb_ReportPaintingScreen_pg].[DefectName2] AS [DefectName2],
[tb_ReportPaintingScreen_pg].[defectRate2] AS [defectRate2],
[tb_ReportPaintingScreen_pg].[DefectName3] AS [DefectName3],
[tb_ReportPaintingScreen_pg].[defectRate3] AS [defectRate3],
[tb_ReportPaintingScreen_pg].[DefectName4] AS [DefectName4],
[tb_ReportPaintingScreen_pg].[defectRate4] AS [defectRate4],
[tb_ReportPaintingScreen_pg].[DefectName5] AS [DefectName5],
[tb_ReportPaintingScreen_pg].[defectRate5] AS [defectRate5]
FROM [dbo].[tb_ReportPaintingScreen_pg] AS [tb_ReportPaintingScreen_pg]</DefiningQuery>
</EntitySet>
<EntitySet Name="test1" EntityType="Self.test1" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[test1].[ID] AS [ID],
[test1].[StationID] AS [StationID],
[test1].[StockNo] AS [StockNo],
[test1].[PrintType] AS [PrintType],
[test1].[OneBarCode] AS [OneBarCode],
[test1].[PlanID] AS [PlanID],
[test1].[CreateTime] AS [CreateTime],
[test1].[ProductName] AS [ProductName],
[test1].[PartNo] AS [PartNo],
[test1].[ProductDate] AS [ProductDate],
[test1].[ClassName] AS [ClassName]
FROM [dbo].[test1] AS [test1]</DefiningQuery>
</EntitySet>
<AssociationSet Name="FK_T_SYS_RO_REFERENCE_T_SYS_PO" Association="Self.FK_T_SYS_RO_REFERENCE_T_SYS_PO">
<End Role="T_Sys_Power" EntitySet="T_Sys_Power" />
<End Role="T_Sys_RoleLinkPower" EntitySet="T_Sys_RoleLinkPower" />
</AssociationSet>
</EntityContainer>
</Schema>