Files
Web_Faces_Prod/Face.Domain/Entities/permissionModel.edmx
2025-11-25 17:41:57 +08:00

911 lines
51 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="AuthorityDBTestModel.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" />
<PropertyRef Name="ContextKey" />
</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>
<EntityType Name="AppAutho">
<Key>
<PropertyRef Name="AppId" />
<PropertyRef Name="AuthorityId" />
</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>
<EntityType Name="ApplicationDomain">
<Key>
<PropertyRef Name="Id" />
</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>
<EntityType Name="Authority">
<Key>
<PropertyRef Name="Id" />
</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)" />
</EntityType>
<EntityType Name="AuthoStatusType">
<Key>
<PropertyRef Name="Id" />
</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" />
</EntityType>
<EntityType Name="HotelGroups">
<Key>
<PropertyRef Name="Id" />
</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>
<EntityType Name="Hotels">
<Key>
<PropertyRef Name="Id" />
</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="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>
<EntityType Name="OrgAuthority">
<Key>
<PropertyRef Name="OrgId" />
<PropertyRef Name="AuthorityId" />
<PropertyRef Name="HotelId" />
</Key>
<Property Name="OrgId" 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="datetime" />
<Property Name="CreatedBy" Type="nvarchar(max)" />
</EntityType>
<EntityType Name="OrgUsers">
<Key>
<PropertyRef Name="UserId" />
</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>
<EntityType Name="UserAuthoes">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="AuthorityId" />
<PropertyRef Name="HotelId" />
</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>
<EntityType Name="UserInfo">
<Key>
<PropertyRef Name="Id" />
</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" />
</EntityType>
<Association Name="FK_dbo_AppAutho_dbo_ApplicationDomain_AppId">
<End Role="ApplicationDomain" Type="Self.ApplicationDomain" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="AppAutho" Type="Self.AppAutho" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ApplicationDomain">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="AppAutho">
<PropertyRef Name="AppId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_AppAutho_dbo_Authority_AuthorityId">
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="AppAutho" Type="Self.AppAutho" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Authority">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="AppAutho">
<PropertyRef Name="AuthorityId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgAuthority_dbo_Authority_AuthorityId">
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Authority">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgAuthority">
<PropertyRef Name="AuthorityId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId">
<End Role="AuthoStatusType" Type="Self.AuthoStatusType" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AuthoStatusType">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgAuthority">
<PropertyRef Name="AuthotypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgAuthority_dbo_Organization_OrgId">
<End Role="Organization" Type="Self.Organization" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Organization">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgAuthority">
<PropertyRef Name="OrgId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgUsers_dbo_Organization_OrgId">
<End Role="Organization" Type="Self.Organization" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="OrgUsers" Type="Self.OrgUsers" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Organization">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgUsers">
<PropertyRef Name="OrgId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgUsers_dbo_UserInfo_UserId">
<End Role="UserInfo" Type="Self.UserInfo" Multiplicity="1" />
<End Role="OrgUsers" Type="Self.OrgUsers" Multiplicity="0..1" />
<ReferentialConstraint>
<Principal Role="UserInfo">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgUsers">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_UserAuthoes_dbo_Authority_AuthorityId">
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Authority">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="UserAuthoes">
<PropertyRef Name="AuthorityId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId">
<End Role="AuthoStatusType" Type="Self.AuthoStatusType" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AuthoStatusType">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="UserAuthoes">
<PropertyRef Name="AuthotypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_UserAuthoes_dbo_UserInfo_UserId">
<End Role="UserInfo" Type="Self.UserInfo" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="UserInfo">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="UserAuthoes">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="AuthorityDBTestModelStoreContainer">
<EntitySet Name="__MigrationHistory" EntityType="Self.__MigrationHistory" Schema="dbo" store:Type="Tables" />
<EntitySet Name="AppAutho" EntityType="Self.AppAutho" Schema="dbo" store:Type="Tables" />
<EntitySet Name="ApplicationDomain" EntityType="Self.ApplicationDomain" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Authority" EntityType="Self.Authority" Schema="dbo" store:Type="Tables" />
<EntitySet Name="AuthoStatusType" EntityType="Self.AuthoStatusType" Schema="dbo" store:Type="Tables" />
<EntitySet Name="DbLog" EntityType="Self.DbLog" Schema="dbo" store:Type="Tables" />
<EntitySet Name="HotelGroups" EntityType="Self.HotelGroups" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Hotels" EntityType="Self.Hotels" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Organization" EntityType="Self.Organization" Schema="dbo" store:Type="Tables" />
<EntitySet Name="OrgAuthority" EntityType="Self.OrgAuthority" Schema="dbo" store:Type="Tables" />
<EntitySet Name="OrgUsers" EntityType="Self.OrgUsers" Schema="dbo" store:Type="Tables" />
<EntitySet Name="UserAuthoes" EntityType="Self.UserAuthoes" Schema="dbo" store:Type="Tables" />
<EntitySet Name="UserInfo" EntityType="Self.UserInfo" Schema="dbo" store:Type="Tables" />
<AssociationSet Name="FK_dbo_AppAutho_dbo_ApplicationDomain_AppId" Association="Self.FK_dbo_AppAutho_dbo_ApplicationDomain_AppId">
<End Role="ApplicationDomain" EntitySet="ApplicationDomain" />
<End Role="AppAutho" EntitySet="AppAutho" />
</AssociationSet>
<AssociationSet Name="FK_dbo_AppAutho_dbo_Authority_AuthorityId" Association="Self.FK_dbo_AppAutho_dbo_Authority_AuthorityId">
<End Role="Authority" EntitySet="Authority" />
<End Role="AppAutho" EntitySet="AppAutho" />
</AssociationSet>
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_Authority_AuthorityId" Association="Self.FK_dbo_OrgAuthority_dbo_Authority_AuthorityId">
<End Role="Authority" EntitySet="Authority" />
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
</AssociationSet>
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId" Association="Self.FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId">
<End Role="AuthoStatusType" EntitySet="AuthoStatusType" />
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
</AssociationSet>
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_Organization_OrgId" Association="Self.FK_dbo_OrgAuthority_dbo_Organization_OrgId">
<End Role="Organization" EntitySet="Organization" />
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
</AssociationSet>
<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>
<AssociationSet Name="FK_dbo_OrgUsers_dbo_UserInfo_UserId" Association="Self.FK_dbo_OrgUsers_dbo_UserInfo_UserId">
<End Role="UserInfo" EntitySet="UserInfo" />
<End Role="OrgUsers" EntitySet="OrgUsers" />
</AssociationSet>
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_Authority_AuthorityId" Association="Self.FK_dbo_UserAuthoes_dbo_Authority_AuthorityId">
<End Role="Authority" EntitySet="Authority" />
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
</AssociationSet>
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId" Association="Self.FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId">
<End Role="AuthoStatusType" EntitySet="AuthoStatusType" />
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
</AssociationSet>
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_UserInfo_UserId" Association="Self.FK_dbo_UserAuthoes_dbo_UserInfo_UserId">
<End Role="UserInfo" EntitySet="UserInfo" />
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
</AssociationSet>
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="AuthorityDBTestModel" 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" />
<PropertyRef Name="ContextKey" />
</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="AppAutho">
<Key>
<PropertyRef Name="AppId" />
<PropertyRef Name="AuthorityId" />
</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" />
<NavigationProperty Name="ApplicationDomain" Relationship="Self.FK_dbo_AppAutho_dbo_ApplicationDomain_AppId" FromRole="AppAutho" ToRole="ApplicationDomain" />
<NavigationProperty Name="Authority" Relationship="Self.FK_dbo_AppAutho_dbo_Authority_AuthorityId" FromRole="AppAutho" ToRole="Authority" />
</EntityType>
<EntityType Name="ApplicationDomain">
<Key>
<PropertyRef Name="Id" />
</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" />
<NavigationProperty Name="AppAutho" Relationship="Self.FK_dbo_AppAutho_dbo_ApplicationDomain_AppId" FromRole="ApplicationDomain" ToRole="AppAutho" />
</EntityType>
<EntityType Name="Authority">
<Key>
<PropertyRef Name="Id" />
</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" />
<NavigationProperty Name="AppAutho" Relationship="Self.FK_dbo_AppAutho_dbo_Authority_AuthorityId" FromRole="Authority" ToRole="AppAutho" />
<NavigationProperty Name="OrgAuthority" Relationship="Self.FK_dbo_OrgAuthority_dbo_Authority_AuthorityId" FromRole="Authority" ToRole="OrgAuthority" />
<NavigationProperty Name="UserAuthoes" Relationship="Self.FK_dbo_UserAuthoes_dbo_Authority_AuthorityId" FromRole="Authority" ToRole="UserAuthoes" />
</EntityType>
<EntityType Name="AuthoStatusType">
<Key>
<PropertyRef Name="Id" />
</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" />
<NavigationProperty Name="OrgAuthority" Relationship="Self.FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId" FromRole="AuthoStatusType" ToRole="OrgAuthority" />
<NavigationProperty Name="UserAuthoes" Relationship="Self.FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId" FromRole="AuthoStatusType" ToRole="UserAuthoes" />
</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" />
</EntityType>
<EntityType Name="HotelGroups">
<Key>
<PropertyRef Name="Id" />
</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" />
</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="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
</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="OrgAuthority" Relationship="Self.FK_dbo_OrgAuthority_dbo_Organization_OrgId" FromRole="Organization" ToRole="OrgAuthority" />
<NavigationProperty Name="OrgUsers" Relationship="Self.FK_dbo_OrgUsers_dbo_Organization_OrgId" FromRole="Organization" ToRole="OrgUsers" />
</EntityType>
<EntityType Name="OrgAuthority">
<Key>
<PropertyRef Name="OrgId" />
<PropertyRef Name="AuthorityId" />
<PropertyRef Name="HotelId" />
</Key>
<Property Name="OrgId" 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="DateTime" Precision="3" />
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<NavigationProperty Name="Authority" Relationship="Self.FK_dbo_OrgAuthority_dbo_Authority_AuthorityId" FromRole="OrgAuthority" ToRole="Authority" />
<NavigationProperty Name="AuthoStatusType" Relationship="Self.FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId" FromRole="OrgAuthority" ToRole="AuthoStatusType" />
<NavigationProperty Name="Organization" Relationship="Self.FK_dbo_OrgAuthority_dbo_Organization_OrgId" FromRole="OrgAuthority" ToRole="Organization" />
</EntityType>
<EntityType Name="OrgUsers">
<Key>
<PropertyRef Name="UserId" />
</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" />
<NavigationProperty Name="UserInfo" Relationship="Self.FK_dbo_OrgUsers_dbo_UserInfo_UserId" FromRole="OrgUsers" ToRole="UserInfo" />
</EntityType>
<EntityType Name="UserAuthoes">
<Key>
<PropertyRef Name="UserId" />
<PropertyRef Name="AuthorityId" />
<PropertyRef Name="HotelId" />
</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" />
<NavigationProperty Name="Authority" Relationship="Self.FK_dbo_UserAuthoes_dbo_Authority_AuthorityId" FromRole="UserAuthoes" ToRole="Authority" />
<NavigationProperty Name="AuthoStatusType" Relationship="Self.FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId" FromRole="UserAuthoes" ToRole="AuthoStatusType" />
<NavigationProperty Name="UserInfo" Relationship="Self.FK_dbo_UserAuthoes_dbo_UserInfo_UserId" FromRole="UserAuthoes" ToRole="UserInfo" />
</EntityType>
<EntityType Name="UserInfo">
<Key>
<PropertyRef Name="Id" />
</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" />
<NavigationProperty Name="OrgUsers" Relationship="Self.FK_dbo_OrgUsers_dbo_UserInfo_UserId" FromRole="UserInfo" ToRole="OrgUsers" />
<NavigationProperty Name="UserAuthoes" Relationship="Self.FK_dbo_UserAuthoes_dbo_UserInfo_UserId" FromRole="UserInfo" ToRole="UserAuthoes" />
</EntityType>
<Association Name="FK_dbo_AppAutho_dbo_ApplicationDomain_AppId">
<End Role="ApplicationDomain" Type="Self.ApplicationDomain" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="AppAutho" Type="Self.AppAutho" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="ApplicationDomain">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="AppAutho">
<PropertyRef Name="AppId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_AppAutho_dbo_Authority_AuthorityId">
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="AppAutho" Type="Self.AppAutho" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Authority">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="AppAutho">
<PropertyRef Name="AuthorityId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgAuthority_dbo_Authority_AuthorityId">
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Authority">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgAuthority">
<PropertyRef Name="AuthorityId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_UserAuthoes_dbo_Authority_AuthorityId">
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Authority">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="UserAuthoes">
<PropertyRef Name="AuthorityId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId">
<End Role="AuthoStatusType" Type="Self.AuthoStatusType" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AuthoStatusType">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgAuthority">
<PropertyRef Name="AuthotypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId">
<End Role="AuthoStatusType" Type="Self.AuthoStatusType" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="AuthoStatusType">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="UserAuthoes">
<PropertyRef Name="AuthotypeId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgAuthority_dbo_Organization_OrgId">
<End Role="Organization" Type="Self.Organization" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Organization">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgAuthority">
<PropertyRef Name="OrgId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgUsers_dbo_Organization_OrgId">
<End Role="Organization" Type="Self.Organization" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="OrgUsers" Type="Self.OrgUsers" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Organization">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgUsers">
<PropertyRef Name="OrgId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_OrgUsers_dbo_UserInfo_UserId">
<End Role="UserInfo" Type="Self.UserInfo" Multiplicity="1" />
<End Role="OrgUsers" Type="Self.OrgUsers" Multiplicity="0..1" />
<ReferentialConstraint>
<Principal Role="UserInfo">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="OrgUsers">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_dbo_UserAuthoes_dbo_UserInfo_UserId">
<End Role="UserInfo" Type="Self.UserInfo" Multiplicity="1">
<OnDelete Action="Cascade" />
</End>
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="UserInfo">
<PropertyRef Name="Id" />
</Principal>
<Dependent Role="UserAuthoes">
<PropertyRef Name="UserId" />
</Dependent>
</ReferentialConstraint>
</Association>
<EntityContainer Name="AuthorityDBTestEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="C__MigrationHistory" EntityType="Self.C__MigrationHistory" />
<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="DbLog" EntityType="Self.DbLog" />
<EntitySet Name="HotelGroups" EntityType="Self.HotelGroups" />
<EntitySet Name="Hotels" EntityType="Self.Hotels" />
<EntitySet Name="Organization" EntityType="Self.Organization" />
<EntitySet Name="OrgAuthority" EntityType="Self.OrgAuthority" />
<EntitySet Name="OrgUsers" EntityType="Self.OrgUsers" />
<EntitySet Name="UserAuthoes" EntityType="Self.UserAuthoes" />
<EntitySet Name="UserInfo" EntityType="Self.UserInfo" />
<AssociationSet Name="FK_dbo_AppAutho_dbo_ApplicationDomain_AppId" Association="Self.FK_dbo_AppAutho_dbo_ApplicationDomain_AppId">
<End Role="ApplicationDomain" EntitySet="ApplicationDomain" />
<End Role="AppAutho" EntitySet="AppAutho" />
</AssociationSet>
<AssociationSet Name="FK_dbo_AppAutho_dbo_Authority_AuthorityId" Association="Self.FK_dbo_AppAutho_dbo_Authority_AuthorityId">
<End Role="Authority" EntitySet="Authority" />
<End Role="AppAutho" EntitySet="AppAutho" />
</AssociationSet>
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_Authority_AuthorityId" Association="Self.FK_dbo_OrgAuthority_dbo_Authority_AuthorityId">
<End Role="Authority" EntitySet="Authority" />
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
</AssociationSet>
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_Authority_AuthorityId" Association="Self.FK_dbo_UserAuthoes_dbo_Authority_AuthorityId">
<End Role="Authority" EntitySet="Authority" />
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
</AssociationSet>
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId" Association="Self.FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId">
<End Role="AuthoStatusType" EntitySet="AuthoStatusType" />
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
</AssociationSet>
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId" Association="Self.FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId">
<End Role="AuthoStatusType" EntitySet="AuthoStatusType" />
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
</AssociationSet>
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_Organization_OrgId" Association="Self.FK_dbo_OrgAuthority_dbo_Organization_OrgId">
<End Role="Organization" EntitySet="Organization" />
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
</AssociationSet>
<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>
<AssociationSet Name="FK_dbo_OrgUsers_dbo_UserInfo_UserId" Association="Self.FK_dbo_OrgUsers_dbo_UserInfo_UserId">
<End Role="UserInfo" EntitySet="UserInfo" />
<End Role="OrgUsers" EntitySet="OrgUsers" />
</AssociationSet>
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_UserInfo_UserId" Association="Self.FK_dbo_UserAuthoes_dbo_UserInfo_UserId">
<End Role="UserInfo" EntitySet="UserInfo" />
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
</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="AuthorityDBTestModelStoreContainer" CdmEntityContainer="AuthorityDBTestEntities">
<EntitySetMapping Name="C__MigrationHistory">
<EntityTypeMapping TypeName="AuthorityDBTestModel.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="AppAutho">
<EntityTypeMapping TypeName="AuthorityDBTestModel.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="AuthorityDBTestModel.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="AuthorityDBTestModel.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" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="AuthoStatusType">
<EntityTypeMapping TypeName="AuthorityDBTestModel.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="DbLog">
<EntityTypeMapping TypeName="AuthorityDBTestModel.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" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="HotelGroups">
<EntityTypeMapping TypeName="AuthorityDBTestModel.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="AuthorityDBTestModel.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="CreateTime" ColumnName="CreateTime" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Organization">
<EntityTypeMapping TypeName="AuthorityDBTestModel.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="OrgAuthority">
<EntityTypeMapping TypeName="AuthorityDBTestModel.OrgAuthority">
<MappingFragment StoreEntitySet="OrgAuthority">
<ScalarProperty Name="OrgId" ColumnName="OrgId" />
<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="OrgUsers">
<EntityTypeMapping TypeName="AuthorityDBTestModel.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="UserAuthoes">
<EntityTypeMapping TypeName="AuthorityDBTestModel.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="AuthorityDBTestModel.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" />
</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>