|
|
|
|
@@ -422,6 +422,48 @@
|
|
|
|
|
<Property Name="type" Type="nvarchar" MaxLength="100" />
|
|
|
|
|
<Property Name="title" Type="nvarchar(max)" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="GuaDanOrder">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="StartDate" Type="date" />
|
|
|
|
|
<Property Name="EndDate" Type="date" />
|
|
|
|
|
<Property Name="CreateUser" Type="int" />
|
|
|
|
|
<Property Name="CreatedAt" Type="datetime2" Precision="7" />
|
|
|
|
|
<Property Name="UpdatedAt" Type="datetime2" Precision="7" />
|
|
|
|
|
<Property Name="Notes" Type="nvarchar" MaxLength="100" />
|
|
|
|
|
<Property Name="GuaDanOrderNo" Type="nvarchar" MaxLength="20" Nullable="false" />
|
|
|
|
|
<Property Name="BookerFollowerNum" Type="int" />
|
|
|
|
|
<Property Name="BookerName" Type="nvarchar" MaxLength="20" />
|
|
|
|
|
<Property Name="BookerPhone" Type="nvarchar" MaxLength="12" />
|
|
|
|
|
<Property Name="IsDeleted" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="GuaDanOrderGuest">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="GuaDanOrderNo" Type="nvarchar" MaxLength="20" Nullable="false" />
|
|
|
|
|
<Property Name="FollowerNum" Type="int" />
|
|
|
|
|
<Property Name="IsDeleted" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
<Property Name="RoomUuid" Type="uniqueidentifier" />
|
|
|
|
|
<Property Name="BedUuid" Type="uniqueidentifier" />
|
|
|
|
|
<Property Name="CheckInAt" Type="date" />
|
|
|
|
|
<Property Name="CheckOutAt" Type="date" />
|
|
|
|
|
<Property Name="statusUuid" Type="uniqueidentifier" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="GuadanTimeSetting">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Id" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Id" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
<Property Name="EarliestCheckIn" Type="nvarchar" MaxLength="5" Nullable="false" />
|
|
|
|
|
<Property Name="LatestCheckOut" Type="nvarchar" MaxLength="5" Nullable="false" />
|
|
|
|
|
<Property Name="IsActive" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="CreatedAt" Type="datetime" />
|
|
|
|
|
<Property Name="UpdatedAt" Type="datetime" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="item">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="num" />
|
|
|
|
|
@@ -659,6 +701,88 @@
|
|
|
|
|
<Property Name="pic1" Type="nvarchar" MaxLength="50" />
|
|
|
|
|
<Property Name="pro_id" Type="int" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="Region">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="100" Nullable="false" />
|
|
|
|
|
<Property Name="Description" Type="nvarchar" MaxLength="200" />
|
|
|
|
|
<Property Name="SortOrder" Type="int" />
|
|
|
|
|
<Property Name="CreatedBy" Type="nvarchar" MaxLength="50" />
|
|
|
|
|
<Property Name="CreatedAt" Type="datetime" />
|
|
|
|
|
<Property Name="UpdatedAt" Type="datetime" />
|
|
|
|
|
<Property Name="IsActive" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="RoomCount" Type="int" />
|
|
|
|
|
<Property Name="IsDeleted" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
<Property Name="ParentUuid" Type="uniqueidentifier" />
|
|
|
|
|
<Property Name="RegionTypeUuid" Type="uniqueidentifier" />
|
|
|
|
|
<Property Name="Gender" Type="bit" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="RegionAndRoomAndBedSchedule">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="UseType" Type="int" Nullable="false" />
|
|
|
|
|
<Property Name="Title" Type="nvarchar" MaxLength="100" />
|
|
|
|
|
<Property Name="Description" Type="nvarchar" MaxLength="100" />
|
|
|
|
|
<Property Name="CreatedBy" Type="nvarchar" MaxLength="100" />
|
|
|
|
|
<Property Name="CreatedAt" Type="datetime2" Precision="7" />
|
|
|
|
|
<Property Name="IsDeleted" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
<Property Name="TargetUuid" Type="uniqueidentifier" />
|
|
|
|
|
<Property Name="GuaDanOrderNo" Type="nvarchar" MaxLength="20" />
|
|
|
|
|
<Property Name="ScheduleDate" Type="date" />
|
|
|
|
|
<Property Name="IsActive" Type="bit" Nullable="false" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="RegionRoomBed">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
|
|
<Property Name="IsActive" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Gender" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="IsDeleted" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
<Property Name="RoomUuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
<Property Name="StatusUuid" Type="uniqueidentifier" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="RegionRoomBedStatus">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Code" Type="nvarchar" MaxLength="20" />
|
|
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
|
|
<Property Name="Description" Type="nvarchar" MaxLength="50" />
|
|
|
|
|
<Property Name="Category" Type="int" />
|
|
|
|
|
<Property Name="IsDeleted" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="RegionType">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Code" Type="varchar" MaxLength="20" Nullable="false" />
|
|
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
|
|
|
|
|
<Property Name="IsActive" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="CreateAt" Type="datetime" />
|
|
|
|
|
<Property Name="IsDeleted" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="Room">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Name" Type="nvarchar" MaxLength="50" />
|
|
|
|
|
<Property Name="Gender" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="BedCount" Type="int" />
|
|
|
|
|
<Property Name="IsActive" Type="bit" />
|
|
|
|
|
<Property Name="CreatedAt" Type="datetime" />
|
|
|
|
|
<Property Name="UpdatedAt" Type="datetime" />
|
|
|
|
|
<Property Name="IsDeleted" Type="bit" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
<Property Name="RegionUuid" Type="uniqueidentifier" Nullable="false" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="ShuWen">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="ID" />
|
|
|
|
|
@@ -1208,6 +1332,78 @@
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrder_Admin_CreateUser">
|
|
|
|
|
<End Role="admin" Type="Self.admin" Multiplicity="0..1" />
|
|
|
|
|
<End Role="GuaDanOrder" Type="Self.GuaDanOrder" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="admin">
|
|
|
|
|
<PropertyRef Name="num" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrder">
|
|
|
|
|
<PropertyRef Name="CreateUser" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrder_Followers">
|
|
|
|
|
<End Role="followers" Type="Self.followers" Multiplicity="0..1" />
|
|
|
|
|
<End Role="GuaDanOrder" Type="Self.GuaDanOrder" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="followers">
|
|
|
|
|
<PropertyRef Name="num" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrder">
|
|
|
|
|
<PropertyRef Name="BookerFollowerNum" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrderGuest_BedUuid">
|
|
|
|
|
<End Role="RegionRoomBed" Type="Self.RegionRoomBed" Multiplicity="0..1" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" Type="Self.GuaDanOrderGuest" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="RegionRoomBed">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrderGuest">
|
|
|
|
|
<PropertyRef Name="BedUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrderGuest_FOLLOWERS">
|
|
|
|
|
<End Role="followers" Type="Self.followers" Multiplicity="0..1" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" Type="Self.GuaDanOrderGuest" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="followers">
|
|
|
|
|
<PropertyRef Name="num" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrderGuest">
|
|
|
|
|
<PropertyRef Name="FollowerNum" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrderGuest_RoomUuid">
|
|
|
|
|
<End Role="Room" Type="Self.Room" Multiplicity="0..1" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" Type="Self.GuaDanOrderGuest" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="Room">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrderGuest">
|
|
|
|
|
<PropertyRef Name="RoomUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrderGuest_Status">
|
|
|
|
|
<End Role="RegionRoomBedStatus" Type="Self.RegionRoomBedStatus" Multiplicity="0..1" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" Type="Self.GuaDanOrderGuest" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="RegionRoomBedStatus">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrderGuest">
|
|
|
|
|
<PropertyRef Name="statusUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_member_admin">
|
|
|
|
|
<End Role="admin" Type="Self.admin" Multiplicity="0..1" />
|
|
|
|
|
<End Role="member" Type="Self.member" Multiplicity="*" />
|
|
|
|
|
@@ -1482,6 +1678,66 @@
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_Region_ParentUuid">
|
|
|
|
|
<End Role="Region" Type="Self.Region" Multiplicity="0..1" />
|
|
|
|
|
<End Role="Region1" Type="Self.Region" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="Region">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="Region1">
|
|
|
|
|
<PropertyRef Name="ParentUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_Region_RegionTypeUuid">
|
|
|
|
|
<End Role="RegionType" Type="Self.RegionType" Multiplicity="0..1" />
|
|
|
|
|
<End Role="Region" Type="Self.Region" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="RegionType">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="Region">
|
|
|
|
|
<PropertyRef Name="RegionTypeUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_RegionRoomBed_RegionRoomBedStatus">
|
|
|
|
|
<End Role="RegionRoomBedStatus" Type="Self.RegionRoomBedStatus" Multiplicity="0..1" />
|
|
|
|
|
<End Role="RegionRoomBed" Type="Self.RegionRoomBed" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="RegionRoomBedStatus">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="RegionRoomBed">
|
|
|
|
|
<PropertyRef Name="StatusUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_RegionRoomBed_RoomUuid">
|
|
|
|
|
<End Role="Room" Type="Self.Room" Multiplicity="1" />
|
|
|
|
|
<End Role="RegionRoomBed" Type="Self.RegionRoomBed" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="Room">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="RegionRoomBed">
|
|
|
|
|
<PropertyRef Name="RoomUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_Room_Region">
|
|
|
|
|
<End Role="Region" Type="Self.Region" Multiplicity="1" />
|
|
|
|
|
<End Role="Room" Type="Self.Room" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="Region">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="Room">
|
|
|
|
|
<PropertyRef Name="RegionUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_stock_actItem">
|
|
|
|
|
<End Role="actItem" Type="Self.actItem" Multiplicity="0..1">
|
|
|
|
|
<OnDelete Action="Cascade" />
|
|
|
|
|
@@ -1748,6 +2004,9 @@
|
|
|
|
|
<EntitySet Name="files" EntityType="Self.files" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="followers" EntityType="Self.followers" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="followers_tablet" EntityType="Self.followers_tablet" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="GuaDanOrder" EntityType="Self.GuaDanOrder" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="GuaDanOrderGuest" EntityType="Self.GuaDanOrderGuest" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="GuadanTimeSetting" EntityType="Self.GuadanTimeSetting" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="item" EntityType="Self.item" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="member" EntityType="Self.member" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="member_check" EntityType="Self.member_check" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
@@ -1764,6 +2023,12 @@
|
|
|
|
|
<EntitySet Name="project" EntityType="Self.project" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="project_kind" EntityType="Self.project_kind" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="project_sub" EntityType="Self.project_sub" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="Region" EntityType="Self.Region" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="RegionAndRoomAndBedSchedule" EntityType="Self.RegionAndRoomAndBedSchedule" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="RegionRoomBed" EntityType="Self.RegionRoomBed" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="RegionRoomBedStatus" EntityType="Self.RegionRoomBedStatus" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="RegionType" EntityType="Self.RegionType" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="Room" EntityType="Self.Room" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="ShuWen" EntityType="Self.ShuWen" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="stock" EntityType="Self.stock" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
<EntitySet Name="stock_files" EntityType="Self.stock_files" Schema="dbo" store:Type="Tables" />
|
|
|
|
|
@@ -1905,6 +2170,30 @@
|
|
|
|
|
<End Role="followers" EntitySet="followers" />
|
|
|
|
|
<End Role="followers_tablet" EntitySet="followers_tablet" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrder_Admin_CreateUser" Association="Self.FK_GuaDanOrder_Admin_CreateUser">
|
|
|
|
|
<End Role="admin" EntitySet="admin" />
|
|
|
|
|
<End Role="GuaDanOrder" EntitySet="GuaDanOrder" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrder_Followers" Association="Self.FK_GuaDanOrder_Followers">
|
|
|
|
|
<End Role="followers" EntitySet="followers" />
|
|
|
|
|
<End Role="GuaDanOrder" EntitySet="GuaDanOrder" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrderGuest_BedUuid" Association="Self.FK_GuaDanOrderGuest_BedUuid">
|
|
|
|
|
<End Role="RegionRoomBed" EntitySet="RegionRoomBed" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrderGuest_FOLLOWERS" Association="Self.FK_GuaDanOrderGuest_FOLLOWERS">
|
|
|
|
|
<End Role="followers" EntitySet="followers" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrderGuest_RoomUuid" Association="Self.FK_GuaDanOrderGuest_RoomUuid">
|
|
|
|
|
<End Role="Room" EntitySet="Room" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrderGuest_Status" Association="Self.FK_GuaDanOrderGuest_Status">
|
|
|
|
|
<End Role="RegionRoomBedStatus" EntitySet="RegionRoomBedStatus" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_member_admin" Association="Self.FK_member_admin">
|
|
|
|
|
<End Role="admin" EntitySet="admin" />
|
|
|
|
|
<End Role="member" EntitySet="member" />
|
|
|
|
|
@@ -1993,6 +2282,26 @@
|
|
|
|
|
<End Role="project" EntitySet="project" />
|
|
|
|
|
<End Role="project_sub" EntitySet="project_sub" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_Region_ParentUuid" Association="Self.FK_Region_ParentUuid">
|
|
|
|
|
<End Role="Region" EntitySet="Region" />
|
|
|
|
|
<End Role="Region1" EntitySet="Region" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_Region_RegionTypeUuid" Association="Self.FK_Region_RegionTypeUuid">
|
|
|
|
|
<End Role="RegionType" EntitySet="RegionType" />
|
|
|
|
|
<End Role="Region" EntitySet="Region" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_RegionRoomBed_RegionRoomBedStatus" Association="Self.FK_RegionRoomBed_RegionRoomBedStatus">
|
|
|
|
|
<End Role="RegionRoomBedStatus" EntitySet="RegionRoomBedStatus" />
|
|
|
|
|
<End Role="RegionRoomBed" EntitySet="RegionRoomBed" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_RegionRoomBed_RoomUuid" Association="Self.FK_RegionRoomBed_RoomUuid">
|
|
|
|
|
<End Role="Room" EntitySet="Room" />
|
|
|
|
|
<End Role="RegionRoomBed" EntitySet="RegionRoomBed" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_Room_Region" Association="Self.FK_Room_Region">
|
|
|
|
|
<End Role="Region" EntitySet="Region" />
|
|
|
|
|
<End Role="Room" EntitySet="Room" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_stock_actItem" Association="Self.FK_stock_actItem">
|
|
|
|
|
<End Role="actItem" EntitySet="actItem" />
|
|
|
|
|
<End Role="stock" EntitySet="stock" />
|
|
|
|
|
@@ -2325,6 +2634,7 @@
|
|
|
|
|
<NavigationProperty Name="admin_group" Relationship="Self.FK_admin_admin_group" FromRole="admin" ToRole="admin_group" />
|
|
|
|
|
<NavigationProperty Name="members" Relationship="Self.FK_member_admin" FromRole="admin" ToRole="member" />
|
|
|
|
|
<NavigationProperty Name="news" Relationship="Self.FK_news_admin" FromRole="admin" ToRole="news" />
|
|
|
|
|
<NavigationProperty Name="GuaDanOrders" Relationship="Model.FK_GuaDanOrder_Admin_CreateUser" FromRole="admin" ToRole="GuaDanOrder" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="admin_group">
|
|
|
|
|
<Key>
|
|
|
|
|
@@ -2514,6 +2824,8 @@
|
|
|
|
|
<NavigationProperty Name="family_members" Relationship="Model.FK_family_members_followers" FromRole="follower" ToRole="family_members" />
|
|
|
|
|
<NavigationProperty Name="transfer_register" Relationship="Model.FK_transfer_register_followers" FromRole="follower" ToRole="transfer_register" />
|
|
|
|
|
<NavigationProperty Name="transfer_register1" Relationship="Model.FK_transfer_register_followers_match" FromRole="follower" ToRole="transfer_register" />
|
|
|
|
|
<NavigationProperty Name="GuaDanOrders" Relationship="Model.FK_GuaDanOrder_Followers" FromRole="follower" ToRole="GuaDanOrder" />
|
|
|
|
|
<NavigationProperty Name="GuaDanOrderGuests" Relationship="Model.FK_GuaDanOrderGuest_FOLLOWERS" FromRole="follower" ToRole="GuaDanOrderGuest" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="followers_tablet">
|
|
|
|
|
<Key>
|
|
|
|
|
@@ -3972,7 +4284,7 @@
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<EntitySet Name="PostCitiy" EntityType="Model.PostCity" />
|
|
|
|
|
<EntitySet Name="PostNumber" EntityType="Model.PostNumber" />
|
|
|
|
|
<EntitySet Name="ShuWens" EntityType="Model.ShuWen" />
|
|
|
|
|
<EntitySet Name="ShuWen" EntityType="Model.ShuWen" />
|
|
|
|
|
<EntitySet Name="transfer_register" EntityType="Model.transfer_register" />
|
|
|
|
|
<AssociationSet Name="FK_transfer_register_accountings" Association="Model.FK_transfer_register_accountings">
|
|
|
|
|
<End Role="accounting" EntitySet="accountings" />
|
|
|
|
|
@@ -4014,6 +4326,59 @@
|
|
|
|
|
<End Role="transfer_register" EntitySet="transfer_register" />
|
|
|
|
|
<End Role="pro_order_record" EntitySet="pro_order_record" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<EntitySet Name="GuaDanOrder" EntityType="Model.GuaDanOrder" />
|
|
|
|
|
<EntitySet Name="GuaDanOrderGuest" EntityType="Model.GuaDanOrderGuest" />
|
|
|
|
|
<EntitySet Name="GuadanTimeSetting" EntityType="Model.GuadanTimeSetting" />
|
|
|
|
|
<EntitySet Name="Region" EntityType="Model.Region" />
|
|
|
|
|
<EntitySet Name="RegionAndRoomAndBedSchedule" EntityType="Model.RegionAndRoomAndBedSchedule" />
|
|
|
|
|
<EntitySet Name="RegionRoomBed" EntityType="Model.RegionRoomBed" />
|
|
|
|
|
<EntitySet Name="RegionRoomBedStatus" EntityType="Model.RegionRoomBedStatus" />
|
|
|
|
|
<EntitySet Name="RegionType" EntityType="Model.RegionType" />
|
|
|
|
|
<EntitySet Name="Room" EntityType="Model.Room" />
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrder_Admin_CreateUser" Association="Model.FK_GuaDanOrder_Admin_CreateUser">
|
|
|
|
|
<End Role="admin" EntitySet="admins" />
|
|
|
|
|
<End Role="GuaDanOrder" EntitySet="GuaDanOrder" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrder_Followers" Association="Model.FK_GuaDanOrder_Followers">
|
|
|
|
|
<End Role="follower" EntitySet="followers" />
|
|
|
|
|
<End Role="GuaDanOrder" EntitySet="GuaDanOrder" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrderGuest_FOLLOWERS" Association="Model.FK_GuaDanOrderGuest_FOLLOWERS">
|
|
|
|
|
<End Role="follower" EntitySet="followers" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrderGuest_BedUuid" Association="Model.FK_GuaDanOrderGuest_BedUuid">
|
|
|
|
|
<End Role="RegionRoomBed" EntitySet="RegionRoomBed" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrderGuest_RoomUuid" Association="Model.FK_GuaDanOrderGuest_RoomUuid">
|
|
|
|
|
<End Role="Room" EntitySet="Room" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_GuaDanOrderGuest_Status" Association="Model.FK_GuaDanOrderGuest_Status">
|
|
|
|
|
<End Role="RegionRoomBedStatus" EntitySet="RegionRoomBedStatus" />
|
|
|
|
|
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_Region_ParentUuid" Association="Model.FK_Region_ParentUuid">
|
|
|
|
|
<End Role="Region" EntitySet="Region" />
|
|
|
|
|
<End Role="Region1" EntitySet="Region" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_Region_RegionTypeUuid" Association="Model.FK_Region_RegionTypeUuid">
|
|
|
|
|
<End Role="RegionType" EntitySet="RegionType" />
|
|
|
|
|
<End Role="Region" EntitySet="Region" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_Room_Region" Association="Model.FK_Room_Region">
|
|
|
|
|
<End Role="Region" EntitySet="Region" />
|
|
|
|
|
<End Role="Room" EntitySet="Room" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_RegionRoomBed_RegionRoomBedStatus" Association="Model.FK_RegionRoomBed_RegionRoomBedStatus">
|
|
|
|
|
<End Role="RegionRoomBedStatus" EntitySet="RegionRoomBedStatus" />
|
|
|
|
|
<End Role="RegionRoomBed" EntitySet="RegionRoomBed" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
<AssociationSet Name="FK_RegionRoomBed_RoomUuid" Association="Model.FK_RegionRoomBed_RoomUuid">
|
|
|
|
|
<End Role="Room" EntitySet="Room" />
|
|
|
|
|
<End Role="RegionRoomBed" EntitySet="RegionRoomBed" />
|
|
|
|
|
</AssociationSet>
|
|
|
|
|
</EntityContainer>
|
|
|
|
|
<ComplexType Name="sp_helpdiagramdefinition_Result">
|
|
|
|
|
<Property Type="Int32" Name="version" Nullable="true" />
|
|
|
|
|
@@ -4287,6 +4652,281 @@
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<EntityType Name="GuaDanOrder">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="StartDate" Type="DateTime" Precision="0" />
|
|
|
|
|
<Property Name="EndDate" Type="DateTime" Precision="0" />
|
|
|
|
|
<Property Name="CreateUser" Type="Int32" />
|
|
|
|
|
<Property Name="CreatedAt" Type="DateTime" Precision="7" />
|
|
|
|
|
<Property Name="UpdatedAt" Type="DateTime" Precision="7" />
|
|
|
|
|
<Property Name="Notes" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="GuaDanOrderNo" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="BookerFollowerNum" Type="Int32" />
|
|
|
|
|
<Property Name="BookerName" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="BookerPhone" Type="String" MaxLength="12" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="IsDeleted" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<NavigationProperty Name="admin" Relationship="Model.FK_GuaDanOrder_Admin_CreateUser" FromRole="GuaDanOrder" ToRole="admin" />
|
|
|
|
|
<NavigationProperty Name="follower" Relationship="Model.FK_GuaDanOrder_Followers" FromRole="GuaDanOrder" ToRole="follower" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="GuaDanOrderGuest">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="GuaDanOrderNo" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="FollowerNum" Type="Int32" />
|
|
|
|
|
<Property Name="IsDeleted" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<Property Name="RoomUuid" Type="Guid" />
|
|
|
|
|
<Property Name="BedUuid" Type="Guid" />
|
|
|
|
|
<Property Name="CheckInAt" Type="DateTime" Precision="0" />
|
|
|
|
|
<Property Name="CheckOutAt" Type="DateTime" Precision="0" />
|
|
|
|
|
<Property Name="statusUuid" Type="Guid" />
|
|
|
|
|
<NavigationProperty Name="follower" Relationship="Model.FK_GuaDanOrderGuest_FOLLOWERS" FromRole="GuaDanOrderGuest" ToRole="follower" />
|
|
|
|
|
<NavigationProperty Name="RegionRoomBed" Relationship="Model.FK_GuaDanOrderGuest_BedUuid" FromRole="GuaDanOrderGuest" ToRole="RegionRoomBed" />
|
|
|
|
|
<NavigationProperty Name="Room" Relationship="Model.FK_GuaDanOrderGuest_RoomUuid" FromRole="GuaDanOrderGuest" ToRole="Room" />
|
|
|
|
|
<NavigationProperty Name="RegionRoomBedStatus" Relationship="Model.FK_GuaDanOrderGuest_Status" FromRole="GuaDanOrderGuest" ToRole="RegionRoomBedStatus" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="GuadanTimeSetting">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Id" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Id" Type="Guid" Nullable="false" />
|
|
|
|
|
<Property Name="EarliestCheckIn" Type="String" Nullable="false" MaxLength="5" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="LatestCheckOut" Type="String" Nullable="false" MaxLength="5" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="IsActive" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="CreatedAt" Type="DateTime" Precision="3" />
|
|
|
|
|
<Property Name="UpdatedAt" Type="DateTime" Precision="3" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="Region">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="Description" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="SortOrder" Type="Int32" />
|
|
|
|
|
<Property Name="CreatedBy" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="CreatedAt" Type="DateTime" Precision="3" />
|
|
|
|
|
<Property Name="UpdatedAt" Type="DateTime" Precision="3" />
|
|
|
|
|
<Property Name="IsActive" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="RoomCount" Type="Int32" />
|
|
|
|
|
<Property Name="IsDeleted" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<Property Name="ParentUuid" Type="Guid" />
|
|
|
|
|
<Property Name="RegionTypeUuid" Type="Guid" />
|
|
|
|
|
<Property Name="Gender" Type="Boolean" />
|
|
|
|
|
<NavigationProperty Name="Region1" Relationship="Model.FK_Region_ParentUuid" FromRole="Region" ToRole="Region1" />
|
|
|
|
|
<NavigationProperty Name="Region2" Relationship="Model.FK_Region_ParentUuid" FromRole="Region1" ToRole="Region" />
|
|
|
|
|
<NavigationProperty Name="RegionType" Relationship="Model.FK_Region_RegionTypeUuid" FromRole="Region" ToRole="RegionType" />
|
|
|
|
|
<NavigationProperty Name="Room" Relationship="Model.FK_Room_Region" FromRole="Region" ToRole="Room" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="RegionAndRoomAndBedSchedule">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="UseType" Type="Int32" Nullable="false" />
|
|
|
|
|
<Property Name="Title" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="Description" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="CreatedBy" Type="String" MaxLength="100" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="CreatedAt" Type="DateTime" Precision="7" />
|
|
|
|
|
<Property Name="IsDeleted" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<Property Name="TargetUuid" Type="Guid" />
|
|
|
|
|
<Property Name="GuaDanOrderNo" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="ScheduleDate" Type="DateTime" Precision="0" />
|
|
|
|
|
<Property Name="IsActive" Type="Boolean" Nullable="false" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="RegionRoomBed">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="IsActive" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Gender" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="IsDeleted" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<Property Name="RoomUuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<Property Name="StatusUuid" Type="Guid" />
|
|
|
|
|
<NavigationProperty Name="GuaDanOrderGuests" Relationship="Model.FK_GuaDanOrderGuest_BedUuid" FromRole="RegionRoomBed" ToRole="GuaDanOrderGuest" />
|
|
|
|
|
<NavigationProperty Name="RegionRoomBedStatus" Relationship="Model.FK_RegionRoomBed_RegionRoomBedStatus" FromRole="RegionRoomBed" ToRole="RegionRoomBedStatus" />
|
|
|
|
|
<NavigationProperty Name="Room" Relationship="Model.FK_RegionRoomBed_RoomUuid" FromRole="RegionRoomBed" ToRole="Room" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="RegionRoomBedStatus">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Code" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="Description" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="Category" Type="Int32" />
|
|
|
|
|
<Property Name="IsDeleted" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<NavigationProperty Name="GuaDanOrderGuests" Relationship="Model.FK_GuaDanOrderGuest_Status" FromRole="RegionRoomBedStatus" ToRole="GuaDanOrderGuest" />
|
|
|
|
|
<NavigationProperty Name="RegionRoomBeds" Relationship="Model.FK_RegionRoomBed_RegionRoomBedStatus" FromRole="RegionRoomBedStatus" ToRole="RegionRoomBed" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="RegionType">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Code" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" />
|
|
|
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="IsActive" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="CreateAt" Type="DateTime" Precision="3" />
|
|
|
|
|
<Property Name="IsDeleted" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<NavigationProperty Name="Regions" Relationship="Model.FK_Region_RegionTypeUuid" FromRole="RegionType" ToRole="Region" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<EntityType Name="Room">
|
|
|
|
|
<Key>
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Key>
|
|
|
|
|
<Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
|
|
|
|
<Property Name="Gender" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="BedCount" Type="Int32" />
|
|
|
|
|
<Property Name="IsActive" Type="Boolean" />
|
|
|
|
|
<Property Name="CreatedAt" Type="DateTime" Precision="3" />
|
|
|
|
|
<Property Name="UpdatedAt" Type="DateTime" Precision="3" />
|
|
|
|
|
<Property Name="IsDeleted" Type="Boolean" Nullable="false" />
|
|
|
|
|
<Property Name="Uuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<Property Name="RegionUuid" Type="Guid" Nullable="false" />
|
|
|
|
|
<NavigationProperty Name="GuaDanOrderGuests" Relationship="Model.FK_GuaDanOrderGuest_RoomUuid" FromRole="Room" ToRole="GuaDanOrderGuest" />
|
|
|
|
|
<NavigationProperty Name="Region" Relationship="Model.FK_Room_Region" FromRole="Room" ToRole="Region" />
|
|
|
|
|
<NavigationProperty Name="RegionRoomBed" Relationship="Model.FK_RegionRoomBed_RoomUuid" FromRole="Room" ToRole="RegionRoomBed" />
|
|
|
|
|
</EntityType>
|
|
|
|
|
<Association Name="FK_GuaDanOrder_Admin_CreateUser">
|
|
|
|
|
<End Type="Model.admin" Role="admin" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.GuaDanOrder" Role="GuaDanOrder" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="admin">
|
|
|
|
|
<PropertyRef Name="num" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrder">
|
|
|
|
|
<PropertyRef Name="CreateUser" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrder_Followers">
|
|
|
|
|
<End Type="Model.follower" Role="follower" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.GuaDanOrder" Role="GuaDanOrder" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="follower">
|
|
|
|
|
<PropertyRef Name="num" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrder">
|
|
|
|
|
<PropertyRef Name="BookerFollowerNum" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrderGuest_FOLLOWERS">
|
|
|
|
|
<End Type="Model.follower" Role="follower" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.GuaDanOrderGuest" Role="GuaDanOrderGuest" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="follower">
|
|
|
|
|
<PropertyRef Name="num" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrderGuest">
|
|
|
|
|
<PropertyRef Name="FollowerNum" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrderGuest_BedUuid">
|
|
|
|
|
<End Type="Model.RegionRoomBed" Role="RegionRoomBed" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.GuaDanOrderGuest" Role="GuaDanOrderGuest" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="RegionRoomBed">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrderGuest">
|
|
|
|
|
<PropertyRef Name="BedUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrderGuest_RoomUuid">
|
|
|
|
|
<End Type="Model.Room" Role="Room" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.GuaDanOrderGuest" Role="GuaDanOrderGuest" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="Room">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrderGuest">
|
|
|
|
|
<PropertyRef Name="RoomUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_GuaDanOrderGuest_Status">
|
|
|
|
|
<End Type="Model.RegionRoomBedStatus" Role="RegionRoomBedStatus" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.GuaDanOrderGuest" Role="GuaDanOrderGuest" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="RegionRoomBedStatus">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="GuaDanOrderGuest">
|
|
|
|
|
<PropertyRef Name="statusUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_Region_ParentUuid">
|
|
|
|
|
<End Type="Model.Region" Role="Region" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.Region" Role="Region1" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="Region">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="Region1">
|
|
|
|
|
<PropertyRef Name="ParentUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_Region_RegionTypeUuid">
|
|
|
|
|
<End Type="Model.RegionType" Role="RegionType" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.Region" Role="Region" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="RegionType">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="Region">
|
|
|
|
|
<PropertyRef Name="RegionTypeUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_Room_Region">
|
|
|
|
|
<End Type="Model.Region" Role="Region" Multiplicity="1" />
|
|
|
|
|
<End Type="Model.Room" Role="Room" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="Region">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="Room">
|
|
|
|
|
<PropertyRef Name="RegionUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_RegionRoomBed_RegionRoomBedStatus">
|
|
|
|
|
<End Type="Model.RegionRoomBedStatus" Role="RegionRoomBedStatus" Multiplicity="0..1" />
|
|
|
|
|
<End Type="Model.RegionRoomBed" Role="RegionRoomBed" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="RegionRoomBedStatus">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="RegionRoomBed">
|
|
|
|
|
<PropertyRef Name="StatusUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
<Association Name="FK_RegionRoomBed_RoomUuid">
|
|
|
|
|
<End Type="Model.Room" Role="Room" Multiplicity="1" />
|
|
|
|
|
<End Type="Model.RegionRoomBed" Role="RegionRoomBed" Multiplicity="*" />
|
|
|
|
|
<ReferentialConstraint>
|
|
|
|
|
<Principal Role="Room">
|
|
|
|
|
<PropertyRef Name="Uuid" />
|
|
|
|
|
</Principal>
|
|
|
|
|
<Dependent Role="RegionRoomBed">
|
|
|
|
|
<PropertyRef Name="RoomUuid" />
|
|
|
|
|
</Dependent>
|
|
|
|
|
</ReferentialConstraint>
|
|
|
|
|
</Association>
|
|
|
|
|
</Schema>
|
|
|
|
|
</edmx:ConceptualModels>
|
|
|
|
|
<!-- C-S mapping content -->
|
|
|
|
|
@@ -5115,7 +5755,7 @@
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="ShuWens">
|
|
|
|
|
<EntitySetMapping Name="ShuWen">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.ShuWen">
|
|
|
|
|
<MappingFragment StoreEntitySet="ShuWen">
|
|
|
|
|
<ScalarProperty Name="IsGenerating" ColumnName="IsGenerating" />
|
|
|
|
|
@@ -5160,6 +5800,139 @@
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="GuaDanOrder">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.GuaDanOrder">
|
|
|
|
|
<MappingFragment StoreEntitySet="GuaDanOrder">
|
|
|
|
|
<ScalarProperty Name="Uuid" ColumnName="Uuid" />
|
|
|
|
|
<ScalarProperty Name="IsDeleted" ColumnName="IsDeleted" />
|
|
|
|
|
<ScalarProperty Name="BookerPhone" ColumnName="BookerPhone" />
|
|
|
|
|
<ScalarProperty Name="BookerName" ColumnName="BookerName" />
|
|
|
|
|
<ScalarProperty Name="BookerFollowerNum" ColumnName="BookerFollowerNum" />
|
|
|
|
|
<ScalarProperty Name="GuaDanOrderNo" ColumnName="GuaDanOrderNo" />
|
|
|
|
|
<ScalarProperty Name="Notes" ColumnName="Notes" />
|
|
|
|
|
<ScalarProperty Name="UpdatedAt" ColumnName="UpdatedAt" />
|
|
|
|
|
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
|
|
|
|
|
<ScalarProperty Name="CreateUser" ColumnName="CreateUser" />
|
|
|
|
|
<ScalarProperty Name="EndDate" ColumnName="EndDate" />
|
|
|
|
|
<ScalarProperty Name="StartDate" ColumnName="StartDate" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="GuaDanOrderGuest">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.GuaDanOrderGuest">
|
|
|
|
|
<MappingFragment StoreEntitySet="GuaDanOrderGuest">
|
|
|
|
|
<ScalarProperty Name="statusUuid" ColumnName="statusUuid" />
|
|
|
|
|
<ScalarProperty Name="CheckOutAt" ColumnName="CheckOutAt" />
|
|
|
|
|
<ScalarProperty Name="CheckInAt" ColumnName="CheckInAt" />
|
|
|
|
|
<ScalarProperty Name="BedUuid" ColumnName="BedUuid" />
|
|
|
|
|
<ScalarProperty Name="RoomUuid" ColumnName="RoomUuid" />
|
|
|
|
|
<ScalarProperty Name="Uuid" ColumnName="Uuid" />
|
|
|
|
|
<ScalarProperty Name="IsDeleted" ColumnName="IsDeleted" />
|
|
|
|
|
<ScalarProperty Name="FollowerNum" ColumnName="FollowerNum" />
|
|
|
|
|
<ScalarProperty Name="GuaDanOrderNo" ColumnName="GuaDanOrderNo" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="GuadanTimeSetting">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.GuadanTimeSetting">
|
|
|
|
|
<MappingFragment StoreEntitySet="GuadanTimeSetting">
|
|
|
|
|
<ScalarProperty Name="UpdatedAt" ColumnName="UpdatedAt" />
|
|
|
|
|
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
|
|
|
|
|
<ScalarProperty Name="IsActive" ColumnName="IsActive" />
|
|
|
|
|
<ScalarProperty Name="LatestCheckOut" ColumnName="LatestCheckOut" />
|
|
|
|
|
<ScalarProperty Name="EarliestCheckIn" ColumnName="EarliestCheckIn" />
|
|
|
|
|
<ScalarProperty Name="Id" ColumnName="Id" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="Region">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.Region">
|
|
|
|
|
<MappingFragment StoreEntitySet="Region">
|
|
|
|
|
<ScalarProperty Name="Gender" ColumnName="Gender" />
|
|
|
|
|
<ScalarProperty Name="RegionTypeUuid" ColumnName="RegionTypeUuid" />
|
|
|
|
|
<ScalarProperty Name="ParentUuid" ColumnName="ParentUuid" />
|
|
|
|
|
<ScalarProperty Name="Uuid" ColumnName="Uuid" />
|
|
|
|
|
<ScalarProperty Name="IsDeleted" ColumnName="IsDeleted" />
|
|
|
|
|
<ScalarProperty Name="RoomCount" ColumnName="RoomCount" />
|
|
|
|
|
<ScalarProperty Name="IsActive" ColumnName="IsActive" />
|
|
|
|
|
<ScalarProperty Name="UpdatedAt" ColumnName="UpdatedAt" />
|
|
|
|
|
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
|
|
|
|
|
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
|
|
|
|
<ScalarProperty Name="SortOrder" ColumnName="SortOrder" />
|
|
|
|
|
<ScalarProperty Name="Description" ColumnName="Description" />
|
|
|
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="RegionAndRoomAndBedSchedule">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.RegionAndRoomAndBedSchedule">
|
|
|
|
|
<MappingFragment StoreEntitySet="RegionAndRoomAndBedSchedule">
|
|
|
|
|
<ScalarProperty Name="IsActive" ColumnName="IsActive" />
|
|
|
|
|
<ScalarProperty Name="ScheduleDate" ColumnName="ScheduleDate" />
|
|
|
|
|
<ScalarProperty Name="GuaDanOrderNo" ColumnName="GuaDanOrderNo" />
|
|
|
|
|
<ScalarProperty Name="TargetUuid" ColumnName="TargetUuid" />
|
|
|
|
|
<ScalarProperty Name="Uuid" ColumnName="Uuid" />
|
|
|
|
|
<ScalarProperty Name="IsDeleted" ColumnName="IsDeleted" />
|
|
|
|
|
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
|
|
|
|
|
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
|
|
|
|
<ScalarProperty Name="Description" ColumnName="Description" />
|
|
|
|
|
<ScalarProperty Name="Title" ColumnName="Title" />
|
|
|
|
|
<ScalarProperty Name="UseType" ColumnName="UseType" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="RegionRoomBed">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.RegionRoomBed">
|
|
|
|
|
<MappingFragment StoreEntitySet="RegionRoomBed">
|
|
|
|
|
<ScalarProperty Name="StatusUuid" ColumnName="StatusUuid" />
|
|
|
|
|
<ScalarProperty Name="RoomUuid" ColumnName="RoomUuid" />
|
|
|
|
|
<ScalarProperty Name="Uuid" ColumnName="Uuid" />
|
|
|
|
|
<ScalarProperty Name="IsDeleted" ColumnName="IsDeleted" />
|
|
|
|
|
<ScalarProperty Name="Gender" ColumnName="Gender" />
|
|
|
|
|
<ScalarProperty Name="IsActive" ColumnName="IsActive" />
|
|
|
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="RegionRoomBedStatus">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.RegionRoomBedStatus">
|
|
|
|
|
<MappingFragment StoreEntitySet="RegionRoomBedStatus">
|
|
|
|
|
<ScalarProperty Name="Uuid" ColumnName="Uuid" />
|
|
|
|
|
<ScalarProperty Name="IsDeleted" ColumnName="IsDeleted" />
|
|
|
|
|
<ScalarProperty Name="Category" ColumnName="Category" />
|
|
|
|
|
<ScalarProperty Name="Description" ColumnName="Description" />
|
|
|
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
|
|
|
<ScalarProperty Name="Code" ColumnName="Code" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="RegionType">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.RegionType">
|
|
|
|
|
<MappingFragment StoreEntitySet="RegionType">
|
|
|
|
|
<ScalarProperty Name="Uuid" ColumnName="Uuid" />
|
|
|
|
|
<ScalarProperty Name="IsDeleted" ColumnName="IsDeleted" />
|
|
|
|
|
<ScalarProperty Name="CreateAt" ColumnName="CreateAt" />
|
|
|
|
|
<ScalarProperty Name="IsActive" ColumnName="IsActive" />
|
|
|
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
|
|
|
<ScalarProperty Name="Code" ColumnName="Code" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
<EntitySetMapping Name="Room">
|
|
|
|
|
<EntityTypeMapping TypeName="Model.Room">
|
|
|
|
|
<MappingFragment StoreEntitySet="Room">
|
|
|
|
|
<ScalarProperty Name="RegionUuid" ColumnName="RegionUuid" />
|
|
|
|
|
<ScalarProperty Name="Uuid" ColumnName="Uuid" />
|
|
|
|
|
<ScalarProperty Name="IsDeleted" ColumnName="IsDeleted" />
|
|
|
|
|
<ScalarProperty Name="UpdatedAt" ColumnName="UpdatedAt" />
|
|
|
|
|
<ScalarProperty Name="CreatedAt" ColumnName="CreatedAt" />
|
|
|
|
|
<ScalarProperty Name="IsActive" ColumnName="IsActive" />
|
|
|
|
|
<ScalarProperty Name="BedCount" ColumnName="BedCount" />
|
|
|
|
|
<ScalarProperty Name="Gender" ColumnName="Gender" />
|
|
|
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
|
|
|
|
</MappingFragment>
|
|
|
|
|
</EntityTypeMapping>
|
|
|
|
|
</EntitySetMapping>
|
|
|
|
|
</EntityContainerMapping>
|
|
|
|
|
</Mapping>
|
|
|
|
|
</edmx:Mappings>
|
|
|
|
|
|