初始化

This commit is contained in:
2025-11-25 17:41:24 +08:00
commit 4cdf0f0f85
3383 changed files with 1050962 additions and 0 deletions

View File

@@ -0,0 +1,935 @@
<?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="hfModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" 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="__MigrationHistory">
<Key>
<PropertyRef Name="MigrationId" />
</Key>
<Property Name="MigrationId" Type="nvarchar" MaxLength="150" Nullable="false" />
<Property Name="ContextKey" Type="nvarchar" MaxLength="300" Nullable="false" />
<Property Name="Model" Type="varbinary(max)" Nullable="false" />
<Property Name="ProductVersion" Type="nvarchar" MaxLength="32" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.AppAutho”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="AppAutho">
<Key>
<PropertyRef Name="AppId" />
<PropertyRef Name="AuthorityId" />
<PropertyRef Name="Id" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="AppId" Type="int" Nullable="false" />
<Property Name="AuthorityId" Type="int" Nullable="false" />
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.ApplicationDomain”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="ApplicationDomain">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="AppName" />
<PropertyRef Name="IsValid" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="AppName" Type="nvarchar(max)" Nullable="false" />
<Property Name="Desc" Type="nvarchar(max)" />
<Property Name="CreateTime" Type="nvarchar(max)" />
<Property Name="IsValid" Type="int" Nullable="false" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.Authority”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="Authority">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="AuthorityName" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="AuthorityName" Type="nvarchar(max)" Nullable="false" />
<Property Name="Desc" Type="nvarchar(max)" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
<Property Name="IsValid" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.AuthoStatusType”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="AuthoStatusType">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="Name" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Name" Type="nvarchar(max)" Nullable="false" />
<Property Name="Desc" Type="nvarchar(max)" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
</EntityType>
<EntityType Name="DbLog">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Content" Type="nvarchar(max)" />
<Property Name="Uid" Type="nvarchar(max)" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="Type" Type="int" Nullable="false" />
<Property Name="Ip" Type="nvarchar" MaxLength="50" />
<Property Name="Client" Type="nvarchar(max)" />
<Property Name="location" Type="nvarchar" MaxLength="150" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.Hosts”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="Hosts">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="HotelID" />
<PropertyRef Name="Status" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="HotelID" Type="int" Nullable="false" />
<Property Name="RoomNumber" Type="nvarchar(max)" />
<Property Name="Status" Type="int" Nullable="false" />
<Property Name="Desc" Type="nvarchar(max)" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="RoomStatusID" Type="int" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.HotelGroups”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="HotelGroups">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ParentId" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Name" Type="nvarchar(max)" />
<Property Name="ParentId" Type="int" Nullable="false" />
<Property Name="Desc" Type="nvarchar(max)" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.Hotels”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="Hotels">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="GroupId" />
<PropertyRef Name="Status" />
<PropertyRef Name="IsApprove" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Name" Type="nvarchar(max)" />
<Property Name="Desc" Type="nvarchar(max)" />
<Property Name="GroupId" Type="int" Nullable="false" />
<Property Name="Code" Type="int" />
<Property Name="Status" Type="int" Nullable="false" />
<Property Name="IsApprove" Type="int" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="Organization">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="OrganizationName" Type="nvarchar(max)" />
<Property Name="Desc" Type="nvarchar(max)" />
<Property Name="IsDefault" Type="int" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Nullable="false" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
<Property Name="IsValid" Type="int" Nullable="false" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.OrgUsers”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="OrgUsers">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="Id" />
<PropertyRef Name="OrgId" />
</Key>
<Property Name="UserId" Type="int" Nullable="false" />
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="OrgId" Type="int" Nullable="false" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.TBL_Multilingual”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="TBL_Multilingual">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Language" Type="nvarchar" MaxLength="254" />
<Property Name="ApplicationID" Type="nvarchar" MaxLength="254" />
<Property Name="Version" Type="nvarchar" MaxLength="254" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.TBL_MultilingualApps”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="TBL_MultilingualApps">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Application" Type="nvarchar" MaxLength="254" />
<Property Name="Remark" Type="nvarchar" MaxLength="254" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.TBL_MultilingualData”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="TBL_MultilingualData">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Chinese" Type="nvarchar" MaxLength="254" />
<Property Name="English" Type="nvarchar" MaxLength="254" />
<Property Name="ApplicationID" Type="nvarchar" MaxLength="254" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.TBL_RCU_InfraredPacket”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="TBL_RCU_InfraredPacket">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Type" Type="varchar" MaxLength="254" />
<Property Name="Brand" Type="varchar" MaxLength="254" />
<Property Name="Model" Type="varchar" MaxLength="254" />
<Property Name="Version" Type="varchar" MaxLength="254" />
<Property Name="CreateDate" Type="datetime" />
<Property Name="PacketName" Type="varchar" MaxLength="254" />
<Property Name="PacketData" Type="image" />
<Property Name="PacketMD5" Type="varchar" MaxLength="254" />
<Property Name="Remark" Type="text" />
<Property Name="OldPacket" Type="bit" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.UserAuthoes”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="UserAuthoes">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="AuthorityId" />
<PropertyRef Name="HotelId" />
<PropertyRef Name="Id" />
<PropertyRef Name="AuthotypeId" />
</Key>
<Property Name="UserId" Type="int" Nullable="false" />
<Property Name="AuthorityId" Type="int" Nullable="false" />
<Property Name="HotelId" Type="int" Nullable="false" />
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="AuthotypeId" Type="int" Nullable="false" />
<Property Name="CreateTime" Type="nvarchar(max)" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“hf.dbo.UserInfo”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="UserInfo">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="Uid" />
<PropertyRef Name="Pwd" />
<PropertyRef Name="HeadImg" />
<PropertyRef Name="Sex" />
<PropertyRef Name="IsImport" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Uid" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Pwd" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="PwdSee" Type="nvarchar(max)" />
<Property Name="HeadImg" Type="nvarchar(max)" Nullable="false" />
<Property Name="Sex" Type="int" Nullable="false" />
<Property Name="Age" Type="int" />
<Property Name="IsValid" Type="int" />
<Property Name="Desc" Type="nvarchar(max)" />
<Property Name="CreateTime" Type="datetime" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
<Property Name="HotelID" Type="int" />
<Property Name="HotelGroupID" Type="int" />
<Property Name="IsImport" Type="int" Nullable="false" />
<Property Name="Company" Type="int" />
</EntityType>
<Association Name="FK_dbo_OrgUsers_dbo_Organization_OrgId">
<End Role="Organization" Type="Self.Organization" Multiplicity="1" />
<End Role="OrgUsers" Type="Self.OrgUsers" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Organization">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgUsers">
<PropertyRef Name="OrgId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="hfModelStoreContainer">
<EntitySet Name="__MigrationHistory" EntityType="Self.__MigrationHistory" Schema="dbo" store:Type="Tables" />
<EntitySet Name="DbLog" EntityType="Self.DbLog" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Organization" EntityType="Self.Organization" Schema="dbo" store:Type="Tables" />
<EntitySet Name="AppAutho" EntityType="Self.AppAutho" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[AppAutho].[AppId] AS [AppId],
[AppAutho].[AuthorityId] AS [AuthorityId],
[AppAutho].[Id] AS [Id],
[AppAutho].[CreateTime] AS [CreateTime],
[AppAutho].[CreatedBy] AS [CreatedBy]
FROM [dbo].[AppAutho] AS [AppAutho]</DefiningQuery>
</EntitySet>
<EntitySet Name="ApplicationDomain" EntityType="Self.ApplicationDomain" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[ApplicationDomain].[Id] AS [Id],
[ApplicationDomain].[AppName] AS [AppName],
[ApplicationDomain].[Desc] AS [Desc],
[ApplicationDomain].[CreateTime] AS [CreateTime],
[ApplicationDomain].[IsValid] AS [IsValid],
[ApplicationDomain].[CreatedBy] AS [CreatedBy]
FROM [dbo].[ApplicationDomain] AS [ApplicationDomain]</DefiningQuery>
</EntitySet>
<EntitySet Name="Authority" EntityType="Self.Authority" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[Authority].[Id] AS [Id],
[Authority].[AuthorityName] AS [AuthorityName],
[Authority].[Desc] AS [Desc],
[Authority].[CreateTime] AS [CreateTime],
[Authority].[CreatedBy] AS [CreatedBy],
[Authority].[IsValid] AS [IsValid]
FROM [dbo].[Authority] AS [Authority]</DefiningQuery>
</EntitySet>
<EntitySet Name="AuthoStatusType" EntityType="Self.AuthoStatusType" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[AuthoStatusType].[Id] AS [Id],
[AuthoStatusType].[Name] AS [Name],
[AuthoStatusType].[Desc] AS [Desc],
[AuthoStatusType].[CreateTime] AS [CreateTime],
[AuthoStatusType].[CreatedBy] AS [CreatedBy]
FROM [dbo].[AuthoStatusType] AS [AuthoStatusType]</DefiningQuery>
</EntitySet>
<EntitySet Name="Hosts" EntityType="Self.Hosts" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[Hosts].[Id] AS [Id],
[Hosts].[HotelID] AS [HotelID],
[Hosts].[RoomNumber] AS [RoomNumber],
[Hosts].[Status] AS [Status],
[Hosts].[Desc] AS [Desc],
[Hosts].[CreateTime] AS [CreateTime],
[Hosts].[RoomStatusID] AS [RoomStatusID]
FROM [dbo].[Hosts] AS [Hosts]</DefiningQuery>
</EntitySet>
<EntitySet Name="HotelGroups" EntityType="Self.HotelGroups" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[HotelGroups].[Id] AS [Id],
[HotelGroups].[Name] AS [Name],
[HotelGroups].[ParentId] AS [ParentId],
[HotelGroups].[Desc] AS [Desc],
[HotelGroups].[CreateTime] AS [CreateTime]
FROM [dbo].[HotelGroups] AS [HotelGroups]</DefiningQuery>
</EntitySet>
<EntitySet Name="Hotels" EntityType="Self.Hotels" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[Hotels].[Id] AS [Id],
[Hotels].[Name] AS [Name],
[Hotels].[Desc] AS [Desc],
[Hotels].[GroupId] AS [GroupId],
[Hotels].[Code] AS [Code],
[Hotels].[Status] AS [Status],
[Hotels].[IsApprove] AS [IsApprove],
[Hotels].[CreateTime] AS [CreateTime]
FROM [dbo].[Hotels] AS [Hotels]</DefiningQuery>
</EntitySet>
<EntitySet Name="OrgUsers" EntityType="Self.OrgUsers" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[OrgUsers].[UserId] AS [UserId],
[OrgUsers].[Id] AS [Id],
[OrgUsers].[OrgId] AS [OrgId],
[OrgUsers].[CreateTime] AS [CreateTime],
[OrgUsers].[CreatedBy] AS [CreatedBy]
FROM [dbo].[OrgUsers] AS [OrgUsers]</DefiningQuery>
</EntitySet>
<EntitySet Name="TBL_Multilingual" EntityType="Self.TBL_Multilingual" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TBL_Multilingual].[ID] AS [ID],
[TBL_Multilingual].[Language] AS [Language],
[TBL_Multilingual].[ApplicationID] AS [ApplicationID],
[TBL_Multilingual].[Version] AS [Version]
FROM [dbo].[TBL_Multilingual] AS [TBL_Multilingual]</DefiningQuery>
</EntitySet>
<EntitySet Name="TBL_MultilingualApps" EntityType="Self.TBL_MultilingualApps" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TBL_MultilingualApps].[ID] AS [ID],
[TBL_MultilingualApps].[Application] AS [Application],
[TBL_MultilingualApps].[Remark] AS [Remark]
FROM [dbo].[TBL_MultilingualApps] AS [TBL_MultilingualApps]</DefiningQuery>
</EntitySet>
<EntitySet Name="TBL_MultilingualData" EntityType="Self.TBL_MultilingualData" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TBL_MultilingualData].[ID] AS [ID],
[TBL_MultilingualData].[Chinese] AS [Chinese],
[TBL_MultilingualData].[English] AS [English],
[TBL_MultilingualData].[ApplicationID] AS [ApplicationID]
FROM [dbo].[TBL_MultilingualData] AS [TBL_MultilingualData]</DefiningQuery>
</EntitySet>
<EntitySet Name="TBL_RCU_InfraredPacket" EntityType="Self.TBL_RCU_InfraredPacket" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[TBL_RCU_InfraredPacket].[ID] AS [ID],
[TBL_RCU_InfraredPacket].[Type] AS [Type],
[TBL_RCU_InfraredPacket].[Brand] AS [Brand],
[TBL_RCU_InfraredPacket].[Model] AS [Model],
[TBL_RCU_InfraredPacket].[Version] AS [Version],
[TBL_RCU_InfraredPacket].[CreateDate] AS [CreateDate],
[TBL_RCU_InfraredPacket].[PacketName] AS [PacketName],
[TBL_RCU_InfraredPacket].[PacketData] AS [PacketData],
[TBL_RCU_InfraredPacket].[PacketMD5] AS [PacketMD5],
[TBL_RCU_InfraredPacket].[Remark] AS [Remark],
[TBL_RCU_InfraredPacket].[OldPacket] AS [OldPacket]
FROM [dbo].[TBL_RCU_InfraredPacket] AS [TBL_RCU_InfraredPacket]</DefiningQuery>
</EntitySet>
<EntitySet Name="UserAuthoes" EntityType="Self.UserAuthoes" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[UserAuthoes].[UserId] AS [UserId],
[UserAuthoes].[AuthorityId] AS [AuthorityId],
[UserAuthoes].[HotelId] AS [HotelId],
[UserAuthoes].[Id] AS [Id],
[UserAuthoes].[AuthotypeId] AS [AuthotypeId],
[UserAuthoes].[CreateTime] AS [CreateTime],
[UserAuthoes].[CreatedBy] AS [CreatedBy]
FROM [dbo].[UserAuthoes] AS [UserAuthoes]</DefiningQuery>
</EntitySet>
<EntitySet Name="UserInfo" EntityType="Self.UserInfo" store:Type="Tables" store:Schema="dbo">
<DefiningQuery>SELECT
[UserInfo].[Id] AS [Id],
[UserInfo].[Uid] AS [Uid],
[UserInfo].[Pwd] AS [Pwd],
[UserInfo].[PwdSee] AS [PwdSee],
[UserInfo].[HeadImg] AS [HeadImg],
[UserInfo].[Sex] AS [Sex],
[UserInfo].[Age] AS [Age],
[UserInfo].[IsValid] AS [IsValid],
[UserInfo].[Desc] AS [Desc],
[UserInfo].[CreateTime] AS [CreateTime],
[UserInfo].[CreatedBy] AS [CreatedBy],
[UserInfo].[HotelID] AS [HotelID],
[UserInfo].[HotelGroupID] AS [HotelGroupID],
[UserInfo].[IsImport] AS [IsImport],
[UserInfo].[Company] AS [Company]
FROM [dbo].[UserInfo] AS [UserInfo]</DefiningQuery>
</EntitySet>
<AssociationSet Name="FK_dbo_OrgUsers_dbo_Organization_OrgId" Association="Self.FK_dbo_OrgUsers_dbo_Organization_OrgId">
<End Role="Organization" EntitySet="Organization" />
<End Role="OrgUsers" EntitySet="OrgUsers" />
</AssociationSet>
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="hfModel" 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">
<EntityType Name="C__MigrationHistory">
<Key>
<PropertyRef Name="MigrationId" />
</Key>
<Property Name="MigrationId" Type="String" MaxLength="150" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="ContextKey" Type="String" MaxLength="300" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Model" Type="Binary" MaxLength="Max" FixedLength="false" Nullable="false" />
<Property Name="ProductVersion" Type="String" MaxLength="32" FixedLength="false" Unicode="true" Nullable="false" />
</EntityType>
<EntityType Name="DbLog">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Content" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="Uid" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="Type" Type="Int32" Nullable="false" />
<Property Name="Ip" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Client" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="location" Type="String" MaxLength="150" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="Organization">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="OrganizationName" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="IsDefault" Type="Int32" Nullable="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="IsValid" Type="Int32" Nullable="false" />
<NavigationProperty Name="OrgUsers" Relationship="Self.FK_dbo_OrgUsers_dbo_Organization_OrgId" FromRole="Organization" ToRole="OrgUsers" />
</EntityType>
<EntityType Name="AppAutho">
<Key>
<PropertyRef Name="AppId" />
<PropertyRef Name="AuthorityId" />
<PropertyRef Name="Id" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="AppId" Type="Int32" Nullable="false" />
<Property Name="AuthorityId" Type="Int32" Nullable="false" />
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="ApplicationDomain">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="AppName" />
<PropertyRef Name="IsValid" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="AppName" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CreateTime" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="IsValid" Type="Int32" Nullable="false" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="Authority">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="AuthorityName" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="AuthorityName" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="IsValid" Type="Int32" />
</EntityType>
<EntityType Name="AuthoStatusType">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="Name" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="Hosts">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="HotelID" />
<PropertyRef Name="Status" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="HotelID" Type="Int32" Nullable="false" />
<Property Name="RoomNumber" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="Status" Type="Int32" Nullable="false" />
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="RoomStatusID" Type="Int32" />
</EntityType>
<EntityType Name="HotelGroups">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ParentId" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="ParentId" Type="Int32" Nullable="false" />
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
</EntityType>
<EntityType Name="Hotels">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="GroupId" />
<PropertyRef Name="Status" />
<PropertyRef Name="IsApprove" />
<PropertyRef Name="CreateTime" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="GroupId" Type="Int32" Nullable="false" />
<Property Name="Code" Type="Int32" />
<Property Name="Status" Type="Int32" Nullable="false" />
<Property Name="IsApprove" Type="Int32" Nullable="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
</EntityType>
<EntityType Name="OrgUsers">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="Id" />
<PropertyRef Name="OrgId" />
</Key>
<Property Name="UserId" Type="Int32" Nullable="false" />
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="OrgId" Type="Int32" Nullable="false" />
<Property Name="CreateTime" Type="DateTime" Precision="3" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<NavigationProperty Name="Organization" Relationship="Self.FK_dbo_OrgUsers_dbo_Organization_OrgId" FromRole="OrgUsers" ToRole="Organization" />
</EntityType>
<EntityType Name="TBL_Multilingual">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Language" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
<Property Name="ApplicationID" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
<Property Name="Version" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="TBL_MultilingualApps">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Application" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
<Property Name="Remark" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="TBL_MultilingualData">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Chinese" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
<Property Name="English" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
<Property Name="ApplicationID" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="TBL_RCU_InfraredPacket">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Type" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="Brand" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="Model" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="Version" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="CreateDate" Type="DateTime" Precision="3" />
<Property Name="PacketName" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="PacketData" Type="Binary" MaxLength="Max" FixedLength="false" />
<Property Name="PacketMD5" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
<Property Name="Remark" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
<Property Name="OldPacket" Type="Boolean" />
</EntityType>
<EntityType Name="UserAuthoes">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="AuthorityId" />
<PropertyRef Name="HotelId" />
<PropertyRef Name="Id" />
<PropertyRef Name="AuthotypeId" />
</Key>
<Property Name="UserId" Type="Int32" Nullable="false" />
<Property Name="AuthorityId" Type="Int32" Nullable="false" />
<Property Name="HotelId" Type="Int32" Nullable="false" />
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="AuthotypeId" Type="Int32" Nullable="false" />
<Property Name="CreateTime" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="UserInfo">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="Uid" />
<PropertyRef Name="Pwd" />
<PropertyRef Name="HeadImg" />
<PropertyRef Name="Sex" />
<PropertyRef Name="IsImport" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Uid" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Pwd" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="PwdSee" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="HeadImg" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Sex" Type="Int32" Nullable="false" />
<Property Name="Age" Type="Int32" />
<Property Name="IsValid" Type="Int32" />
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="CreateTime" Type="DateTime" Precision="3" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="HotelID" Type="Int32" />
<Property Name="HotelGroupID" Type="Int32" />
<Property Name="IsImport" Type="Int32" Nullable="false" />
<Property Name="Company" Type="Int32" />
</EntityType>
<Association Name="FK_dbo_OrgUsers_dbo_Organization_OrgId">
<End Role="Organization" Type="Self.Organization" Multiplicity="1" />
<End Role="OrgUsers" Type="Self.OrgUsers" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Organization">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgUsers">
<PropertyRef Name="OrgId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="hfEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="C__MigrationHistory" EntityType="Self.C__MigrationHistory" />
<EntitySet Name="DbLog" EntityType="Self.DbLog" />
<EntitySet Name="Organization" EntityType="Self.Organization" />
<EntitySet Name="AppAutho" EntityType="Self.AppAutho" />
<EntitySet Name="ApplicationDomain" EntityType="Self.ApplicationDomain" />
<EntitySet Name="Authority" EntityType="Self.Authority" />
<EntitySet Name="AuthoStatusType" EntityType="Self.AuthoStatusType" />
<EntitySet Name="Hosts" EntityType="Self.Hosts" />
<EntitySet Name="HotelGroups" EntityType="Self.HotelGroups" />
<EntitySet Name="Hotels" EntityType="Self.Hotels" />
<EntitySet Name="OrgUsers" EntityType="Self.OrgUsers" />
<EntitySet Name="TBL_Multilingual" EntityType="Self.TBL_Multilingual" />
<EntitySet Name="TBL_MultilingualApps" EntityType="Self.TBL_MultilingualApps" />
<EntitySet Name="TBL_MultilingualData" EntityType="Self.TBL_MultilingualData" />
<EntitySet Name="TBL_RCU_InfraredPacket" EntityType="Self.TBL_RCU_InfraredPacket" />
<EntitySet Name="UserAuthoes" EntityType="Self.UserAuthoes" />
<EntitySet Name="UserInfo" EntityType="Self.UserInfo" />
<AssociationSet Name="FK_dbo_OrgUsers_dbo_Organization_OrgId" Association="Self.FK_dbo_OrgUsers_dbo_Organization_OrgId">
<End Role="Organization" EntitySet="Organization" />
<End Role="OrgUsers" EntitySet="OrgUsers" />
</AssociationSet>
</EntityContainer>
</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="hfModelStoreContainer" CdmEntityContainer="hfEntities">
<EntitySetMapping Name="C__MigrationHistory">
<EntityTypeMapping TypeName="hfModel.C__MigrationHistory">
<MappingFragment StoreEntitySet="__MigrationHistory">
<ScalarProperty Name="MigrationId" ColumnName="MigrationId" />
<ScalarProperty Name="ContextKey" ColumnName="ContextKey" />
<ScalarProperty Name="Model" ColumnName="Model" />
<ScalarProperty Name="ProductVersion" ColumnName="ProductVersion" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="DbLog">
<EntityTypeMapping TypeName="hfModel.DbLog">
<MappingFragment StoreEntitySet="DbLog">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Content" ColumnName="Content" />
<ScalarProperty Name="Uid" ColumnName="Uid" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Ip" ColumnName="Ip" />
<ScalarProperty Name="Client" ColumnName="Client" />
<ScalarProperty Name="location" ColumnName="location" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Organization">
<EntityTypeMapping TypeName="hfModel.Organization">
<MappingFragment StoreEntitySet="Organization">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="OrganizationName" ColumnName="OrganizationName" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="IsDefault" ColumnName="IsDefault" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
<ScalarProperty Name="IsValid" ColumnName="IsValid" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="AppAutho">
<EntityTypeMapping TypeName="hfModel.AppAutho">
<MappingFragment StoreEntitySet="AppAutho">
<ScalarProperty Name="AppId" ColumnName="AppId" />
<ScalarProperty Name="AuthorityId" ColumnName="AuthorityId" />
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ApplicationDomain">
<EntityTypeMapping TypeName="hfModel.ApplicationDomain">
<MappingFragment StoreEntitySet="ApplicationDomain">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="AppName" ColumnName="AppName" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="IsValid" ColumnName="IsValid" />
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Authority">
<EntityTypeMapping TypeName="hfModel.Authority">
<MappingFragment StoreEntitySet="Authority">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="AuthorityName" ColumnName="AuthorityName" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
<ScalarProperty Name="IsValid" ColumnName="IsValid" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="AuthoStatusType">
<EntityTypeMapping TypeName="hfModel.AuthoStatusType">
<MappingFragment StoreEntitySet="AuthoStatusType">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Hosts">
<EntityTypeMapping TypeName="hfModel.Hosts">
<MappingFragment StoreEntitySet="Hosts">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="HotelID" ColumnName="HotelID" />
<ScalarProperty Name="RoomNumber" ColumnName="RoomNumber" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="RoomStatusID" ColumnName="RoomStatusID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="HotelGroups">
<EntityTypeMapping TypeName="hfModel.HotelGroups">
<MappingFragment StoreEntitySet="HotelGroups">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Hotels">
<EntityTypeMapping TypeName="hfModel.Hotels">
<MappingFragment StoreEntitySet="Hotels">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="GroupId" ColumnName="GroupId" />
<ScalarProperty Name="Code" ColumnName="Code" />
<ScalarProperty Name="Status" ColumnName="Status" />
<ScalarProperty Name="IsApprove" ColumnName="IsApprove" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="OrgUsers">
<EntityTypeMapping TypeName="hfModel.OrgUsers">
<MappingFragment StoreEntitySet="OrgUsers">
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="OrgId" ColumnName="OrgId" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_Multilingual">
<EntityTypeMapping TypeName="hfModel.TBL_Multilingual">
<MappingFragment StoreEntitySet="TBL_Multilingual">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Language" ColumnName="Language" />
<ScalarProperty Name="ApplicationID" ColumnName="ApplicationID" />
<ScalarProperty Name="Version" ColumnName="Version" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_MultilingualApps">
<EntityTypeMapping TypeName="hfModel.TBL_MultilingualApps">
<MappingFragment StoreEntitySet="TBL_MultilingualApps">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Application" ColumnName="Application" />
<ScalarProperty Name="Remark" ColumnName="Remark" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_MultilingualData">
<EntityTypeMapping TypeName="hfModel.TBL_MultilingualData">
<MappingFragment StoreEntitySet="TBL_MultilingualData">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Chinese" ColumnName="Chinese" />
<ScalarProperty Name="English" ColumnName="English" />
<ScalarProperty Name="ApplicationID" ColumnName="ApplicationID" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBL_RCU_InfraredPacket">
<EntityTypeMapping TypeName="hfModel.TBL_RCU_InfraredPacket">
<MappingFragment StoreEntitySet="TBL_RCU_InfraredPacket">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="Brand" ColumnName="Brand" />
<ScalarProperty Name="Model" ColumnName="Model" />
<ScalarProperty Name="Version" ColumnName="Version" />
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
<ScalarProperty Name="PacketName" ColumnName="PacketName" />
<ScalarProperty Name="PacketData" ColumnName="PacketData" />
<ScalarProperty Name="PacketMD5" ColumnName="PacketMD5" />
<ScalarProperty Name="Remark" ColumnName="Remark" />
<ScalarProperty Name="OldPacket" ColumnName="OldPacket" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="UserAuthoes">
<EntityTypeMapping TypeName="hfModel.UserAuthoes">
<MappingFragment StoreEntitySet="UserAuthoes">
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="AuthorityId" ColumnName="AuthorityId" />
<ScalarProperty Name="HotelId" ColumnName="HotelId" />
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="AuthotypeId" ColumnName="AuthotypeId" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="UserInfo">
<EntityTypeMapping TypeName="hfModel.UserInfo">
<MappingFragment StoreEntitySet="UserInfo">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Uid" ColumnName="Uid" />
<ScalarProperty Name="Pwd" ColumnName="Pwd" />
<ScalarProperty Name="PwdSee" ColumnName="PwdSee" />
<ScalarProperty Name="HeadImg" ColumnName="HeadImg" />
<ScalarProperty Name="Sex" ColumnName="Sex" />
<ScalarProperty Name="Age" ColumnName="Age" />
<ScalarProperty Name="IsValid" ColumnName="IsValid" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
<ScalarProperty Name="HotelID" ColumnName="HotelID" />
<ScalarProperty Name="HotelGroupID" ColumnName="HotelGroupID" />
<ScalarProperty Name="IsImport" ColumnName="IsImport" />
<ScalarProperty Name="Company" ColumnName="Company" />
</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>