This commit is contained in:
2026-07-22 18:04:17 +08:00
parent 07c5027ad8
commit da58dc92d0
19 changed files with 2105 additions and 148 deletions
+215 -14
View File
@@ -343,10 +343,10 @@
</Key>
<Property Name="num" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="f_num" Type="int" Nullable="false" />
<Property Name="start_date" Type="date" Nullable="false" />
<Property Name="end_date" Type="date" Nullable="false" />
<Property Name="start_date" Type="date" />
<Property Name="end_date" Type="date" />
<Property Name="receipt_title" Type="nvarchar(max)" />
<Property Name="receipt_address" Type="nchar" MaxLength="200" />
<Property Name="receipt_address" Type="nvarchar" MaxLength="200" />
</EntityType>
<EntityType Name="bed_kind">
<Key>
@@ -419,7 +419,7 @@
<Property Name="smtp_def" Type="nvarchar" MaxLength="1" />
<Property Name="use_sender" Type="nvarchar" MaxLength="1" />
<Property Name="bed_order_no" Type="nvarchar" MaxLength="20" />
<Property Name="last_auto_order_no" Type="nvarchar" MaxLength="20" />
<Property Name="last_auto_order_no" Type="varchar" MaxLength="20" />
</EntityType>
<EntityType Name="country">
<Key>
@@ -795,6 +795,69 @@
<Property Name="pic1" Type="nvarchar" MaxLength="50" />
<Property Name="pro_id" Type="int" />
</EntityType>
<EntityType Name="receipt_detail">
<Key>
<PropertyRef Name="num" />
</Key>
<Property Name="num" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="receipt_num" Type="int" />
<Property Name="title" Type="nvarchar(max)" />
<Property Name="amt" Type="int" />
<Property Name="receipt_no" Type="varchar" MaxLength="50" />
<Property Name="caseofficer" Type="nvarchar" MaxLength="50" />
<Property Name="c_user" Type="varchar" MaxLength="30" />
<Property Name="c_date" Type="varchar" MaxLength="10" />
<Property Name="c_time" Type="varchar" MaxLength="6" />
<Property Name="u_user" Type="varchar" MaxLength="30" />
<Property Name="u_date" Type="varchar" MaxLength="10" />
<Property Name="u_time" Type="varchar" MaxLength="6" />
<Property Name="addr" Type="nvarchar" MaxLength="255" />
</EntityType>
<EntityType Name="receipt_master">
<Key>
<PropertyRef Name="num" />
</Key>
<Property Name="num" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="order_no" Type="varchar" MaxLength="50" />
<Property Name="total_amt" Type="int" />
<Property Name="receipt_date" Type="varchar" MaxLength="10" />
<Property Name="style_num" Type="int" />
<Property Name="c_user" Type="varchar" MaxLength="30" />
<Property Name="c_date" Type="varchar" MaxLength="10" />
<Property Name="c_time" Type="varchar" MaxLength="6" />
<Property Name="u_user" Type="varchar" MaxLength="30" />
<Property Name="u_date" Type="varchar" MaxLength="10" />
<Property Name="u_time" Type="varchar" MaxLength="6" />
<Property Name="source" Type="varchar" MaxLength="8" />
</EntityType>
<EntityType Name="receipt_style">
<Key>
<PropertyRef Name="num" />
</Key>
<Property Name="num" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="name" Type="nvarchar" MaxLength="50" />
<Property Name="c_user" Type="varchar" MaxLength="30" />
<Property Name="c_date" Type="varchar" MaxLength="10" />
<Property Name="c_time" Type="varchar" MaxLength="6" />
<Property Name="u_user" Type="varchar" MaxLength="30" />
<Property Name="u_date" Type="varchar" MaxLength="10" />
<Property Name="u_time" Type="varchar" MaxLength="6" />
</EntityType>
<EntityType Name="receipt_style_d">
<Key>
<PropertyRef Name="num" />
</Key>
<Property Name="num" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="style_num" Type="int" />
<Property Name="item_name" Type="varchar" MaxLength="50" />
<Property Name="item_value" Type="nvarchar" MaxLength="50" />
<Property Name="c_user" Type="varchar" MaxLength="30" />
<Property Name="c_date" Type="varchar" MaxLength="10" />
<Property Name="c_time" Type="varchar" MaxLength="6" />
<Property Name="u_user" Type="varchar" MaxLength="30" />
<Property Name="u_date" Type="varchar" MaxLength="10" />
<Property Name="u_time" Type="varchar" MaxLength="6" />
</EntityType>
<EntityType Name="Region">
<Key>
<PropertyRef Name="Uuid" />
@@ -1140,15 +1203,15 @@
</Dependent>
</ReferentialConstraint>
</Association>
<Association Name="FK_activity_activity_category_kind">
<End Role="activity_category_kind" Type="Self.activity_category_kind" Multiplicity="0..1" />
<Association Name="FK_activity_activity_kind">
<End Role="activity_kind" Type="Self.activity_kind" Multiplicity="0..1" />
<End Role="activity" Type="Self.activity" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="activity_category_kind">
<Principal Role="activity_kind">
<PropertyRef Name="num" />
</Principal>
<Dependent Role="activity">
<PropertyRef Name="category_kind" />
<PropertyRef Name="kind" />
</Dependent>
</ReferentialConstraint>
</Association>
@@ -2188,6 +2251,10 @@
<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="receipt_detail" EntityType="Self.receipt_detail" Schema="dbo" store:Type="Tables" />
<EntitySet Name="receipt_master" EntityType="Self.receipt_master" Schema="dbo" store:Type="Tables" />
<EntitySet Name="receipt_style" EntityType="Self.receipt_style" Schema="dbo" store:Type="Tables" />
<EntitySet Name="receipt_style_d" EntityType="Self.receipt_style_d" 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" />
@@ -2246,8 +2313,8 @@
<End Role="actItem" EntitySet="actItem" />
<End Role="actItem_files" EntitySet="actItem_files" />
</AssociationSet>
<AssociationSet Name="FK_activity_activity_category_kind" Association="Self.FK_activity_activity_category_kind">
<End Role="activity_category_kind" EntitySet="activity_category_kind" />
<AssociationSet Name="FK_activity_activity_kind" Association="Self.FK_activity_activity_kind">
<End Role="activity_kind" EntitySet="activity_kind" />
<End Role="activity" EntitySet="activity" />
</AssociationSet>
<AssociationSet Name="FK_activity_check_activity" Association="Self.FK_activity_check_activity">
@@ -2953,7 +3020,7 @@
<Property Name="smtp_def" Type="String" MaxLength="1" FixedLength="false" Unicode="true" />
<Property Name="use_sender" Type="String" MaxLength="1" FixedLength="false" Unicode="true" />
<Property Name="bed_order_no" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
<Property Name="last_auto_order_no" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
<Property Name="last_auto_order_no" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="country">
<Key>
@@ -4620,6 +4687,10 @@
<End Role="auto_enroll" EntitySet="auto_enroll" />
<End Role="pro_order" EntitySet="pro_order" />
</AssociationSet>
<EntitySet Name="receipt_detail" EntityType="Model.receipt_detail" />
<EntitySet Name="receipt_master" EntityType="Model.receipt_master" />
<EntitySet Name="receipt_style" EntityType="Model.receipt_style" />
<EntitySet Name="receipt_style_d" EntityType="Model.receipt_style_d" />
</EntityContainer>
<ComplexType Name="sp_helpdiagramdefinition_Result">
<Property Type="Int32" Name="version" Nullable="true" />
@@ -5343,10 +5414,10 @@
</Key>
<Property Name="num" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="f_num" Type="Int32" Nullable="false" />
<Property Name="start_date" Type="DateTime" Precision="0" Nullable="false" />
<Property Name="end_date" Type="DateTime" Precision="0" Nullable="false" />
<Property Name="start_date" Type="DateTime" Precision="0" />
<Property Name="end_date" Type="DateTime" Precision="0" />
<Property Name="receipt_title" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="receipt_address" Type="String" MaxLength="200" FixedLength="true" Unicode="true" />
<Property Name="receipt_address" Type="String" MaxLength="200" FixedLength="false" Unicode="true" />
<NavigationProperty Name="followers" Relationship="Model.FK_auto_enroll_followers" FromRole="auto_enroll" ToRole="follower" />
<NavigationProperty Name="pro_order" Relationship="Model.FK_pro_order_auto_enroll" FromRole="auto_enroll" ToRole="pro_order" />
</EntityType>
@@ -5376,6 +5447,69 @@
</Dependent>
</ReferentialConstraint>
</Association>
<EntityType Name="receipt_detail">
<Key>
<PropertyRef Name="num" />
</Key>
<Property Name="num" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="receipt_num" Type="Int32" />
<Property Name="title" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="amt" Type="Int32" />
<Property Name="receipt_no" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="caseofficer" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="c_user" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="c_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="c_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
<Property Name="u_user" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="u_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="u_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
<Property Name="addr" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
</EntityType>
<EntityType Name="receipt_master">
<Key>
<PropertyRef Name="num" />
</Key>
<Property Name="num" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="order_no" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="total_amt" Type="Int32" />
<Property Name="receipt_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="style_num" Type="Int32" />
<Property Name="c_user" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="c_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="c_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
<Property Name="u_user" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="u_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="u_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
<Property Name="source" Type="String" MaxLength="8" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="receipt_style">
<Key>
<PropertyRef Name="num" />
</Key>
<Property Name="num" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="name" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="c_user" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="c_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="c_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
<Property Name="u_user" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="u_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="u_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="receipt_style_d">
<Key>
<PropertyRef Name="num" />
</Key>
<Property Name="num" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="style_num" Type="Int32" />
<Property Name="item_name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="item_value" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="c_user" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="c_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="c_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
<Property Name="u_user" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="u_date" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="u_time" Type="String" MaxLength="6" FixedLength="false" Unicode="false" />
</EntityType>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
@@ -6447,6 +6581,73 @@
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="receipt_detail">
<EntityTypeMapping TypeName="Model.receipt_detail">
<MappingFragment StoreEntitySet="receipt_detail">
<ScalarProperty Name="addr" ColumnName="addr" />
<ScalarProperty Name="u_time" ColumnName="u_time" />
<ScalarProperty Name="u_date" ColumnName="u_date" />
<ScalarProperty Name="u_user" ColumnName="u_user" />
<ScalarProperty Name="c_time" ColumnName="c_time" />
<ScalarProperty Name="c_date" ColumnName="c_date" />
<ScalarProperty Name="c_user" ColumnName="c_user" />
<ScalarProperty Name="caseofficer" ColumnName="caseofficer" />
<ScalarProperty Name="receipt_no" ColumnName="receipt_no" />
<ScalarProperty Name="amt" ColumnName="amt" />
<ScalarProperty Name="title" ColumnName="title" />
<ScalarProperty Name="receipt_num" ColumnName="receipt_num" />
<ScalarProperty Name="num" ColumnName="num" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="receipt_master">
<EntityTypeMapping TypeName="Model.receipt_master">
<MappingFragment StoreEntitySet="receipt_master">
<ScalarProperty Name="source" ColumnName="source" />
<ScalarProperty Name="u_time" ColumnName="u_time" />
<ScalarProperty Name="u_date" ColumnName="u_date" />
<ScalarProperty Name="u_user" ColumnName="u_user" />
<ScalarProperty Name="c_time" ColumnName="c_time" />
<ScalarProperty Name="c_date" ColumnName="c_date" />
<ScalarProperty Name="c_user" ColumnName="c_user" />
<ScalarProperty Name="style_num" ColumnName="style_num" />
<ScalarProperty Name="receipt_date" ColumnName="receipt_date" />
<ScalarProperty Name="total_amt" ColumnName="total_amt" />
<ScalarProperty Name="order_no" ColumnName="order_no" />
<ScalarProperty Name="num" ColumnName="num" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="receipt_style">
<EntityTypeMapping TypeName="Model.receipt_style">
<MappingFragment StoreEntitySet="receipt_style">
<ScalarProperty Name="u_time" ColumnName="u_time" />
<ScalarProperty Name="u_date" ColumnName="u_date" />
<ScalarProperty Name="u_user" ColumnName="u_user" />
<ScalarProperty Name="c_time" ColumnName="c_time" />
<ScalarProperty Name="c_date" ColumnName="c_date" />
<ScalarProperty Name="c_user" ColumnName="c_user" />
<ScalarProperty Name="name" ColumnName="name" />
<ScalarProperty Name="num" ColumnName="num" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="receipt_style_d">
<EntityTypeMapping TypeName="Model.receipt_style_d">
<MappingFragment StoreEntitySet="receipt_style_d">
<ScalarProperty Name="u_time" ColumnName="u_time" />
<ScalarProperty Name="u_date" ColumnName="u_date" />
<ScalarProperty Name="u_user" ColumnName="u_user" />
<ScalarProperty Name="c_time" ColumnName="c_time" />
<ScalarProperty Name="c_date" ColumnName="c_date" />
<ScalarProperty Name="c_user" ColumnName="c_user" />
<ScalarProperty Name="item_value" ColumnName="item_value" />
<ScalarProperty Name="item_name" ColumnName="item_name" />
<ScalarProperty Name="style_num" ColumnName="style_num" />
<ScalarProperty Name="num" ColumnName="num" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping>
</Mapping>
</edmx:Mappings>