Commit 355872bc by 杨清松

项目备案数据模型

parent a80db428
...@@ -136,6 +136,7 @@ dependencies { ...@@ -136,6 +136,7 @@ dependencies {
compile "com.beecode:inz.enterprisesetting:${inzVersion}" compile "com.beecode:inz.enterprisesetting:${inzVersion}"
compile "com.beecode:xyst.dinas.oa:${inzVersion}" compile "com.beecode:xyst.dinas.oa:${inzVersion}"
compile "com.beecode:xyst.dinas.biz:${inzVersion}" compile "com.beecode:xyst.dinas.biz:${inzVersion}"
compile "com.beecode:xyst.dinas.project:${inzVersion}"
providedRuntime lib.spring_boot_starter_tomcat providedRuntime lib.spring_boot_starter_tomcat
} }
......
...@@ -13,6 +13,7 @@ includeBuild("../") { ...@@ -13,6 +13,7 @@ includeBuild("../") {
substitute module('com.beecode:inz.enterprisesetting') with project(':inz.enterprisesetting') substitute module('com.beecode:inz.enterprisesetting') with project(':inz.enterprisesetting')
substitute module('com.beecode:xyst.dinas.oa') with project(':xyst.dinas.oa') substitute module('com.beecode:xyst.dinas.oa') with project(':xyst.dinas.oa')
substitute module('com.beecode:xyst.dinas.biz') with project(':xyst.dinas.biz') substitute module('com.beecode:xyst.dinas.biz') with project(':xyst.dinas.biz')
substitute module('com.beecode:xyst.dinas.project') with project(':xyst.dinas.project')
} }
} }
......
...@@ -11,4 +11,5 @@ include "inz.query" ...@@ -11,4 +11,5 @@ include "inz.query"
include "inz.workflow" include "inz.workflow"
include "xyst.dinas.oa" include "xyst.dinas.oa"
include "xyst.dinas.biz" include "xyst.dinas.biz"
include "xyst.dinas.project"
dependencies {
compile lib.bcp_import
compile lib.bcp_type
compile lib.bcp_store
compile lib.hibernate_core
compile lib.spring_web
compile lib.spring_boot_autoconfigure
compile lib.jackson_datatype_jdk8
compile lib.jackson_datatype_jsr310
compile lib.json
compile "com.beecode:bap2.participant:${aminoVersion}"
compile "com.beecode:bcp.org:${aminoVersion}"
compile "com.beecode:bap2.department:${aminoVersion}"
compile "com.beecode:bap2.staff:${aminoVersion}"
compile 'com.deepoove:poi-tl:1.5.0'
compile project(":inz.common")
compile project(":inz.query")
compile project(":inz.workflow")
compile project(":inz.basis")
compile project(":xyst.dinas.biz")
testCompile lib.amino_boot_web
testCompile lib.mysql_connector
}
rootProject.name = 'xyst.dinas.project'
\ No newline at end of file
package com.xyst.dinas.project.config;
import java.util.ArrayList;
import java.util.List;
import org.springframework.context.annotation.Bean;
import com.beecode.inz.workflow.config.BizTypeInfo;
import com.beecode.inz.workflow.config.BizTypeWorkflowConfiguration;
import com.beecode.inz.workflow.config.ProcessConfiguration;
import com.beecode.inz.workflow.config.TriggerAction;
import com.beecode.inz.workflow.config.TriggerCondition;
public class ProjectConfiguration {
}
<model>
<header>
<type>bcp.biz.Bill</type>
<package>com.xyst.dinas.project.bill</package>
<title>项目备案</title>
<name>ProjectFiled</name>
<description>项目备案</description>
</header>
<content>
<bill>
<data>
{"baseData":{"name":"ProjectFiled","title":"项目备案","billModel":"com.beecode.bap.biztrait.BasicBillBiztrait","functionLibrarys":[],"description":"项目备案","dataModel":"com.xyst.dinas.project.datamodel.ProjectFiled"},"serial":{"serialData":[{"segment":"literal","segmentData":"EM"},{"segment":"sequence","segmentData":{"start-with":0,"increment":1,"min":0,"max":99999,"length":5,"cycle":true,"cut-direction":"left","pad-string":"0","pad-direction":"left","cache-size":10}}],"buildTime":"add"},"formula":[],"workflow":{"workflow":"","processParamConfig":[]},"print":[],"authority":[]}
</data>
</bill>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.project.datamodel</package>
<title>项目备案</title>
<name>ProjectFiled</name>
<tags></tags>
<description>项目备案</description>
<templateName>mk.ide.ui.editor.data.model.template.bill</templateName>
<tablePrefix>xyst_dinas_project_</tablePrefix>
</header>
<content>
<dataModel id='12a4ab84-5739-44ea-8f7a-7ca0945d4b68' multiVersion='' domainInherit='undefined' tableName='xyst_dinas_project_filed'>
<parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</parent>
<parent>com.beecode.inz.common.datamodel.BaseInfo</parent>
<attribute id='b1c802bd-d689-446d-bdd3-15fdcf7059a4' name='projectName' columnName='project_name' title='项目名称' type='string' default='' precision='' isArray='false'>
<annotation id='7c695727-b8b4-480c-b7bb-314331396b1a' attributeId='4885d51c-d8bc-43c4-bc2f-d2b7d87bf097' name='length' value='100'>
</annotation>
</attribute>
<attribute id='77196547-06cb-4a93-a2f2-bbff7b2f509c' name='projectType' columnName='project_type' title='项目类型' type='com.xyst.dinas.project.dict.datamodel.ProjectType' default='' precision='' isArray='false'>
<annotation id='8047ea26-f434-49b9-a7d8-c96fc4eddaa7' attributeId='af592e09-22a5-4f34-89b6-304ac932820b' name='length' value='undefined'>
</annotation>
<annotation id='6e9fc7d6-fa27-4e16-b188-dfdd137c6f28' attributeId='fc64db52-d4a6-4294-b3cc-13618b579d68' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='a30c25a6-d176-492b-bc27-37bbe05d397d' name='projectNum' columnName='project_num' title='项目编号' type='string' default='' precision='' isArray='false'>
<annotation id='51891c94-4a1a-4a4f-bb1f-01e5ce4cc45d' attributeId='e00a05cd-05c3-49c4-b980-f8d5ddccf32b' name='length' value='100'>
</annotation>
</attribute>
<attribute id='749768f8-71d1-458f-a6b3-eb2bd17e4aa7' name='projectLocation' columnName='project_location' title='项目所在地' type='string' default='' precision='' isArray='false'>
<annotation id='1c9ff507-f15d-4158-bc7d-bc4b17a3ad7a' attributeId='e5dd25aa-b326-48a0-87dc-f399dbeaf16e' name='length' value='100'>
</annotation>
</attribute>
<attribute id='fc781192-f0c6-4080-8686-4c50c372fafd' name='useSandComany' columnName='use_sand_comany' title='用砂单位' type='string' default='' precision='' isArray='false'>
<annotation id='b285c9aa-667e-4530-9881-ec263697ec5e' attributeId='5761ef9f-dfc3-4301-86a6-f4ca7e51cbb0' name='length' value='100'>
</annotation>
</attribute>
<attribute id='de105a29-4f92-4445-a6cd-0478a6299062' name='projectGeneralContractor' columnName='project_general_contractor' title='项目总包方' type='string' default='' precision='' isArray='false'>
<annotation id='766d7ef9-1098-40be-921f-0add2b75d1d7' attributeId='a306f7fc-ce23-4a9e-aa56-d71e8bbc19a3' name='length' value='100'>
</annotation>
</attribute>
<attribute id='b1ad26dd-67aa-43cd-afce-0773a37ff386' name='contacts' columnName='contacts' title='联系人' type='string' default='' precision='' isArray='false'>
<annotation id='cd3babc0-b23b-45a5-8ea6-cc30f9eeebb5' attributeId='5c5c8e67-6e5d-4eca-b658-23e5ee187ea5' name='length' value='100'>
</annotation>
</attribute>
<attribute id='ee1efa35-344a-41a8-8424-5114cc5a2822' name='contactNumber' columnName='contact_number' title='联系电话' type='string' default='' precision='' isArray='false'>
<annotation id='31c30241-8ba2-4945-ae49-00bbae7d5315' attributeId='f7f38ef1-dd03-447d-92c5-5d0896d89a87' name='length' value='100'>
</annotation>
</attribute>
<attribute id='8365f237-e9d3-4a0b-8783-14d29f206bf7' name='remark' columnName='remark' title='备注' type='string' default='' precision='' isArray='false'>
<annotation id='afb0f8ea-3837-4b13-ad4f-3ea90352a686' attributeId='52c8bbab-ba7f-4e39-8524-e20939465e68' name='length' value='3000'>
</annotation>
</attribute>
<childModel id='57fa34cf-59f3-4be6-98bb-3e87858871ee' attributeId='06a76145-09c6-4e88-b91e-66aec616b9ca' refParentAttributeId='23fc82e2-e7b6-49fc-96cc-bb947ba2cc99' name='ProjectFiledDinasDetail' tableName='xyst_dinas_project_filed_dinas_detail' domainInherit='' title='砂石明细表' >
<parent>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</parent>
<attribute id='db24a0fd-1481-41e0-b2e7-c02793455f0a' name='dinasType' columnName='dinas_type' title='砂石类型' type='com.xyst.dinas.biz.datamodel.DinasType' default='' precision='' isArray='false'>
<annotation id='e4b672ce-8c82-4d98-9b53-bfa454ededc6' attributeId='5b39c162-e85b-4506-9ad8-89e5f34b3a0d' name='length' value='undefined'>
</annotation>
<annotation id='15bd3808-083b-4c8b-8e0d-c11ef1421c11' attributeId='053b4eb9-d724-4a20-8e29-646d853a17d0' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='160e2c4a-e821-45f6-9667-dc5ff75f7d34' name='weight' columnName='weight' title='重量' type='fixnum' default='' precision='' isArray='false'>
<annotation id='5cb9c04f-4e2b-4677-b4a1-ca1833c92eae' attributeId='5b64e0a6-bcb6-4538-a3bb-48fa7b35d6aa' name='length' value='undefined'>
</annotation>
</attribute>
</childModel>
<childModel id='1f46cb82-6a38-4a08-8cda-c4dcdba4d79d' attributeId='cd606daf-07b1-47c0-a96c-d604040b3222' refParentAttributeId='3a1752d8-0f80-4fd6-a9fb-a1cad245f6b8' name='ProjectSubContractorDetail' tableName='xyst_dinas_project_sub_contractor_detail' domainInherit='' title='分包明细表' >
<parent>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</parent>
<attribute id='76166697-83dd-489b-9f86-e019cd431666' name='subContractorType' columnName='sub_contractor_type' title='分包商类型' type='com.xyst.dinas.project.dict.datamodel.SubContractorType' default='' precision='' isArray='false'>
<annotation id='d209110d-0224-4c2c-acb5-0f2339143c87' attributeId='42fc0ab2-f1e5-44cd-8844-5943d8df474d' name='length' value='undefined'>
</annotation>
<annotation id='874ebdf5-26eb-4676-b871-0458b20074f0' attributeId='4dee0385-2ee2-4146-8167-c57a2324ee72' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='18097e00-1f4f-44a3-b7fc-2e033ff9cc3c' name='subContractorName' columnName='sub_contractor_name' title='分包商名称' type='string' default='' precision='' isArray='false'>
<annotation id='5f1075b7-1e16-4b79-8aa8-3dc3480e9ea6' attributeId='81220a90-7f22-42f0-ba5c-6236e47a40f2' name='length' value='100'>
</annotation>
</attribute>
</childModel>
<hibernate>/xyst.dinas.oa/src/main/resources/config/ProjectFiled.hbm.xml</hibernate>
</dataModel>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>bcp.dict.Dict</type>
<package>com.xyst.dinas.project.dict</package>
<name>ProjectType</name>
<title>项目类型</title>
<tags></tags>
<description>项目类型</description>
</header>
<content>
<dict id='63a9d27f-8e9b-432f-969e-1e6e48aa9b86' listid='64994fa2-844b-4bad-aca3-f7249e2b1c81'>
<type>com.xyst.dinas.project.dict.datamodel.ProjectType</type>
<config>
<structure>list</structure>
<code-rule></code-rule>
</config>
</dict>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>bcp.dict.Dict</type>
<package>com.xyst.dinas.project.dict</package>
<name>SubContractorType</name>
<title>分包类型</title>
<tags></tags>
<description>分包类型</description>
</header>
<content>
<dict id='1b218b0d-42f8-4543-8abb-2df866366fef' listid='5f0c2457-8995-4872-98f6-16316f48cf8d'>
<type>com.xyst.dinas.project.dict.datamodel.SubContractorType</type>
<config>
<structure>list</structure>
<code-rule></code-rule>
</config>
</dict>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.project.dict.datamodel</package>
<title>项目类型</title>
<name>ProjectType</name>
<tags>证章类型</tags>
<description>证章类型</description>
<templateName>mk.ide.ui.editor.data.model.template.common</templateName>
<tablePrefix>xyst_dinas_</tablePrefix>
</header>
<content>
<dataModel id='c8848f48-6431-42ca-9041-475b918b46ac' multiVersion='' domainInherit='undefined' tableName='xyst_dinas_project_type'>
<parent>com.beecode.bcp.dict.datamodel.BasicDictRequirement</parent>
<hibernate>/xyst.dinas.project/src/main/resources/config/ProjectType.hbm.xml</hibernate>
</dataModel>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.project.dict.datamodel</package>
<title>分包类型</title>
<name>SubContractorType</name>
<tags>分包类型</tags>
<description>分包类型</description>
<templateName>mk.ide.ui.editor.data.model.template.common</templateName>
<tablePrefix>xyst_dinas_</tablePrefix>
</header>
<content>
<dataModel id='7a0c100f-69a9-4b6d-8e15-a0bfa73cf676' multiVersion='' domainInherit='undefined' tableName='xyst_dinas_project_sub_contractor_type'>
<parent>com.beecode.bcp.dict.datamodel.BasicDictRequirement</parent>
<hibernate>/xyst.dinas.project/src/main/resources/config/SubContractorType.hbm.xml</hibernate>
</dataModel>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>inz.query.Query</type>
<package>com.xyst.dinas.project.query</package>
<name>ProjectFiled</name>
<title>岗位</title>
<tags></tags>
<description>岗位</description>
</header>
<content>
<customQuery id='a44c3166-d354-420a-b4be-49d4fafb11ba'>
<kclass>com.xyst.dinas.project.datamodel.ProjectFiled</kclass>
<authorityItem>com.xyst.dinas.project.auth.ProjectFiledList</authorityItem>
<innerScene title='全部'>
<id>4ca68e01-bd00-457a-9efb-ba0e1401b526</id>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title='已废弃'>
<id>906dd636-93d4-4f1d-8676-178fb4159d72</id>
<javaImplement>com.beecode.inz.common.scene.DefaultDiscardScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<field title='id'>
<name>id</name>
<type>uuid</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='名称'>
<name>projectName</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='项目类型'>
<name>projectType.title</name>
<type>string</type>
<ref>
<type></type>
<name>com.xyst.dinas.project.dict.datamodel.ProjectType</name>
</ref>
<description></description>
</field>
<field title='项目编号'>
<name>projectNum</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='项目所在地'>
<name>projectLocation</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='用砂单位'>
<name>useSandComany</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='项目总包方'>
<name>projectGeneralContractor</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='联系人'>
<name>contacts</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='联系电话'>
<name>contactNumber</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='创建时间'>
<name>createTime</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='创建人'>
<name>creator.name</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='修改时间'>
<name>modifyTime</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='修改人'>
<name>modifier.name</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='废弃'>
<name>discard</name>
<type>boolean</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='备注'>
<name>remark</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
</customQuery>
</content>
</model>
\ No newline at end of file
# Auto Configure
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.xyst.dinas.project.config.ProjectConfiguration
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-sequence">
<specification>1.0</specification>
<id>11282d71-77cc-4d42-9e8f-c9f829bb6431</id>
<name>com.xyst.dinas.project.bill.ProjectFiled$sequence</name>
<title>项目备案$sequence</title>
<description>项目备案</description>
<define>bcp.sequence</define>
<define-version>1.0</define-version>
<content>
<m:sequence>
<m:start-with>0</m:start-with>
<m:increment>1</m:increment>
<m:max>99999</m:max>
<m:min>0</m:min>
<m:cycle>true</m:cycle>
<m:cache-size>10</m:cache-size>
</m:sequence>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-serial">
<specification>1.0</specification>
<id>ae9c67a2-a8f2-4c3c-aa04-f8377270c167</id>
<name>com.xyst.dinas.project.bill.ProjectFiled$serial</name>
<title>项目备案$serial</title>
<description>项目备案</description>
<define>bcp.serial</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled</dependency>
<dependency>com.xyst.dinas.project.bill.ProjectFiled$sequence</dependency>
<content>
<m:serial>
<m:input>com.xyst.dinas.project.datamodel.ProjectFiled</m:input>
<m:functionLibrarys/>
<m:segments>
<m:literal>
<m:value>EM</m:value>
</m:literal>
<m:sequence>
<m:length>5</m:length>
<m:pad-direction>left</m:pad-direction>
<m:pad-string>0</m:pad-string>
<m:key>com.xyst.dinas.project.bill.ProjectFiled$serial</m:key>
<m:sequenceName>com.xyst.dinas.project.bill.ProjectFiled$sequence</m:sequenceName>
</m:sequence>
</m:segments>
</m:serial>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-biztype">
<specification>1.0</specification>
<id>97192066-25e0-457c-9bee-5ec92f32757c</id>
<name>com.xyst.dinas.project.bill.ProjectFiled</name>
<title>项目备案</title>
<description>项目备案</description>
<define>bcp.biz.Biztype</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled</dependency>
<dependency>com.beecode.bap.biztrait.BasicBillBiztrait</dependency>
<dependency>com.xyst.dinas.project.bill.ProjectFiled$serial</dependency>
<content>
<m:biztype>
<m:type>com.xyst.dinas.project.datamodel.ProjectFiled</m:type>
<m:inheritances>
<m:inheritance>
<m:biztrait>com.beecode.bap.biztrait.BasicBillBiztrait</m:biztrait>
<m:config type="xml">
<m:content>&lt;billBasictraitConfig&gt;&lt;formulas/&gt;&lt;parents&gt;&lt;parent&gt;&lt;billCodeConfig&gt;&lt;serialName&gt;com.xyst.dinas.project.bill.ProjectFiled$serial&lt;/serialName&gt;&lt;buildTime&gt;add&lt;/buildTime&gt;&lt;/billCodeConfig&gt;&lt;/parent&gt;&lt;parent&gt;&lt;workflowConfig&gt;&lt;workflow&gt;&lt;/workflow&gt;&lt;/workflowConfig&gt;&lt;/parent&gt;&lt;parent&gt;&lt;printConfig&gt;&lt;templates/&gt;&lt;/printConfig&gt;&lt;/parent&gt;&lt;/parents&gt;&lt;functionLibrarys/&gt;&lt;/billBasictraitConfig&gt;</m:content>
</m:config>
</m:inheritance>
</m:inheritances>
<m:methodAuthorityItems/>
</m:biztype>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-type">
<specification>1.0</specification>
<id>57fa34cf-59f3-4be6-98bb-3e87858871ee</id>
<name>com.xyst.dinas.project.datamodel.ProjectFiled$ProjectFiledDinasDetail</name>
<title>砂石明细表</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</dependency>
<dependency>com.xyst.dinas.biz.datamodel.DinasType</dependency>
<dependency>bcp.type.constraint.Numeric</dependency>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled</dependency>
<dependency>bcp.type.json.JsonIgnore</dependency>
<content>
<m:class>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:id>db24a0fd-1481-41e0-b2e7-c02793455f0a</m:id>
<m:name>dinasType</m:name>
<m:title>砂石类型</m:title>
<m:type>com.xyst.dinas.biz.datamodel.DinasType</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.Numeric</m:type>
<m:properties>
<m:property>
<m:key>precision</m:key>
<m:value>0</m:value>
</m:property>
<m:property>
<m:key>scale</m:key>
<m:value>0</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>160e2c4a-e821-45f6-9667-dc5ff75f7d34</m:id>
<m:name>weight</m:name>
<m:title>重量</m:title>
<m:type>fixnum</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.json.JsonIgnore</m:type>
</m:annotation>
</m:annotations>
<m:id>23fc82e2-e7b6-49fc-96cc-bb947ba2cc99</m:id>
<m:name>master</m:name>
<m:title>master</m:title>
<m:type>com.xyst.dinas.project.datamodel.ProjectFiled</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
</m:attributes>
</m:class>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-type">
<specification>1.0</specification>
<id>1f46cb82-6a38-4a08-8cda-c4dcdba4d79d</id>
<name>com.xyst.dinas.project.datamodel.ProjectFiled$ProjectSubContractorDetail</name>
<title>分包明细表</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled</dependency>
<dependency>com.xyst.dinas.project.dict.datamodel.SubContractorType</dependency>
<dependency>bcp.type.json.JsonIgnore</dependency>
<content>
<m:class>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations/>
<m:id>76166697-83dd-489b-9f86-e019cd431666</m:id>
<m:name>subContractorType</m:name>
<m:title>分包商类型</m:title>
<m:type>com.xyst.dinas.project.dict.datamodel.SubContractorType</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
</m:annotations>
<m:id>18097e00-1f4f-44a3-b7fc-2e033ff9cc3c</m:id>
<m:name>subContractorName</m:name>
<m:title>分包商名称</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.json.JsonIgnore</m:type>
</m:annotation>
</m:annotations>
<m:id>3a1752d8-0f80-4fd6-a9fb-a1cad245f6b8</m:id>
<m:name>master</m:name>
<m:title>master</m:title>
<m:type>com.xyst.dinas.project.datamodel.ProjectFiled</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
</m:attributes>
</m:class>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-type">
<specification>1.0</specification>
<id>12a4ab84-5739-44ea-8f7a-7ca0945d4b68</id>
<name>com.xyst.dinas.project.datamodel.ProjectFiled</name>
<title>项目备案</title>
<description>项目备案</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled$ProjectFiledDinasDetail</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.SubTableAnnotation</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled$ProjectSubContractorDetail</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>com.xyst.dinas.project.dict.datamodel.ProjectType</dependency>
<content>
<m:class>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</m:parent>
<m:parent>com.beecode.inz.common.datamodel.BaseInfo</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
</m:annotations>
<m:id>b1c802bd-d689-446d-bdd3-15fdcf7059a4</m:id>
<m:name>projectName</m:name>
<m:title>项目名称</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:id>77196547-06cb-4a93-a2f2-bbff7b2f509c</m:id>
<m:name>projectType</m:name>
<m:title>项目类型</m:title>
<m:type>com.xyst.dinas.project.dict.datamodel.ProjectType</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
</m:annotations>
<m:id>a30c25a6-d176-492b-bc27-37bbe05d397d</m:id>
<m:name>projectNum</m:name>
<m:title>项目编号</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
</m:annotations>
<m:id>749768f8-71d1-458f-a6b3-eb2bd17e4aa7</m:id>
<m:name>projectLocation</m:name>
<m:title>项目所在地</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
</m:annotations>
<m:id>fc781192-f0c6-4080-8686-4c50c372fafd</m:id>
<m:name>useSandComany</m:name>
<m:title>用砂单位</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
</m:annotations>
<m:id>de105a29-4f92-4445-a6cd-0478a6299062</m:id>
<m:name>projectGeneralContractor</m:name>
<m:title>项目总包方</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
</m:annotations>
<m:id>b1ad26dd-67aa-43cd-afce-0773a37ff386</m:id>
<m:name>contacts</m:name>
<m:title>联系人</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>100</m:value>
</m:annotation>
</m:annotations>
<m:id>ee1efa35-344a-41a8-8424-5114cc5a2822</m:id>
<m:name>contactNumber</m:name>
<m:title>联系电话</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>3000</m:value>
</m:annotation>
</m:annotations>
<m:id>8365f237-e9d3-4a0b-8783-14d29f206bf7</m:id>
<m:name>remark</m:name>
<m:title>备注</m:title>
<m:type>string</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>com.beecode.bap.biztrait.datamodel.SubTableAnnotation</m:type>
</m:annotation>
</m:annotations>
<m:id>06a76145-09c6-4e88-b91e-66aec616b9ca</m:id>
<m:name>ProjectFiledDinasDetails</m:name>
<m:title>砂石明细表</m:title>
<m:type>com.xyst.dinas.project.datamodel.ProjectFiled$ProjectFiledDinasDetail[]</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>com.beecode.bap.biztrait.datamodel.SubTableAnnotation</m:type>
</m:annotation>
</m:annotations>
<m:id>cd606daf-07b1-47c0-a96c-d604040b3222</m:id>
<m:name>ProjectSubContractorDetails</m:name>
<m:title>分包明细表</m:title>
<m:type>com.xyst.dinas.project.datamodel.ProjectFiled$ProjectSubContractorDetail[]</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
</m:attributes>
</m:class>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-selector">
<specification>1.0</specification>
<id>1cf86957-7552-4a9f-a47a-0f9784ee6987</id>
<name>com.xyst.dinas.project.dict.DinasType$listSelector</name>
<title>listSelector</title>
<define>bcp.selector.ListSelector</define>
<define-version>1.0</define-version>
<content>
<m:list-selector>
<m:columns>
<m:column>
<m:name>name</m:name>
<m:title>名称</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>title</m:name>
<m:title>标题</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>shortName</m:name>
<m:title>助记码</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>memo</m:name>
<m:title>备注</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>pathCode</m:name>
<m:title>路径编码</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>path</m:name>
<m:title>路径</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
</m:columns>
<m:adapter>
<m:name>com.beecode.bap.biztrait.BasicBillDictListSelectorAdaptor</m:name>
</m:adapter>
<m:config>com.xyst.dinas.project.dict.DinasType</m:config>
</m:list-selector>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-dict">
<specification>1.0</specification>
<id>e0fdd25a-d908-4198-a320-d90d99959d54</id>
<name>com.xyst.dinas.project.dict.DinasType</name>
<title>砂石类型</title>
<description>砂石类型</description>
<define>bcp.dict</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.project.dict.datamodel.DinasType</dependency>
<content>
<m:dict>
<m:type>com.xyst.dinas.project.dict.datamodel.DinasType</m:type>
<m:config>
<m:structure>list</m:structure>
<m:code-rule></m:code-rule>
</m:config>
</m:dict>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-selector">
<specification>1.0</specification>
<id>64994fa2-844b-4bad-aca3-f7249e2b1c81</id>
<name>com.xyst.dinas.project.dict.ProjectType$listSelector</name>
<title>listSelector</title>
<define>bcp.selector.ListSelector</define>
<define-version>1.0</define-version>
<content>
<m:list-selector>
<m:columns>
<m:column>
<m:name>name</m:name>
<m:title>名称</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>title</m:name>
<m:title>标题</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>shortName</m:name>
<m:title>助记码</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>memo</m:name>
<m:title>备注</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>pathCode</m:name>
<m:title>路径编码</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>path</m:name>
<m:title>路径</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
</m:columns>
<m:adapter>
<m:name>com.beecode.bap.biztrait.BasicBillDictListSelectorAdaptor</m:name>
</m:adapter>
<m:config>com.xyst.dinas.project.dict.ProjectType</m:config>
</m:list-selector>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-dict">
<specification>1.0</specification>
<id>63a9d27f-8e9b-432f-969e-1e6e48aa9b86</id>
<name>com.xyst.dinas.project.dict.ProjectType</name>
<title>项目类型</title>
<description>项目类型</description>
<define>bcp.dict</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.project.dict.datamodel.ProjectType</dependency>
<content>
<m:dict>
<m:type>com.xyst.dinas.project.dict.datamodel.ProjectType</m:type>
<m:config>
<m:structure>list</m:structure>
<m:code-rule></m:code-rule>
</m:config>
</m:dict>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-selector">
<specification>1.0</specification>
<id>5f0c2457-8995-4872-98f6-16316f48cf8d</id>
<name>com.xyst.dinas.project.dict.SubContractorType$listSelector</name>
<title>listSelector</title>
<define>bcp.selector.ListSelector</define>
<define-version>1.0</define-version>
<content>
<m:list-selector>
<m:columns>
<m:column>
<m:name>name</m:name>
<m:title>名称</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>title</m:name>
<m:title>标题</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>shortName</m:name>
<m:title>助记码</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>memo</m:name>
<m:title>备注</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>pathCode</m:name>
<m:title>路径编码</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
<m:column>
<m:name>path</m:name>
<m:title>路径</m:title>
<m:type>string</m:type>
<m:output>true</m:output>
</m:column>
</m:columns>
<m:adapter>
<m:name>com.beecode.bap.biztrait.BasicBillDictListSelectorAdaptor</m:name>
</m:adapter>
<m:config>com.xyst.dinas.project.dict.SubContractorType</m:config>
</m:list-selector>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-dict">
<specification>1.0</specification>
<id>1b218b0d-42f8-4543-8abb-2df866366fef</id>
<name>com.xyst.dinas.project.dict.SubContractorType</name>
<title>分包类型</title>
<description>分包类型</description>
<define>bcp.dict</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.project.dict.datamodel.SubContractorType</dependency>
<content>
<m:dict>
<m:type>com.xyst.dinas.project.dict.datamodel.SubContractorType</m:type>
<m:config>
<m:structure>list</m:structure>
<m:code-rule></m:code-rule>
</m:config>
</m:dict>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-type">
<specification>1.0</specification>
<id>bbb69a8b-e425-42a5-bddc-6cb8bde575c3</id>
<name>com.xyst.dinas.project.dict.datamodel.DinasType</name>
<title>砂石类型</title>
<description>砂石类型</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.beecode.bcp.dict.datamodel.BasicDictRequirement</dependency>
<content>
<m:class>
<m:parents>
<m:parent>com.beecode.bcp.dict.datamodel.BasicDictRequirement</m:parent>
</m:parents>
<m:attributes/>
</m:class>
</content>
<dev:tag xmlns:dev="http://www.beecode.cn/schema/dev">砂石类型</dev:tag>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-type">
<specification>1.0</specification>
<id>c8848f48-6431-42ca-9041-475b918b46ac</id>
<name>com.xyst.dinas.project.dict.datamodel.ProjectType</name>
<title>项目类型</title>
<description>证章类型</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.beecode.bcp.dict.datamodel.BasicDictRequirement</dependency>
<content>
<m:class>
<m:parents>
<m:parent>com.beecode.bcp.dict.datamodel.BasicDictRequirement</m:parent>
</m:parents>
<m:attributes/>
</m:class>
</content>
<dev:tag xmlns:dev="http://www.beecode.cn/schema/dev">证章类型</dev:tag>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/bcp-type">
<specification>1.0</specification>
<id>7a0c100f-69a9-4b6d-8e15-a0bfa73cf676</id>
<name>com.xyst.dinas.project.dict.datamodel.SubContractorType</name>
<title>分包类型</title>
<description>分包类型</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>com.beecode.bcp.dict.datamodel.BasicDictRequirement</dependency>
<content>
<m:class>
<m:parents>
<m:parent>com.beecode.bcp.dict.datamodel.BasicDictRequirement</m:parent>
</m:parents>
<m:attributes/>
</m:class>
</content>
<dev:tag xmlns:dev="http://www.beecode.cn/schema/dev">分包类型</dev:tag>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/inz-query">
<specification>1.0</specification>
<id>a44c3166-d354-420a-b4be-49d4fafb11ba</id>
<name>com.xyst.dinas.project.query.ProjectFiled</name>
<title>岗位</title>
<description>岗位</description>
<define>inz.query.Query</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled</dependency>
<content>
<m:query>
<m:type>com.xyst.dinas.project.datamodel.ProjectFiled</m:type>
<m:dataProcessor></m:dataProcessor>
<m:authorityItem>com.xyst.dinas.project.auth.ProjectFiledList</m:authorityItem>
<m:innerScenes>
<m:innerScene>
<m:id>4ca68e01-bd00-457a-9efb-ba0e1401b526</m:id>
<m:title>全部</m:title>
<m:javaImplement>com.beecode.inz.common.scene.CommonAllScene</m:javaImplement>
<m:defaultExecute></m:defaultExecute>
<m:hide></m:hide>
</m:innerScene>
<m:innerScene>
<m:id>906dd636-93d4-4f1d-8676-178fb4159d72</m:id>
<m:title>已废弃</m:title>
<m:javaImplement>com.beecode.inz.common.scene.DefaultDiscardScene</m:javaImplement>
<m:defaultExecute></m:defaultExecute>
<m:hide></m:hide>
</m:innerScene>
</m:innerScenes>
<m:fields>
<m:field>
<m:name>id</m:name>
<m:title>id</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>projectName</m:name>
<m:title>名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>projectType.title</m:name>
<m:title>项目类型</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.project.dict.datamodel.ProjectType</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>projectNum</m:name>
<m:title>项目编号</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>projectLocation</m:name>
<m:title>项目所在地</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>useSandComany</m:name>
<m:title>用砂单位</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>projectGeneralContractor</m:name>
<m:title>项目总包方</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>contacts</m:name>
<m:title>联系人</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>contactNumber</m:name>
<m:title>联系电话</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>createTime</m:name>
<m:title>创建时间</m:title>
<m:type>datetime</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>creator.name</m:name>
<m:title>创建人</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>modifyTime</m:name>
<m:title>修改时间</m:title>
<m:type>datetime</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>modifier.name</m:name>
<m:title>修改人</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>discard</m:name>
<m:title>废弃</m:title>
<m:type>boolean</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>remark</m:name>
<m:title>备注</m:title>
<m:type>string</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
</m:fields>
</m:query>
</content>
</metadata>
<?xml version="1.0" encoding="UTF-8"?>
<hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping
http://www.hibernate.org/xsd/hibernate-mapping/hibernate-mapping-4.0.xsd">
<class entity-name="com.xyst.dinas.project.datamodel.ProjectFiled" table="xyst_dinas_project_filed" optimistic-lock="version">
<tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/>
<id name="id" type="uuid-binary" column="id" length="16">
<generator class="assigned" />
</id>
<version name="version" type="int" column="version"/>
<property name="createTime" type="timestamp" not-null="false">
<column name="create_time"></column>
</property>
<many-to-one name="creator" entity-name="com.beecode.bap.staff.datamodel.Staff" fetch="select">
<column name="creator_id" not-null="false"/>
</many-to-one>
<property name="modifyTime" type="timestamp" not-null="false">
<column name="modify_time"></column>
</property>
<many-to-one name="modifier" entity-name="com.beecode.bap.staff.datamodel.Staff" fetch="select">
<column name="modifier_id" not-null="false"/>
</many-to-one>
<property name="billState" type="nstring" not-null="false">
<column name="bill_state" length="100"></column>
</property>
<many-to-one name="bizProcess" entity-name="com.beecode.bap.workflow.datamodel.BizProcess" fetch="select">
<column name="biz_process_id" not-null="false"/>
</many-to-one>
<property name="billCode" type="nstring" not-null="false">
<column name="bill_code" length="200"></column>
</property>
<property name="discard" type="boolean" not-null="false">
<column name="discard"></column>
</property>
<property name="del" type="boolean" not-null="false">
<column name="del"></column>
</property>
<property name="approveState" type="integer" not-null="false">
<column name="approve_state"></column>
</property>
<property name="projectName" type="nstring" not-null="false">
<column name="project_name" length="100"></column>
</property>
<many-to-one name="projectType" entity-name="com.xyst.dinas.project.dict.datamodel.ProjectType" fetch="select">
<column name="project_type" not-null="false"></column>
</many-to-one>
<property name="projectNum" type="nstring" not-null="false">
<column name="project_num" length="100"></column>
</property>
<property name="projectLocation" type="nstring" not-null="false">
<column name="project_location" length="100"></column>
</property>
<property name="useSandComany" type="nstring" not-null="false">
<column name="use_sand_comany" length="100"></column>
</property>
<property name="projectGeneralContractor" type="nstring" not-null="false">
<column name="project_general_contractor" length="100"></column>
</property>
<property name="subContractInfo" type="nstring" not-null="false">
<column name="sub_contract_info" length="1000"></column>
</property>
<property name="contacts" type="nstring" not-null="false">
<column name="contacts" length="100"></column>
</property>
<property name="contactNumber" type="nstring" not-null="false">
<column name="contact_number" length="100"></column>
</property>
<property name="remark" type="nstring" not-null="false">
<column name="remark" length="3000"></column>
</property>
<bag name="ProjectFiledDinasDetails" lazy="true" fetch="select" inverse="true">
<key column="master_id" not-null="true" />
<one-to-many entity-name="com.xyst.dinas.project.datamodel.ProjectFiled$ProjectFiledDinasDetail" />
</bag>
<bag name="ProjectSubContractorDetails" lazy="true" fetch="select" inverse="true">
<key column="master_id" not-null="true" />
<one-to-many entity-name="com.xyst.dinas.project.datamodel.ProjectFiled$ProjectSubContractorDetail" />
</bag>
</class>
<class entity-name="com.xyst.dinas.project.datamodel.ProjectFiled$ProjectFiledDinasDetail" table="xyst_dinas_project_filed_dinas_detail">
<tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/>
<id name="id" type="uuid-binary" column="id" length="16">
<generator class="assigned" />
</id>
<many-to-one name="dinasType" entity-name="com.xyst.dinas.biz.datamodel.DinasType" fetch="select">
<column name="dinas_type" not-null="false"></column>
</many-to-one>
<property name="weight" type="big_decimal" not-null="false">
<column name="weight" precision="12" scale="2"></column>
</property>
<many-to-one name="master" entity-name="com.xyst.dinas.project.datamodel.ProjectFiled" fetch="select">
<column name="master_id" not-null="false"/>
</many-to-one>
</class>
<class entity-name="com.xyst.dinas.project.datamodel.ProjectFiled$ProjectSubContractorDetail" table="xyst_dinas_project_sub_contractor_detail">
<tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/>
<id name="id" type="uuid-binary" column="id" length="16">
<generator class="assigned" />
</id>
<many-to-one name="subContractorType" entity-name="com.xyst.dinas.project.dict.datamodel.SubContractorType" fetch="select">
<column name="sub_contractor_type" not-null="false"></column>
</many-to-one>
<property name="subContractorName" type="nstring" not-null="false">
<column name="sub_contractor_name" length="100"></column>
</property>
<many-to-one name="master" entity-name="com.xyst.dinas.project.datamodel.ProjectFiled" fetch="select">
<column name="master_id" not-null="false"/>
</many-to-one>
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping
http://www.hibernate.org/xsd/hibernate-mapping/hibernate-mapping-4.0.xsd">
<class entity-name="com.xyst.dinas.project.dict.datamodel.ProjectType" table="xyst_dinas_project_type" >
<tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/>
<id name="id" type="uuid-binary" column="id" length="16">
<generator class="uuid2" />
</id>
<property name="recver" type="integer" not-null="false">
<column name="recver"></column>
</property>
<property name="validTime" type="timestamp" not-null="false">
<column name="valid_time"></column>
</property>
<property name="invalidTime" type="timestamp" not-null="false">
<column name="invalid_time"></column>
</property>
<property name="name" type="nstring" not-null="false">
<column name="name" length="60"></column>
</property>
<property name="title" type="nstring" not-null="false">
<column name="title" length="60"></column>
</property>
<property name="shortName" type="nstring" not-null="false">
<column name="short_name" length="60"></column>
</property>
<property name="memo" type="nstring" not-null="false">
<column name="memo" length="255"></column>
</property>
<property name="parentId" type="uuid-binary" not-null="false">
<column name="parent_id" length="16"></column>
</property>
<property name="level" type="integer" not-null="false">
<column name="level"></column>
</property>
<property name="startFlag" type="boolean" not-null="false">
<column name="start_flag"></column>
</property>
<property name="sortField" type="integer" not-null="false">
<column name="sort_field"></column>
</property>
<property name="createTime" type="timestamp" not-null="false">
<column name="create_time"></column>
</property>
<property name="createUser" type="uuid-binary" not-null="false">
<column name="create_user" length="16"></column>
</property>
<property name="createUnit" type="uuid-binary" not-null="false">
<column name="create_unit" length="16"></column>
</property>
<property name="modifyTime" type="timestamp" not-null="false">
<column name="modify_time"></column>
</property>
<property name="modifyUser" type="uuid-binary" not-null="false">
<column name="modify_user" length="16"></column>
</property>
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping
http://www.hibernate.org/xsd/hibernate-mapping/hibernate-mapping-4.0.xsd">
<class entity-name="com.xyst.dinas.project.dict.datamodel.SubContractorType" table="xyst_dinas_project_sub_contractor_type" >
<tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/>
<id name="id" type="uuid-binary" column="id" length="16">
<generator class="uuid2" />
</id>
<property name="recver" type="integer" not-null="false">
<column name="recver"></column>
</property>
<property name="validTime" type="timestamp" not-null="false">
<column name="valid_time"></column>
</property>
<property name="invalidTime" type="timestamp" not-null="false">
<column name="invalid_time"></column>
</property>
<property name="name" type="nstring" not-null="false">
<column name="name" length="60"></column>
</property>
<property name="title" type="nstring" not-null="false">
<column name="title" length="60"></column>
</property>
<property name="shortName" type="nstring" not-null="false">
<column name="short_name" length="60"></column>
</property>
<property name="memo" type="nstring" not-null="false">
<column name="memo" length="255"></column>
</property>
<property name="parentId" type="uuid-binary" not-null="false">
<column name="parent_id" length="16"></column>
</property>
<property name="level" type="integer" not-null="false">
<column name="level"></column>
</property>
<property name="startFlag" type="boolean" not-null="false">
<column name="start_flag"></column>
</property>
<property name="sortField" type="integer" not-null="false">
<column name="sort_field"></column>
</property>
<property name="createTime" type="timestamp" not-null="false">
<column name="create_time"></column>
</property>
<property name="createUser" type="uuid-binary" not-null="false">
<column name="create_user" length="16"></column>
</property>
<property name="createUnit" type="uuid-binary" not-null="false">
<column name="create_unit" length="16"></column>
</property>
<property name="modifyTime" type="timestamp" not-null="false">
<column name="modify_time"></column>
</property>
<property name="modifyUser" type="uuid-binary" not-null="false">
<column name="modify_user" length="16"></column>
</property>
</class>
</hibernate-mapping>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context"
xmlns:util="http://www.springframework.org/schema/util" xmlns:jee="http://www.springframework.org/schema/jee"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.0.xsd">
<!-- 数据库映射 -->
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="${jdbc.driverClassName}" />
<property name="url" value="${jdbc.url}" />
<property name="username" value="${jdbc.user}" />
<property name="password" value="${jdbc.pass}" />
</bean>
<bean id="sessionFactory"
class="com.beecode.bcp.store.hibernate.HibernateSessionFactoryBean"
scope="metadata" lazy-init="true">
<property name="dataSource" ref="dataSource" />
<property name="mappingLocations">
<list>
<value>classpath*:/**/*.hbm.xml</value>
</list>
</property>
<property name="packagesToScan">
<list>
<value>com.beecode.amino.test.war.entity</value>
<value>com.beecode.inz.authmgr.**.*</value>
<value>com.beecode.bap.scheduler.entity</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.hbm2ddl.auto">${hibernate.hbm2ddl.auto}</prop>
<prop key="hibernate.dialect">${hibernate.dialect}</prop>
<prop key="hibernate.show_sql">${hibernate.show_sql}</prop>
</props>
</property>
</bean>
<!-- 配置Hibernate事务管理器 -->
<bean id="transactionManager"
class="com.beecode.bcp.store.hibernate.HibernateTransactionManager">
<property name="sessionFactoryName" value="sessionFactory" />
</bean>
<!-- 配置Hibernate模板 -->
<bean id="hibernateOperations"
class="com.beecode.bcp.store.hibernate.HibernateTemplate">
<property name="sessionFactoryName" value="sessionFactory" />
</bean>
<!-- 配置事务异常封装 -->
<bean id="persistenceExceptionTranslationPostProcessor"
class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" />
</beans>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment