Commit 63b08784 by 杨清松

需用计划加计划周期

parent f6c7caaf
......@@ -31,6 +31,12 @@
<annotation id='ada2d620-105b-47b4-88e2-ca1a20f77124' attributeId='ed744460-9e80-43fb-a1b1-541039f01dbd' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='223d42f7-5d33-461d-9e00-33a5b6bfc87e' name='planningCycle' columnName='planning_cycle' title='计划周期' type='com.xyst.dinas.biz.datamodel.PlanningCycle' default='' precision='' isArray='false'>
<annotation id='ce75318c-46ca-45a7-8482-f400cebd8b4c' attributeId='25d7dcfa-2180-4114-b1e7-e21db55f6cc5' name='length' value='undefined'>
</annotation>
<annotation id='2a5fc5c6-1edd-4fb9-a837-af11f9edeaa3' attributeId='5ce24bb8-0fb8-4765-9b78-eb8cd43c31bb' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='a6487984-e51c-43a3-9834-f6b2a51d13f2' name='projectBalance' columnName='project_balance' title='项目余额' type='fixnum' default='' precision='' isArray='false'>
<annotation id='81295473-01c6-4e2e-9744-a95f814cb070' attributeId='8382f1e0-8a32-4cc7-ba0d-cf7b500e182a' name='length' value='undefined'>
</annotation>
......
......@@ -86,6 +86,42 @@
</ref>
<description></description>
</field>
<field title='计划周期'>
<name>planningCycle.id</name>
<type>uuid</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.PlanningCycle</name>
</ref>
<description></description>
</field>
<field title='计划周期'>
<name>planningCycle.title</name>
<type>string</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.PlanningCycle</name>
</ref>
<description></description>
</field>
<field title='计划周期开始时间'>
<name>planningCycle.startTime</name>
<type>datetime</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.PlanningCycle</name>
</ref>
<description></description>
</field>
<field title='计划周期结束时间'>
<name>planningCycle.endTime</name>
<type>datetime</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.PlanningCycle</name>
</ref>
<description></description>
</field>
<field title='项目余额'>
<name>projectBalance</name>
<type>float</type>
......
......@@ -15,6 +15,7 @@
<dependency>bcp.type.constraint.Numeric</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>com.xyst.dinas.project.datamodel.ProjectFiled</dependency>
<dependency>com.xyst.dinas.biz.datamodel.PlanningCycle</dependency>
<dependency>com.xyst.dinas.contract.datamodel.Contract</dependency>
<content>
<m:class>
......@@ -51,6 +52,15 @@
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:id>223d42f7-5d33-461d-9e00-33a5b6bfc87e</m:id>
<m:name>planningCycle</m:name>
<m:title>计划周期</m:title>
<m:type>com.xyst.dinas.biz.datamodel.PlanningCycle</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>
......
......@@ -101,6 +101,46 @@
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>planningCycle.id</m:name>
<m:title>计划周期</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.PlanningCycle</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>planningCycle.title</m:name>
<m:title>计划周期</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.PlanningCycle</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>planningCycle.startTime</m:name>
<m:title>计划周期开始时间</m:title>
<m:type>datetime</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.PlanningCycle</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>planningCycle.endTime</m:name>
<m:title>计划周期结束时间</m:title>
<m:type>datetime</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.PlanningCycle</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>projectBalance</m:name>
<m:title>项目余额</m:title>
<m:type>float</m:type>
......
......@@ -48,6 +48,9 @@
<many-to-one name="contract" entity-name="com.xyst.dinas.contract.datamodel.Contract" fetch="select">
<column name="contract" not-null="false"></column>
</many-to-one>
<many-to-one name="planningCycle" entity-name="com.xyst.dinas.biz.datamodel.PlanningCycle" fetch="select">
<column name="planning_cycle" not-null="false"></column>
</many-to-one>
<property name="projectBalance" type="big_decimal" not-null="false">
<column name="project_balance" precision="12" scale="2"></column>
</property>
......
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