Files
Web_AUTSDATA_Mvc_Prod/AUTS.Domain/Entities/InHaosEntity.edmx
2025-11-20 13:11:05 +08:00

780 lines
47 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema Namespace="Uts_InHaosModel.Store" Provider="MySql.Data.MySqlClient" ProviderManifestToken="5.5" 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/11/edm/ssdl">
<EntityType Name="TBL_Customer">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="CustomerAbbr" Type="varchar" MaxLength="64" Nullable="false" />
<Property Name="CustomerName" Type="varchar" MaxLength="64" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
</EntityType>
<EntityType Name="TBL_FlowCtr">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ProjectID" Type="int" />
<Property Name="SUT_SN" Type="varchar" MaxLength="254" />
<Property Name="ProcessRecord" Type="varchar" MaxLength="254" />
</EntityType>
<EntityType Name="TBL_Log">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" Nullable="false" />
<Property Name="UserID" Type="int" />
<Property Name="DateTime" Type="datetime" Precision="0" />
<Property Name="Operation" Type="varchar" MaxLength="254" />
</EntityType>
<EntityType Name="TBL_OrderInternal">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="OrderID" Type="int" Nullable="false" />
<Property Name="InternalNo" Type="varchar" MaxLength="64" Nullable="false" />
<Property Name="CompanyID" Type="int" />
<Property Name="ProductID" Type="int" />
<Property Name="ProductTypeID" Type="int" />
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="ObjectiveYield" Type="int" Nullable="false" />
<Property Name="ObjectiveYieldTotal" Type="int" Nullable="false" />
<Property Name="OrderStatus" Type="int" />
<Property Name="DeliveryTime" Type="datetime" Precision="0" />
<Property Name="Station" Type="varchar" MaxLength="254" />
<Property Name="BarCode" Type="varchar" MaxLength="254" />
</EntityType>
<EntityType Name="TBL_Orders">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="CompanyID" Type="int" Nullable="false" />
<Property Name="ProductID" Type="int" Nullable="false" />
<Property Name="ProductTypeID" Type="int" Nullable="false" />
<Property Name="OrderNo" Type="varchar" MaxLength="64" Nullable="false" />
<Property Name="OrderCount" Type="int" Nullable="false" />
<Property Name="DeliveryTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="CostPrice" Type="float" Nullable="false" />
<Property Name="TransactPrice" Type="float" Nullable="false" />
<Property Name="OrderStatus" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="TBL_ProductionLine">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Name" Type="varchar" MaxLength="64" Nullable="false" />
<Property Name="Description" Type="varchar" MaxLength="255" />
<Property Name="Remark" Type="varchar" MaxLength="255" />
</EntityType>
<EntityType Name="TBL_ProductionPlan">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="OrderID" Type="int" Nullable="false" />
<Property Name="ProductionLineID" Type="int" Nullable="false" />
<Property Name="OrderInternalID" Type="int" Nullable="false" />
<Property Name="StationID" Type="int" Nullable="false" />
<Property Name="ProductionTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="ActualOutput" Type="int" Nullable="false" />
<Property Name="ObjectiveYield" Type="int" Nullable="false" />
<Property Name="Remark" Type="varchar" MaxLength="255" />
<Property Name="Sn_Start" Type="varchar" MaxLength="255" />
<Property Name="Sn_End" Type="varchar" MaxLength="255" />
<Property Name="ObjectiveYieldTotal" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="TBL_ProductTypes">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ProductType" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="Remark" Type="varchar" MaxLength="255" />
</EntityType>
<EntityType Name="TBL_Project">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ProductTypeID" Type="int" />
<Property Name="ProjectName" Type="varchar" MaxLength="64" Nullable="false" />
<Property Name="Description" Type="varchar" MaxLength="64" />
<Property Name="UserID" Type="int" />
<Property Name="CreateTime" Type="datetime" Precision="0" />
<Property Name="Remark" Type="varchar" MaxLength="254" />
<Property Name="PreviewImage" Type="blob" />
<Property Name="Price" Type="float" />
<Property Name="Currency" Type="varchar" MaxLength="10" />
<Property Name="IsValid" Type="tinyint" />
<Property Name="EolDate" Type="datetime" Precision="0" />
<Property Name="ImageName" Type="varchar" MaxLength="255" />
<Property Name="Type" Type="int" />
<Property Name="SnType" Type="int" />
</EntityType>
<EntityType Name="TBL_SnList">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="OrderID" Type="int" />
<Property Name="OrderInternalID" Type="int" />
<Property Name="ProductID" Type="int" Nullable="false" />
<Property Name="BarCode" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="UpdateTime" Type="datetime" Precision="0" />
<Property Name="SnType" Type="int" />
<Property Name="AssemblySn" Type="varchar" MaxLength="254" />
<Property Name="AssemblyTime" Type="datetime" Precision="0" />
<Property Name="S1" Type="datetime" Precision="0" />
<Property Name="S2" Type="datetime" Precision="0" />
<Property Name="S3" Type="datetime" Precision="0" />
<Property Name="S4" Type="datetime" Precision="0" />
<Property Name="S5" Type="datetime" Precision="0" />
<Property Name="S6" Type="datetime" Precision="0" />
<Property Name="S7" Type="datetime" Precision="0" />
<Property Name="S8" Type="datetime" Precision="0" />
<Property Name="S9" Type="datetime" Precision="0" />
<Property Name="S10" Type="datetime" Precision="0" />
<Property Name="S11" Type="datetime" Precision="0" />
<Property Name="S12" Type="datetime" Precision="0" />
<Property Name="Result1" Type="tinyint" />
<Property Name="Result2" Type="tinyint" />
<Property Name="Result3" Type="tinyint" />
<Property Name="Result4" Type="tinyint" />
<Property Name="Result5" Type="tinyint" />
<Property Name="Result6" Type="tinyint" />
<Property Name="Result7" Type="tinyint" />
<Property Name="Result8" Type="tinyint" />
<Property Name="Result9" Type="tinyint" />
<Property Name="Result10" Type="tinyint" />
<Property Name="Result11" Type="tinyint" />
<Property Name="Result12" Type="tinyint" />
</EntityType>
<EntityType Name="TBL_SnRules">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="OrderID" Type="int" Nullable="false" />
<Property Name="OrderInternalID" Type="int" Nullable="false" />
<Property Name="ProductID" Type="int" Nullable="false" />
<Property Name="StationIDs" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="Sn_Prefix" Type="varchar" MaxLength="255" />
<Property Name="Sn_Start" Type="varchar" MaxLength="11" Nullable="false" />
<Property Name="Sn_End" Type="varchar" MaxLength="11" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
</EntityType>
<EntityType Name="TBL_StationList">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ProjectID" Type="int" Nullable="false" />
<Property Name="StationName" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="StationType" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="ArtworkOrder" Type="int" Nullable="false" />
<Property Name="StationDesc" Type="varchar" MaxLength="255" />
<Property Name="LastUpdateDate" Type="datetime" Precision="0" />
<Property Name="LogTableName" Type="varchar" MaxLength="255" />
<Property Name="BinPackage" Type="blob" />
<Property Name="BinPackageMd5" Type="varchar" MaxLength="255" />
<Property Name="PreviewImage" Type="blob" />
<Property Name="Remark" Type="varchar" MaxLength="255" />
<Property Name="PacketName" Type="varchar" MaxLength="255" />
<Property Name="SnListOrder" Type="int" />
<Property Name="IsValid" Type="tinyint" />
<Property Name="SnType" Type="int" />
<Property Name="EditPwd" Type="varchar" MaxLength="32" />
<Property Name="ReleasePwd" Type="varchar" MaxLength="32" />
<Property Name="PacketMd5" Type="varchar" MaxLength="32" />
</EntityType>
<EntityType Name="TBL_SyncList">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="CurrentDate" Type="datetime" Precision="0" />
<Property Name="TableName" Type="varchar" MaxLength="254" Nullable="false" />
<Property Name="RevisionID" Type="int" Nullable="false" />
<Property Name="SyncType" Type="varchar" MaxLength="254" />
</EntityType>
<!--<EntityType Name="TBL_SyncList">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="CurrentDate" Type="datetime" Precision="0" />
<Property Name="TableName" Type="varchar" MaxLength="254" Nullable="false" />
<Property Name="RevisionID" Type="int" Nullable="false" />
<Property Name="SyncType" Type="varchar" MaxLength="254" />
</EntityType>-->
<EntityType Name="TBL_RepairRequest">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="UserID" Type="int" Nullable="false"/>
<Property Name="RepairRequestNum" Type="varchar" MaxLength="254" Nullable="false" />
<Property Name="ProductID" Type="int" Nullable="false" />
<Property Name="Barcode" Type="varchar" MaxLength="254" Nullable="false" />
<Property Name="ProductImage" Type="varchar" MaxLength="254" Nullable="true" />
<Property Name="RejectSource" Type="varchar" MaxLength="254" Nullable="true" />
<Property Name="RejectCode" Type="varchar" MaxLength="254" Nullable="true" />
<Property Name="RejectDesc" Type="varchar" MaxLength="254" Nullable="true" />
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="true"/>
<Property Name="UpdateTime" Type="datetime" Precision="0" Nullable="true"/>
<Property Name="RepairProgress" Type="varchar" MaxLength="64" Nullable="true" />
<Property Name="RepairResult" Type="int" Nullable="true" />
<Property Name="RepairLogID" Type="int" Nullable="true" />
<Property Name="Repairier" Type="int" Nullable="true" />
<Property Name="Remark" Type="varchar" MaxLength="254" Nullable="true" />
<Property Name="ProductlMarking" Type="varchar" MaxLength="254" Nullable="true" />
</EntityType>
<EntityContainer Name="Uts_InHaosModelStoreContainer">
<EntitySet Name="TBL_Customer" EntityType="Self.TBL_Customer" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_FlowCtr" EntityType="Self.TBL_FlowCtr" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_Log" EntityType="Self.TBL_Log" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_OrderInternal" EntityType="Self.TBL_OrderInternal" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_Orders" EntityType="Self.TBL_Orders" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_ProductionLine" EntityType="Self.TBL_ProductionLine" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_ProductionPlan" EntityType="Self.TBL_ProductionPlan" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_ProductTypes" EntityType="Self.TBL_ProductTypes" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_Project" EntityType="Self.TBL_Project" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_SnList" EntityType="Self.TBL_SnList" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_SnRules" EntityType="Self.TBL_SnRules" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_StationList" EntityType="Self.TBL_StationList" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_SyncList" EntityType="Self.TBL_SyncList" Schema="uts_inhaos" store:Type="Tables" />
<EntitySet Name="TBL_RepairRequest" EntityType="Self.TBL_RepairRequest" Schema="uts_inhaos" store:Type="Tables" />
</EntityContainer>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="Uts_InHaosModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
<EntityContainer Name="Uts_InHaosEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="TBL_FlowCtr" EntityType="Uts_InHaosModel.TBL_FlowCtr" />
<EntitySet Name="TBL_Log" EntityType="Uts_InHaosModel.TBL_Log" />
<EntitySet Name="TBL_ProductionLine" EntityType="Uts_InHaosModel.TBL_ProductionLine" />
<EntitySet Name="TBL_SyncList" EntityType="Uts_InHaosModel.TBL_SyncList" />
<EntitySet Name="TBL_ProductionPlan" EntityType="Uts_InHaosModel.TBL_ProductionPlan" />
<EntitySet Name="TBL_SnRules" EntityType="Uts_InHaosModel.TBL_SnRules" />
<EntitySet Name="TBL_SnList" EntityType="Uts_InHaosModel.TBL_SnList" />
<EntitySet Name="TBL_ProductTypes" EntityType="Uts_InHaosModel.TBL_ProductTypes" />
<EntitySet Name="TBL_Customer" EntityType="Uts_InHaosModel.TBL_Customer" />
<EntitySet Name="TBL_Project" EntityType="Uts_InHaosModel.TBL_Project" />
<EntitySet Name="TBL_StationList" EntityType="Uts_InHaosModel.TBL_StationList" />
<EntitySet Name="TBL_OrderInternal" EntityType="Uts_InHaosModel.TBL_OrderInternal" />
<EntitySet Name="TBL_Orders" EntityType="Uts_InHaosModel.TBL_Orders" />
<EntitySet Name="TBL_RepairRequestSet" EntityType="Uts_InHaosModel.TBL_RepairRequest" />
</EntityContainer>
<EntityType Name="TBL_FlowCtr">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ProjectID" Type="Int32" />
<Property Name="SUT_SN" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="ProcessRecord" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBL_Log">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" />
<Property Name="UserID" Type="Int32" />
<Property Name="DateTime" Type="DateTime" />
<Property Name="Operation" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBL_ProductionLine">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="Description" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBL_SyncList">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="CurrentDate" Type="DateTime" />
<Property Name="TableName" Type="String" Nullable="false" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="RevisionID" Type="Int32" Nullable="false" />
<Property Name="SyncType" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBL_ProductionPlan">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="OrderID" Type="Int32" Nullable="false" />
<Property Name="ProductionLineID" Type="Int32" Nullable="false" />
<Property Name="ProductionTime" Type="DateTime" Nullable="false" />
<Property Name="ActualOutput" Type="Int32" Nullable="false" />
<Property Name="ObjectiveYield" Type="Int32" Nullable="false" />
<Property Name="Remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Sn_Start" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Sn_End" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="OrderInternalID" Type="Int32" Nullable="false" />
<Property Name="ObjectiveYieldTotal" Type="Int32" Nullable="false" />
<Property Name="StationID" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TBL_SnRules">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="OrderID" Type="Int32" Nullable="false" />
<Property Name="OrderInternalID" Type="Int32" Nullable="false" />
<Property Name="ProductID" Type="Int32" Nullable="false" />
<Property Name="StationIDs" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Sn_Prefix" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Sn_Start" Type="String" Nullable="false" MaxLength="11" FixedLength="false" Unicode="false" />
<Property Name="Sn_End" Type="String" Nullable="false" MaxLength="11" FixedLength="false" Unicode="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
</EntityType>
<EntityType Name="TBL_SnList">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="OrderID" Type="Int32" Nullable="false" />
<Property Name="OrderInternalID" Type="Int32" Nullable="false" />
<Property Name="ProductID" Type="Int32" Nullable="false" />
<Property Name="BarCode" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
<Property Name="S1" Type="DateTime" />
<Property Name="S2" Type="DateTime" />
<Property Name="S3" Type="DateTime" />
<Property Name="S4" Type="DateTime" />
<Property Name="S5" Type="DateTime" />
<Property Name="S6" Type="DateTime" />
<Property Name="S7" Type="DateTime" />
<Property Name="S8" Type="DateTime" />
<Property Name="S9" Type="DateTime" />
<Property Name="S10" Type="DateTime" />
<Property Name="S11" Type="DateTime" />
<Property Name="S12" Type="DateTime" />
<Property Name="UpdateTime" Type="DateTime" />
<Property Name="Result1" Type="SByte" />
<Property Name="Result2" Type="SByte" />
<Property Name="Result3" Type="SByte" />
<Property Name="Result4" Type="SByte" />
<Property Name="Result5" Type="SByte" />
<Property Name="Result6" Type="SByte" />
<Property Name="Result7" Type="SByte" />
<Property Name="Result8" Type="SByte" />
<Property Name="Result9" Type="SByte" />
<Property Name="Result10" Type="SByte" />
<Property Name="Result11" Type="SByte" />
<Property Name="Result12" Type="SByte" />
<Property Name="SnType" Type="Int32" />
<Property Name="AssemblySn" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="AssemblyTime" Type="DateTime" />
</EntityType>
<EntityType Name="TBL_ProductTypes">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ProductType" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBL_Customer">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="CustomerAbbr" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="CustomerName" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
</EntityType>
<EntityType Name="TBL_Project">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ProductTypeID" Type="Int32" />
<Property Name="ProjectName" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="Description" Type="String" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="UserID" Type="Int32" />
<Property Name="CreateTime" Type="DateTime" />
<Property Name="Remark" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="PreviewImage" Type="Binary" MaxLength="Max" FixedLength="false" />
<Property Name="Price" Type="Single" />
<Property Name="Currency" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="IsValid" Type="SByte" />
<Property Name="EolDate" Type="DateTime" />
<Property Name="ImageName" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Type" Type="Int32" />
<Property Name="SnType" Type="Int32" />
</EntityType>
<EntityType Name="TBL_StationList">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ProjectID" Type="Int32" Nullable="false" />
<Property Name="StationName" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="StationType" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="ArtworkOrder" Type="Int32" Nullable="false" />
<Property Name="StationDesc" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="LastUpdateDate" Type="DateTime" />
<Property Name="LogTableName" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="BinPackage" Type="Binary" MaxLength="Max" FixedLength="false" />
<Property Name="BinPackageMd5" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="PreviewImage" Type="Binary" MaxLength="Max" FixedLength="false" />
<Property Name="Remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="PacketName" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="SnListOrder" Type="Int32" />
<Property Name="IsValid" Type="SByte" />
<Property Name="SnType" Type="Int32" />
<Property Name="EditPwd" Type="String" MaxLength="32" FixedLength="false" Unicode="false" />
<Property Name="ReleasePwd" Type="String" MaxLength="32" FixedLength="false" Unicode="false" />
<Property Name="PacketMd5" Type="String" MaxLength="32" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBL_OrderInternal">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="OrderID" Type="Int32" Nullable="false" />
<Property Name="InternalNo" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="CompanyID" Type="Int32" />
<Property Name="ProductID" Type="Int32" />
<Property Name="ProductTypeID" Type="Int32" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
<Property Name="ObjectiveYield" Type="Int32" Nullable="false" />
<Property Name="ObjectiveYieldTotal" Type="Int32" Nullable="false" />
<Property Name="OrderStatus" Type="Int32" />
<Property Name="DeliveryTime" Type="DateTime" />
<Property Name="Station" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="BarCode" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBL_Orders">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="CompanyID" Type="Int32" Nullable="false" />
<Property Name="ProductID" Type="Int32" Nullable="false" />
<Property Name="ProductTypeID" Type="Int32" Nullable="false" />
<Property Name="OrderNo" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="OrderCount" Type="Int32" Nullable="false" />
<Property Name="DeliveryTime" Type="DateTime" Nullable="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
<Property Name="CostPrice" Type="Single" Nullable="false" />
<Property Name="TransactPrice" Type="Single" Nullable="false" />
<Property Name="OrderStatus" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TBL_RepairRequest">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="UserID" Type="Int32" Nullable="false" />
<Property Name="RepairRequestNum" Type="String" Nullable="false" />
<Property Name="ProductID" Type="Int32" Nullable="false" />
<Property Name="Barcode" Type="String" Nullable="false" />
<Property Name="ProductImage" Type="String" Nullable="false" />
<Property Name="RejectSource" Type="String" Nullable="false" />
<Property Name="RejectCode" Type="String" Nullable="false" />
<Property Name="RejectDesc" Type="String" Nullable="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
<Property Name="UpdateTime" Type="DateTime" Nullable="false" />
<Property Name="RepairProgress" Type="String" Nullable="false" />
<Property Name="RepairResult" Type="Int32" Nullable="false" />
<Property Name="RepairLogID" Type="Int32" Nullable="false" />
<Property Name="Repairier" Type="Int32" Nullable="false" />
<Property Name="Remark" Type="String" Nullable="false" />
</EntityType>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
<edmx:Mappings>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
<EntityContainerMapping StorageEntityContainer="Uts_InHaosModelStoreContainer" CdmEntityContainer="Uts_InHaosEntities">
<EntitySetMapping Name="TBL_FlowCtr">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_FlowCtr">
<MappingFragment StoreEntitySet="TBL_FlowCtr">
<ScalarProperty Name="ProcessRecord" ColumnName="ProcessRecord" />
<ScalarProperty Name="SUT_SN" ColumnName="SUT_SN" />
<ScalarProperty Name="ProjectID" ColumnName="ProjectID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_Log">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_Log">
<MappingFragment StoreEntitySet="TBL_Log">
<ScalarProperty Name="Operation" ColumnName="Operation" />
<ScalarProperty Name="DateTime" ColumnName="DateTime" />
<ScalarProperty Name="UserID" ColumnName="UserID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_ProductionLine">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_ProductionLine">
<MappingFragment StoreEntitySet="TBL_ProductionLine">
<ScalarProperty Name="Remark" ColumnName="Remark" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_SyncList">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_SyncList">
<MappingFragment StoreEntitySet="TBL_SyncList">
<ScalarProperty Name="SyncType" ColumnName="SyncType" />
<ScalarProperty Name="RevisionID" ColumnName="RevisionID" />
<ScalarProperty Name="TableName" ColumnName="TableName" />
<ScalarProperty Name="CurrentDate" ColumnName="CurrentDate" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_ProductionPlan">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_ProductionPlan">
<MappingFragment StoreEntitySet="TBL_ProductionPlan">
<ScalarProperty Name="StationID" ColumnName="StationID" />
<ScalarProperty Name="ObjectiveYieldTotal" ColumnName="ObjectiveYieldTotal" />
<ScalarProperty Name="OrderInternalID" ColumnName="OrderInternalID" />
<ScalarProperty Name="Sn_End" ColumnName="Sn_End" />
<ScalarProperty Name="Sn_Start" ColumnName="Sn_Start" />
<ScalarProperty Name="Remark" ColumnName="Remark" />
<ScalarProperty Name="ObjectiveYield" ColumnName="ObjectiveYield" />
<ScalarProperty Name="ActualOutput" ColumnName="ActualOutput" />
<ScalarProperty Name="ProductionTime" ColumnName="ProductionTime" />
<ScalarProperty Name="ProductionLineID" ColumnName="ProductionLineID" />
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_SnRules">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_SnRules">
<MappingFragment StoreEntitySet="TBL_SnRules">
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="Sn_End" ColumnName="Sn_End" />
<ScalarProperty Name="Sn_Start" ColumnName="Sn_Start" />
<ScalarProperty Name="Sn_Prefix" ColumnName="Sn_Prefix" />
<ScalarProperty Name="StationIDs" ColumnName="StationIDs" />
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
<ScalarProperty Name="OrderInternalID" ColumnName="OrderInternalID" />
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_SnList">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_SnList">
<MappingFragment StoreEntitySet="TBL_SnList">
<ScalarProperty Name="AssemblyTime" ColumnName="AssemblyTime" />
<ScalarProperty Name="AssemblySn" ColumnName="AssemblySn" />
<ScalarProperty Name="SnType" ColumnName="SnType" />
<ScalarProperty Name="Result12" ColumnName="Result12" />
<ScalarProperty Name="Result11" ColumnName="Result11" />
<ScalarProperty Name="Result10" ColumnName="Result10" />
<ScalarProperty Name="Result9" ColumnName="Result9" />
<ScalarProperty Name="Result8" ColumnName="Result8" />
<ScalarProperty Name="Result7" ColumnName="Result7" />
<ScalarProperty Name="Result6" ColumnName="Result6" />
<ScalarProperty Name="Result5" ColumnName="Result5" />
<ScalarProperty Name="Result4" ColumnName="Result4" />
<ScalarProperty Name="Result3" ColumnName="Result3" />
<ScalarProperty Name="Result2" ColumnName="Result2" />
<ScalarProperty Name="Result1" ColumnName="Result1" />
<ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" />
<ScalarProperty Name="S12" ColumnName="S12" />
<ScalarProperty Name="S11" ColumnName="S11" />
<ScalarProperty Name="S10" ColumnName="S10" />
<ScalarProperty Name="S9" ColumnName="S9" />
<ScalarProperty Name="S8" ColumnName="S8" />
<ScalarProperty Name="S7" ColumnName="S7" />
<ScalarProperty Name="S6" ColumnName="S6" />
<ScalarProperty Name="S5" ColumnName="S5" />
<ScalarProperty Name="S4" ColumnName="S4" />
<ScalarProperty Name="S3" ColumnName="S3" />
<ScalarProperty Name="S2" ColumnName="S2" />
<ScalarProperty Name="S1" ColumnName="S1" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="BarCode" ColumnName="BarCode" />
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
<ScalarProperty Name="OrderInternalID" ColumnName="OrderInternalID" />
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_ProductTypes">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_ProductTypes">
<MappingFragment StoreEntitySet="TBL_ProductTypes">
<ScalarProperty Name="Remark" ColumnName="Remark" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_Customer">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_Customer">
<MappingFragment StoreEntitySet="TBL_Customer">
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="CustomerName" ColumnName="CustomerName" />
<ScalarProperty Name="CustomerAbbr" ColumnName="CustomerAbbr" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_Project">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_Project">
<MappingFragment StoreEntitySet="TBL_Project">
<ScalarProperty Name="SnType" ColumnName="SnType" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="ImageName" ColumnName="ImageName" />
<ScalarProperty Name="EolDate" ColumnName="EolDate" />
<ScalarProperty Name="IsValid" ColumnName="IsValid" />
<ScalarProperty Name="Currency" ColumnName="Currency" />
<ScalarProperty Name="Price" ColumnName="Price" />
<ScalarProperty Name="PreviewImage" ColumnName="PreviewImage" />
<ScalarProperty Name="Remark" ColumnName="Remark" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="UserID" ColumnName="UserID" />
<ScalarProperty Name="Description" ColumnName="Description" />
<ScalarProperty Name="ProjectName" ColumnName="ProjectName" />
<ScalarProperty Name="ProductTypeID" ColumnName="ProductTypeID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_StationList">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_StationList">
<MappingFragment StoreEntitySet="TBL_StationList">
<ScalarProperty Name="PacketMd5" ColumnName="PacketMd5" />
<ScalarProperty Name="ReleasePwd" ColumnName="ReleasePwd" />
<ScalarProperty Name="EditPwd" ColumnName="EditPwd" />
<ScalarProperty Name="SnType" ColumnName="SnType" />
<ScalarProperty Name="IsValid" ColumnName="IsValid" />
<ScalarProperty Name="SnListOrder" ColumnName="SnListOrder" />
<ScalarProperty Name="PacketName" ColumnName="PacketName" />
<ScalarProperty Name="Remark" ColumnName="Remark" />
<ScalarProperty Name="PreviewImage" ColumnName="PreviewImage" />
<ScalarProperty Name="BinPackageMd5" ColumnName="BinPackageMd5" />
<ScalarProperty Name="BinPackage" ColumnName="BinPackage" />
<ScalarProperty Name="LogTableName" ColumnName="LogTableName" />
<ScalarProperty Name="LastUpdateDate" ColumnName="LastUpdateDate" />
<ScalarProperty Name="StationDesc" ColumnName="StationDesc" />
<ScalarProperty Name="ArtworkOrder" ColumnName="ArtworkOrder" />
<ScalarProperty Name="StationType" ColumnName="StationType" />
<ScalarProperty Name="StationName" ColumnName="StationName" />
<ScalarProperty Name="ProjectID" ColumnName="ProjectID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_OrderInternal">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_OrderInternal">
<MappingFragment StoreEntitySet="TBL_OrderInternal">
<ScalarProperty Name="BarCode" ColumnName="BarCode" />
<ScalarProperty Name="Station" ColumnName="Station" />
<ScalarProperty Name="DeliveryTime" ColumnName="DeliveryTime" />
<ScalarProperty Name="OrderStatus" ColumnName="OrderStatus" />
<ScalarProperty Name="ObjectiveYieldTotal" ColumnName="ObjectiveYieldTotal" />
<ScalarProperty Name="ObjectiveYield" ColumnName="ObjectiveYield" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="ProductTypeID" ColumnName="ProductTypeID" />
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
<ScalarProperty Name="CompanyID" ColumnName="CompanyID" />
<ScalarProperty Name="InternalNo" ColumnName="InternalNo" />
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_Orders">
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_Orders">
<MappingFragment StoreEntitySet="TBL_Orders">
<ScalarProperty Name="OrderStatus" ColumnName="OrderStatus" />
<ScalarProperty Name="TransactPrice" ColumnName="TransactPrice" />
<ScalarProperty Name="CostPrice" ColumnName="CostPrice" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="DeliveryTime" ColumnName="DeliveryTime" />
<ScalarProperty Name="OrderCount" ColumnName="OrderCount" />
<ScalarProperty Name="OrderNo" ColumnName="OrderNo" />
<ScalarProperty Name="ProductTypeID" ColumnName="ProductTypeID" />
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
<ScalarProperty Name="CompanyID" ColumnName="CompanyID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_RepairRequestSet">
<EntityTypeMapping TypeName="IsTypeOf(Uts_InHaosModel.TBL_RepairRequest)">
<MappingFragment StoreEntitySet="TBL_RepairRequest">
<!--<ScalarProperty Name="ProductlMarking" ColumnName="ProductlMarking" />-->
<ScalarProperty Name="Remark" ColumnName="Remark" />
<ScalarProperty Name="Repairier" ColumnName="Repairier" />
<ScalarProperty Name="RepairLogID" ColumnName="RepairLogID" />
<ScalarProperty Name="RepairResult" ColumnName="RepairResult" />
<ScalarProperty Name="RepairProgress" ColumnName="RepairProgress" />
<ScalarProperty Name="UpdateTime" ColumnName="UpdateTime" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="RejectDesc" ColumnName="RejectDesc" />
<ScalarProperty Name="RejectCode" ColumnName="RejectCode" />
<ScalarProperty Name="RejectSource" ColumnName="RejectSource" />
<ScalarProperty Name="ProductImage" ColumnName="ProductImage" />
<ScalarProperty Name="Barcode" ColumnName="Barcode" />
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
<ScalarProperty Name="RepairRequestNum" ColumnName="RepairRequestNum" />
<ScalarProperty Name="UserID" ColumnName="UserID" />
<ScalarProperty Name="ID" ColumnName="ID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping>
</Mapping>
</edmx:Mappings>
</edmx:Runtime>
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
<Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
<Connection>
<DesignerInfoPropertySet>
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
</DesignerInfoPropertySet>
</Connection>
<Options>
<DesignerInfoPropertySet>
<DesignerProperty Name="ValidateOnBuild" Value="true" />
<DesignerProperty Name="EnablePluralization" Value="false" />
<DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
<DesignerProperty Name="UseLegacyProvider" Value="false" />
<DesignerProperty Name="CodeGenerationStrategy" Value="无" />
</DesignerInfoPropertySet>
</Options>
<!-- Diagram content (shape and connector positions) -->
<Diagrams></Diagrams>
</Designer>
</edmx:Edmx>