Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
73497029
Commit
73497029
authored
Mar 18, 2021
by
杨清松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拟文数据模型
parent
be64b124
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
898 additions
and
0 deletions
+898
-0
EmergencyDegreeEnum.java
...va/com/xyst/dinas/oa/enumeration/EmergencyDegreeEnum.java
+26
-0
SecurityClassificationEnum.java
...xyst/dinas/oa/enumeration/SecurityClassificationEnum.java
+30
-0
ProtocolDocument.mk
...src/main/model/com/xyst/dinas/oa/bill/ProtocolDocument.mk
+17
-0
ProtocolDocument.mk
...ain/model/com/xyst/dinas/oa/datamodel/ProtocolDocument.mk
+66
-0
ProtocolDocument.mk
...rc/main/model/com/xyst/dinas/oa/query/ProtocolDocument.mk
+218
-0
ProtocolDocument$sequence.jmx
...rces/com/xyst/dinas/oa/bill/ProtocolDocument$sequence.jmx
+20
-0
ProtocolDocument$serial.jmx
...ources/com/xyst/dinas/oa/bill/ProtocolDocument$serial.jmx
+30
-0
ProtocolDocument.jmx
...ain/resources/com/xyst/dinas/oa/bill/ProtocolDocument.jmx
+27
-0
ProtocolDocument.jmx
...esources/com/xyst/dinas/oa/datamodel/ProtocolDocument.jmx
+144
-0
ProtocolDocument.jmx
...in/resources/com/xyst/dinas/oa/query/ProtocolDocument.jmx
+246
-0
ProtocolDocument.hbm.xml
...nas.oa/src/main/resources/config/ProtocolDocument.hbm.xml
+74
-0
No files found.
backend/xyst.dinas.oa/src/main/java/com/xyst/dinas/oa/enumeration/EmergencyDegreeEnum.java
0 → 100644
View file @
73497029
package
com
.
xyst
.
dinas
.
oa
.
enumeration
;
/**
* 紧急程度
*
*/
public
enum
EmergencyDegreeEnum
{
/**
* 普通
*/
ORDINARY
(
0
),
/**
* 紧急
*/
URGENCY
(
1
);
int
value
;
EmergencyDegreeEnum
(
int
value
)
{
this
.
value
=
value
;
}
public
int
getValue
()
{
return
value
;
}
}
backend/xyst.dinas.oa/src/main/java/com/xyst/dinas/oa/enumeration/SecurityClassificationEnum.java
0 → 100644
View file @
73497029
package
com
.
xyst
.
dinas
.
oa
.
enumeration
;
/**
* 出差带队人职务级别
*
*/
public
enum
SecurityClassificationEnum
{
/**
* 普通
*/
ORDINARY
(
0
),
/**
* 保密
*/
KEEPSECRET
(
1
),
/**
* 机密
*/
CONFIDENTIAL
(
2
);
int
value
;
SecurityClassificationEnum
(
int
value
)
{
this
.
value
=
value
;
}
public
int
getValue
()
{
return
value
;
}
}
backend/xyst.dinas.oa/src/main/model/com/xyst/dinas/oa/bill/ProtocolDocument.mk
0 → 100644
View file @
73497029
<model>
<header>
<type>bcp.biz.Bill</type>
<package>com.xyst.dinas.oa.bill</package>
<title>拟文</title>
<name>ProtocolDocument</name>
<description>拟文</description>
</header>
<content>
<bill>
<data>
{"baseData":{"name":"ProtocolDocument","title":"拟文","billModel":"com.beecode.bap.biztrait.BasicBillBiztrait","functionLibrarys":[],"description":"拟文","dataModel":"com.xyst.dinas.oa.datamodel.ProtocolDocument"},"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
backend/xyst.dinas.oa/src/main/model/com/xyst/dinas/oa/datamodel/ProtocolDocument.mk
0 → 100644
View file @
73497029
<model>
<header>
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.oa.datamodel</package>
<title>拟文</title>
<name>ProtocolDocument</name>
<tags></tags>
<description>拟文</description>
<templateName>mk.ide.ui.editor.data.model.template.bill</templateName>
<tablePrefix>xyst_dinas_oa_</tablePrefix>
</header>
<content>
<dataModel id='9f51e210-4849-414e-8ab7-3e085475a52b' multiVersion='' domainInherit='undefined' tableName='xyst_dinas_oa_protocol_document'>
<parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</parent>
<parent>com.beecode.inz.common.datamodel.BaseInfo</parent>
<attribute id='b005831f-f7b0-40a3-8b33-64598d3ffce6' name='department' columnName='department' title='行文部门' type='com.beecode.bap.department.datamodel.Department' default='' precision='' isArray='false'>
<annotation id='0ab8b2f5-baf7-4a11-9011-d04004163427' attributeId='be54299f-df94-4d80-97ba-d4b76e8c7cb2' name='length' value='undefined'>
</annotation>
<annotation id='0e07f6fd-56aa-4672-b4a6-785a211e34cd' attributeId='5325c43c-c321-4f6d-ae21-c3b365927707' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='cc256a45-8d1a-4195-b211-2c4f033de2ec' name='drafter' columnName='drafter' title='起草人' type='string' default='' precision='' isArray='false'>
<annotation id='b925d041-2d02-4602-9b11-795a51c1e2ef' attributeId='8dd3ca0a-c0a6-49b4-913d-e238e7f415a7' name='length' value='100'>
</annotation>
</attribute>
<attribute id='28f83805-e05d-4645-a307-27416f31d155' name='emergencyDegree' columnName='emergency_degree' title='紧急程度' type='string' default='' precision='' isArray='false'>
<annotation id='8af8cf9d-b80e-4418-ae1d-7c8156f315ed' attributeId='42f0dfce-7684-40ca-b010-b15978d8a001' name='length' value='100'>
</annotation>
</attribute>
<attribute id='06e56a54-4a07-4d34-a653-10fe4aa7f064' name='fileHeader' columnName='file_header' title='文件标题' type='string' default='' precision='' isArray='false'>
<annotation id='9bf1be6e-358a-4b0d-818e-6548758347a2' attributeId='388535b0-3ac8-4290-9db8-019795ef452b' name='length' value='100'>
</annotation>
</attribute>
<attribute id='03ff3fef-f83f-4b0a-a102-3b474257b073' name='securityClassification' columnName='security_classification' title='保密级别' type='string' default='' precision='' isArray='false'>
<annotation id='900a7595-8e55-4dfa-b6ac-b39ae84d8b81' attributeId='0727a353-4407-4ccf-8bed-09057fd8a132' name='length' value='100'>
</annotation>
</attribute>
<attribute id='4c679263-93a9-4e25-a67f-62113d49cb4c' name='postCode' columnName='post_code' title='发文编号' type='string' default='' precision='' isArray='false'>
<annotation id='23c65221-4564-4b90-97cc-88ff6bf3822e' attributeId='677902e3-6aa7-40c6-8970-4bcdf3ad75c3' name='length' value='100'>
</annotation>
</attribute>
<attribute id='6a3848d4-2922-4094-9f87-46cbc8d73215' name='printedCopies' columnName='printed_copies' title='印制份数' type='int' default='' precision='' isArray='false'>
<annotation id='a295f8e9-e9d1-4b59-96b3-07a7c2f10fba' attributeId='099aa859-f872-465b-abab-5cae81978a18' name='length' value='undefined'>
</annotation>
</attribute>
<attribute id='4cb208eb-21b3-436c-a38d-eb46925b0d43' name='lordSentDept' columnName='lord_send_dept' title='主送单位' type='com.beecode.bap.department.datamodel.Department' default='' precision='' isArray='false'>
<annotation id='d23b655e-fc81-4aba-8cf8-80620eef938e' attributeId='5e1113ab-2e5e-4087-8d7f-8c117120b785' name='length' value='undefined'>
</annotation>
<annotation id='f2ec5c4f-ed0d-458f-b1b2-5376e27ec4b6' attributeId='4d4ea209-5087-49b5-9491-84b25b440e9b' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='fd23d22c-3d05-4b44-8ed3-87fd3f20c1db' name='carbonCopyDept' columnName='carbon_copy_dept' title='抄送单位' type='com.beecode.bap.department.datamodel.Department' default='' precision='' isArray='false'>
<annotation id='b58cc95c-2a3e-419a-b3d0-2d07aca277cf' attributeId='4df83c58-a43d-4994-8905-0f2dbf0643f8' name='length' value='undefined'>
</annotation>
<annotation id='a2136d9a-0985-4512-abc7-2d6e7fdce763' attributeId='6d5f0dbd-a64e-44e4-801f-20ceefbf35ec' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='b9eba31c-7180-4673-8b1b-04d1ea0341f9' name='handlingSuggestion' columnName='handling_suggestion' title='处理意见' type='string' default='' precision='' isArray='false'>
<annotation id='d1c5662b-85dc-487e-ab53-f396fc869ad8' attributeId='32c45d45-337f-4d3f-aae8-683ddfd95fbc' name='length' value='500'>
</annotation>
</attribute>
<hibernate>/xyst.dinas.oa/src/main/resources/config/ProtocolDocument.hbm.xml</hibernate>
</dataModel>
</content>
</model>
\ No newline at end of file
backend/xyst.dinas.oa/src/main/model/com/xyst/dinas/oa/query/ProtocolDocument.mk
0 → 100644
View file @
73497029
<model>
<header>
<type>inz.query.Query</type>
<package>com.xyst.dinas.oa.query</package>
<name>ProtocolDocument</name>
<title>拟文</title>
<tags></tags>
<description>拟文</description>
</header>
<content>
<customQuery id='17c000b4-cf30-4d34-9629-6268f7ce7647'>
<kclass>com.xyst.dinas.oa.datamodel.ProtocolDocument</kclass>
<authorityItem>com.xyst.dinas.oa.auth.ProtocolDocumentList</authorityItem>
<innerScene title='全部'>
<id>a8691bca-bcbe-435f-942e-137a222ba667</id>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title='已废弃'>
<id>8ac43e5a-9dcc-495a-acc7-cdd3ac82f340</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='行文部门id'>
<name>department.id</name>
<type>uuid</type>
<ref>
<type></type>
<name>com.beecode.bap.department.datamodel.Department</name>
</ref>
<description></description>
</field>
<field title='行文部门名称'>
<name>department.name</name>
<type>string</type>
<ref>
<type></type>
<name>com.beecode.bap.department.datamodel.Department</name>
</ref>
<description></description>
</field>
<field title='出差天数'>
<name>printedCopies</name>
<type>int</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='起草人'>
<name>drafter</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>emergencyDegree</name>
<type>enum</type>
<ref>
<type></type>
<name>com.xyst.dinas.oa.enumeration.EmergencyDegreeEnum</name>
</ref>
<description></description>
</field>
<field title='文件标题'>
<name>fileHeader</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='保密级别'>
<name>securityClassification</name>
<type>enum</type>
<ref>
<type></type>
<name>com.xyst.dinas.oa.enumeration.SecurityClassificationEnum</name>
</ref>
<description></description>
</field>
<field title='发文编号'>
<name>postCode</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='主送单位id'>
<name>lordSentDept.id</name>
<type>uuid</type>
<ref>
<type></type>
<name>com.beecode.bap.department.datamodel.Department</name>
</ref>
<description></description>
</field>
<field title='主送单位名称'>
<name>lordSentDept.name</name>
<type>string</type>
<ref>
<type></type>
<name>com.beecode.bap.department.datamodel.Department</name>
</ref>
<description></description>
</field>
<field title='抄送单位id'>
<name>carbonCopyDept.id</name>
<type>uuid</type>
<ref>
<type></type>
<name>com.beecode.bap.department.datamodel.Department</name>
</ref>
<description></description>
</field>
<field title='抄送单位名称'>
<name>carbonCopyDept.name</name>
<type>string</type>
<ref>
<type></type>
<name>com.beecode.bap.department.datamodel.Department</name>
</ref>
<description></description>
</field>
<field title='处理意见'>
<name>handlingSuggestion</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='审批状态'>
<name>approveState</name>
<type>int</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='单据编号'>
<name>billCode</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
</customQuery>
</content>
</model>
\ No newline at end of file
backend/xyst.dinas.oa/src/main/resources/com/xyst/dinas/oa/bill/ProtocolDocument$sequence.jmx
0 → 100644
View file @
73497029
<?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>
5e8338fa-7e65-4d4c-b0e3-6c82d749c136
</id>
<name>
com.xyst.dinas.oa.bill.ProtocolDocument$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>
backend/xyst.dinas.oa/src/main/resources/com/xyst/dinas/oa/bill/ProtocolDocument$serial.jmx
0 → 100644
View file @
73497029
<?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>
54dfa0b4-b205-4521-9d0b-cfbd375c0834
</id>
<name>
com.xyst.dinas.oa.bill.ProtocolDocument$serial
</name>
<title>
拟文$serial
</title>
<description>
拟文
</description>
<define>
bcp.serial
</define>
<define-version>
1.0
</define-version>
<dependency>
com.xyst.dinas.oa.datamodel.ProtocolDocument
</dependency>
<dependency>
com.xyst.dinas.oa.bill.ProtocolDocument$sequence
</dependency>
<content>
<m:serial>
<m:input>
com.xyst.dinas.oa.datamodel.ProtocolDocument
</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.oa.bill.ProtocolDocument$serial
</m:key>
<m:sequenceName>
com.xyst.dinas.oa.bill.ProtocolDocument$sequence
</m:sequenceName>
</m:sequence>
</m:segments>
</m:serial>
</content>
</metadata>
backend/xyst.dinas.oa/src/main/resources/com/xyst/dinas/oa/bill/ProtocolDocument.jmx
0 → 100644
View file @
73497029
<?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>
a9db7f3e-daba-4f5c-9206-2251e9fc8a42
</id>
<name>
com.xyst.dinas.oa.bill.ProtocolDocument
</name>
<title>
拟文
</title>
<description>
拟文
</description>
<define>
bcp.biz.Biztype
</define>
<define-version>
1.0
</define-version>
<dependency>
com.xyst.dinas.oa.datamodel.ProtocolDocument
</dependency>
<dependency>
com.beecode.bap.biztrait.BasicBillBiztrait
</dependency>
<dependency>
com.xyst.dinas.oa.bill.ProtocolDocument$serial
</dependency>
<content>
<m:biztype>
<m:type>
com.xyst.dinas.oa.datamodel.ProtocolDocument
</m:type>
<m:inheritances>
<m:inheritance>
<m:biztrait>
com.beecode.bap.biztrait.BasicBillBiztrait
</m:biztrait>
<m:config
type=
"xml"
>
<m:content>
<
billBasictraitConfig
><
formulas/
><
parents
><
parent
><
billCodeConfig
><
serialName
>
com.xyst.dinas.oa.bill.ProtocolDocument$serial
<
/serialName
><
buildTime
>
add
<
/buildTime
><
/billCodeConfig
><
/parent
><
parent
><
workflowConfig
><
workflow
><
/workflow
><
/workflowConfig
><
/parent
><
parent
><
printConfig
><
templates/
><
/printConfig
><
/parent
><
/parents
><
functionLibrarys/
><
/billBasictraitConfig
>
</m:content>
</m:config>
</m:inheritance>
</m:inheritances>
<m:methodAuthorityItems/>
</m:biztype>
</content>
</metadata>
backend/xyst.dinas.oa/src/main/resources/com/xyst/dinas/oa/datamodel/ProtocolDocument.jmx
0 → 100644
View file @
73497029
<?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>
9f51e210-4849-414e-8ab7-3e085475a52b
</id>
<name>
com.xyst.dinas.oa.datamodel.ProtocolDocument
</name>
<title>
拟文
</title>
<description>
拟文
</description>
<define>
bcp.type.Class
</define>
<define-version>
1.0
</define-version>
<dependency>
bcp.type.constraint.StringLength
</dependency>
<dependency>
com.beecode.inz.common.datamodel.BaseInfo
</dependency>
<dependency>
com.beecode.bap.biztrait.datamodel.BasicBillRequirement
</dependency>
<dependency>
com.beecode.bap.department.datamodel.Department
</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:id>
b005831f-f7b0-40a3-8b33-64598d3ffce6
</m:id>
<m:name>
department
</m:name>
<m:title>
行文部门
</m:title>
<m:type>
com.beecode.bap.department.datamodel.Department
</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>
cc256a45-8d1a-4195-b211-2c4f033de2ec
</m:id>
<m:name>
drafter
</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>
28f83805-e05d-4645-a307-27416f31d155
</m:id>
<m:name>
emergencyDegree
</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>
06e56a54-4a07-4d34-a653-10fe4aa7f064
</m:id>
<m:name>
fileHeader
</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>
03ff3fef-f83f-4b0a-a102-3b474257b073
</m:id>
<m:name>
securityClassification
</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>
4c679263-93a9-4e25-a67f-62113d49cb4c
</m:id>
<m:name>
postCode
</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>
6a3848d4-2922-4094-9f87-46cbc8d73215
</m:id>
<m:name>
printedCopies
</m:name>
<m:title>
印制份数
</m:title>
<m:type>
int
</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:id>
4cb208eb-21b3-436c-a38d-eb46925b0d43
</m:id>
<m:name>
lordSentDept
</m:name>
<m:title>
主送单位
</m:title>
<m:type>
com.beecode.bap.department.datamodel.Department
</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations/>
<m:id>
fd23d22c-3d05-4b44-8ed3-87fd3f20c1db
</m:id>
<m:name>
carbonCopyDept
</m:name>
<m:title>
抄送单位
</m:title>
<m:type>
com.beecode.bap.department.datamodel.Department
</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>
500
</m:value>
</m:annotation>
</m:annotations>
<m:id>
b9eba31c-7180-4673-8b1b-04d1ea0341f9
</m:id>
<m:name>
handlingSuggestion
</m:name>
<m:title>
处理意见
</m:title>
<m:type>
string
</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
</m:attributes>
</m:class>
</content>
</metadata>
backend/xyst.dinas.oa/src/main/resources/com/xyst/dinas/oa/query/ProtocolDocument.jmx
0 → 100644
View file @
73497029
<?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>
17c000b4-cf30-4d34-9629-6268f7ce7647
</id>
<name>
com.xyst.dinas.oa.query.ProtocolDocument
</name>
<title>
拟文
</title>
<description>
拟文
</description>
<define>
inz.query.Query
</define>
<define-version>
1.0
</define-version>
<dependency>
com.xyst.dinas.oa.datamodel.ProtocolDocument
</dependency>
<content>
<m:query>
<m:type>
com.xyst.dinas.oa.datamodel.ProtocolDocument
</m:type>
<m:dataProcessor></m:dataProcessor>
<m:authorityItem>
com.xyst.dinas.oa.auth.ProtocolDocumentList
</m:authorityItem>
<m:innerScenes>
<m:innerScene>
<m:id>
a8691bca-bcbe-435f-942e-137a222ba667
</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>
8ac43e5a-9dcc-495a-acc7-cdd3ac82f340
</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>
department.id
</m:name>
<m:title>
行文部门id
</m:title>
<m:type>
uuid
</m:type>
<m:ref>
<m:name>
com.beecode.bap.department.datamodel.Department
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
department.name
</m:name>
<m:title>
行文部门名称
</m:title>
<m:type>
string
</m:type>
<m:ref>
<m:name>
com.beecode.bap.department.datamodel.Department
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
printedCopies
</m:name>
<m:title>
出差天数
</m:title>
<m:type>
int
</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
drafter
</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>
emergencyDegree
</m:name>
<m:title>
紧急程度
</m:title>
<m:type>
enum
</m:type>
<m:ref>
<m:name>
com.xyst.dinas.oa.enumeration.EmergencyDegreeEnum
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
fileHeader
</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>
securityClassification
</m:name>
<m:title>
保密级别
</m:title>
<m:type>
enum
</m:type>
<m:ref>
<m:name>
com.xyst.dinas.oa.enumeration.SecurityClassificationEnum
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
postCode
</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>
lordSentDept.id
</m:name>
<m:title>
主送单位id
</m:title>
<m:type>
uuid
</m:type>
<m:ref>
<m:name>
com.beecode.bap.department.datamodel.Department
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
lordSentDept.name
</m:name>
<m:title>
主送单位名称
</m:title>
<m:type>
string
</m:type>
<m:ref>
<m:name>
com.beecode.bap.department.datamodel.Department
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
carbonCopyDept.id
</m:name>
<m:title>
抄送单位id
</m:title>
<m:type>
uuid
</m:type>
<m:ref>
<m:name>
com.beecode.bap.department.datamodel.Department
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
carbonCopyDept.name
</m:name>
<m:title>
抄送单位名称
</m:title>
<m:type>
string
</m:type>
<m:ref>
<m:name>
com.beecode.bap.department.datamodel.Department
</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
handlingSuggestion
</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>
approveState
</m:name>
<m:title>
审批状态
</m:title>
<m:type>
int
</m:type>
<m:ref>
<m:name></m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>
billCode
</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>
backend/xyst.dinas.oa/src/main/resources/config/ProtocolDocument.hbm.xml
0 → 100644
View file @
73497029
<?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.oa.datamodel.ProtocolDocument"
table=
"xyst_dinas_oa_protocol_document"
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>
<many-to-one
name=
"department"
entity-name=
"com.beecode.bap.department.datamodel.Department"
fetch=
"select"
>
<column
name=
"department"
not-null=
"false"
/>
</many-to-one>
<property
name=
"drafter"
type=
"nstring"
not-null=
"false"
>
<column
name=
"drafter"
length=
"100"
></column>
</property>
<property
name=
"emergencyDegree"
type=
"nstring"
not-null=
"false"
>
<column
name=
"emergency_degree"
length=
"100"
></column>
</property>
<property
name=
"fileHeader"
type=
"nstring"
not-null=
"false"
>
<column
name=
"file_header"
length=
"100"
></column>
</property>
<property
name=
"securityClassification"
type=
"nstring"
not-null=
"false"
>
<column
name=
"security_classification"
length=
"100"
></column>
</property>
<property
name=
"postCode"
type=
"nstring"
not-null=
"false"
>
<column
name=
"post_code"
length=
"100"
></column>
</property>
<property
name=
"printedCopies"
type=
"int"
not-null=
"false"
>
<column
name=
"printed_copies"
></column>
</property>
<many-to-one
name=
"lordSentDept"
entity-name=
"com.beecode.bap.department.datamodel.Department"
fetch=
"select"
>
<column
name=
"lord_sent_dept"
not-null=
"false"
/>
</many-to-one>
<many-to-one
name=
"carbonCopyDept"
entity-name=
"com.beecode.bap.department.datamodel.Department"
fetch=
"select"
>
<column
name=
"carbon_copy_dept"
not-null=
"false"
/>
</many-to-one>
<property
name=
"handlingSuggestion"
type=
"nstring"
not-null=
"false"
>
<column
name=
"handling_suggestion"
length=
"500"
></column>
</property>
</class>
</hibernate-mapping>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment