Commit 31b3ead3 by 高晓磊

安健环功能提交

parent c3d039f5
...@@ -146,6 +146,7 @@ dependencies { ...@@ -146,6 +146,7 @@ dependencies {
compile "com.beecode:xyst.dinas.camera:${inzVersion}" compile "com.beecode:xyst.dinas.camera:${inzVersion}"
compile "com.beecode:xyst.dinas.price:${inzVersion}" compile "com.beecode:xyst.dinas.price:${inzVersion}"
compile "com.beecode:xyst.dinas.transport:${inzVersion}" compile "com.beecode:xyst.dinas.transport:${inzVersion}"
compile "com.beecode:xyst.dinas.safe:${inzVersion}"
compile "com.beecode:xyst.dinas.sales:${inzVersion}" compile "com.beecode:xyst.dinas.sales:${inzVersion}"
compile "com.beecode:xyst.dinas.finance:${inzVersion}" compile "com.beecode:xyst.dinas.finance:${inzVersion}"
providedRuntime lib.spring_boot_starter_tomcat providedRuntime lib.spring_boot_starter_tomcat
......
...@@ -143,6 +143,7 @@ includeBuild("../") { ...@@ -143,6 +143,7 @@ includeBuild("../") {
substitute module('com.beecode:xyst.dinas.finance') with project(':xyst.dinas.finance') substitute module('com.beecode:xyst.dinas.finance') with project(':xyst.dinas.finance')
substitute module('com.beecode:xyst.dinas.price') with project(':xyst.dinas.price') substitute module('com.beecode:xyst.dinas.price') with project(':xyst.dinas.price')
substitute module('com.beecode:xyst.dinas.transport') with project(':xyst.dinas.transport') substitute module('com.beecode:xyst.dinas.transport') with project(':xyst.dinas.transport')
substitute module('com.beecode:xyst.dinas.safe') with project(':xyst.dinas.safe')
substitute module('com.beecode:xyst.dinas.sales') with project(':xyst.dinas.sales') substitute module('com.beecode:xyst.dinas.sales') with project(':xyst.dinas.sales')
} }
} }
\ No newline at end of file
...@@ -18,8 +18,9 @@ includeBuild("../") { ...@@ -18,8 +18,9 @@ includeBuild("../") {
substitute module('com.beecode:xyst.dinas.contract') with project(':xyst.dinas.contract') substitute module('com.beecode:xyst.dinas.contract') with project(':xyst.dinas.contract')
substitute module('com.beecode:xyst.dinas.camera') with project(':xyst.dinas.camera') substitute module('com.beecode:xyst.dinas.camera') with project(':xyst.dinas.camera')
substitute module('com.beecode:xyst.dinas.price') with project(':xyst.dinas.price') substitute module('com.beecode:xyst.dinas.price') with project(':xyst.dinas.price')
substitute module('com.beecode:xyst.dinas.transport') with project(':xyst.dinas.transport') substitute module('com.beecode:xyst.dinas.safe') with project(':xyst.dinas.safe')
substitute module('com.beecode:xyst.dinas.sales') with project(':xyst.dinas.sales') substitute module('com.beecode:xyst.dinas.transport') with project(':xyst.dinas.transport')
substitute module('com.beecode:xyst.dinas.sales') with project(':xyst.dinas.sales')
substitute module('com.beecode:xyst.dinas.finance') with project(':xyst.dinas.finance') substitute module('com.beecode:xyst.dinas.finance') with project(':xyst.dinas.finance')
} }
} }
......
...@@ -147,3 +147,4 @@ include "xyst.dinas.production" ...@@ -147,3 +147,4 @@ include "xyst.dinas.production"
include "xyst.dinas.project" include "xyst.dinas.project"
include "xyst.dinas.sales" include "xyst.dinas.sales"
include "xyst.dinas.transport" include "xyst.dinas.transport"
include "xyst.dinas.safe"
...@@ -17,6 +17,7 @@ include "xyst.dinas.contract" ...@@ -17,6 +17,7 @@ include "xyst.dinas.contract"
include "xyst.dinas.camera" include "xyst.dinas.camera"
include "xyst.dinas.price" include "xyst.dinas.price"
include "xyst.dinas.transport" include "xyst.dinas.transport"
include "xyst.dinas.safe"
include "xyst.dinas.sales" include "xyst.dinas.sales"
include "xyst.dinas.finance" include "xyst.dinas.finance"
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.safe'
\ No newline at end of file
package com.xyst.dinas.safe.internal.scene;
import com.beecode.bcp.core.service.StaffService;
import com.beecode.bcp.type.KMap;
import com.beecode.bcp.type.KObject;
import com.beecode.bcp.type.json.JSONObjectUtils;
import com.beecode.inz.message.remind.RemindDefinition;
import com.beecode.inz.message.remind.TriggerActionDefinition;
import com.beecode.inz.message.service.RemindSettingsInfoService;
import com.beecode.inz.query.entity.RowData;
import com.beecode.inz.query.processor.DataProcessor;
import com.beecode.inz.query.processor.DataProcessorContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.xyst.dinas.biz.dao.DinasTypeDao;
import org.json.JSONArray;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
import java.util.stream.Collectors;
@Component
public class SafeLogStaffNameInfoQueryProcessor implements DataProcessor {
@Autowired
private DinasTypeDao dinasTypeDao;
private String s = "staffNames";
@Override
public void process(DataProcessorContext context) {
List<RowData> rowDatas = context.getRowDatas();
if (null == rowDatas || rowDatas.size() == 0) {
return;
}
for (RowData row : rowDatas) {
String safeLog = "com.xyst.dinas.safe.datamodel.SafeLog";
KObject id = dinasTypeDao.load(safeLog, UUID.fromString(row.get("id").toString()));
KObject[] staffDetails = id.get("StaffDetails").toArray();
String name = Arrays.stream(staffDetails).map(a -> a.get("staff").getString("name")).collect(Collectors.joining(","));
row.put("staffNames", name);
}
}
}
<model>
<header>
<type>bcp.biz.Bill</type>
<package>com.xyst.dinas.safe.bill</package>
<title>生产违规记录</title>
<name>ProductionLineViolation</name>
<description>生产违规记录</description>
</header>
<content>
<bill>
<data>
{
"baseData": {
"name": "ProductionLineViolation",
"title": "生产违规记录",
"billModel": "com.beecode.bap.biztrait.BasicBillBiztrait",
"functionLibrarys": [],
"description": "生产违规记录",
"dataModel": "com.xyst.dinas.safe.datamodel.ProductionLineViolation"
},
"serial": {
"serialData": [
{
"segment": "literal",
"segmentData": "SV"
},
{
"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.biz.Bill</type>
<package>com.xyst.dinas.safe.bill</package>
<title>安全日志</title>
<name>SafeLog</name>
<description>安全日志</description>
</header>
<content>
<bill>
<data>
{
"baseData": {
"name": "SafeLog",
"title": "安全日志",
"billModel": "com.beecode.bap.biztrait.BasicBillBiztrait",
"functionLibrarys": [],
"description": "安全日志",
"dataModel": "com.xyst.dinas.safe.datamodel.SafeLog"
},
"serial": {
"serialData": [
{
"segment": "literal",
"segmentData": "SL"
},
{
"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.biz.Bill</type>
<package>com.xyst.dinas.safe.bill</package>
<title>船舶违规记录</title>
<name>ShipViolation</name>
<description>船舶违规记录</description>
</header>
<content>
<bill>
<data>
{
"baseData": {
"name": "ShipViolation",
"title": "船舶违规记录",
"billModel": "com.beecode.bap.biztrait.BasicBillBiztrait",
"functionLibrarys": [],
"description": "船舶违规记录",
"dataModel": "com.xyst.dinas.safe.datamodel.ShipViolation"
},
"serial": {
"serialData": [
{
"segment": "literal",
"segmentData": "SV"
},
{
"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.biz.Bill</type>
<package>com.xyst.dinas.safe.bill</package>
<title>人员违规记录</title>
<name>StaffViolation</name>
<description>人员违规记录</description>
</header>
<content>
<bill>
<data>
{
"baseData": {
"name": "StaffViolation",
"title": "人员违规记录",
"billModel": "com.beecode.bap.biztrait.BasicBillBiztrait",
"functionLibrarys": [],
"description": "人员违规记录",
"dataModel": "com.xyst.dinas.safe.datamodel.StaffViolation"
},
"serial": {
"serialData": [
{
"segment": "literal",
"segmentData": "SV"
},
{
"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.biz.Bill</type>
<package>com.xyst.dinas.safe.bill</package>
<title>安全教育培训记录</title>
<name>TrainingEducation</name>
<description>安全教育培训记录</description>
</header>
<content>
<bill>
<data>
{
"baseData": {
"name": "TrainingEducation",
"title": "安全教育培训记录",
"billModel": "com.beecode.bap.biztrait.BasicBillBiztrait",
"functionLibrarys": [],
"description": "安全教育培训记录",
"dataModel": "com.xyst.dinas.safe.datamodel.TrainingEducation"
},
"serial": {
"serialData": [
{
"segment": "literal",
"segmentData": "TE"
},
{
"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.safe.datamodel</package>
<title>生产违规记录</title>
<name>ProductionLineViolation</name>
<tags></tags>
<description>生产违规记录</description>
<templateName>mk.ide.ui.editor.data.model.template.bill</templateName>
<tablePrefix>xyst_dinas_safe_</tablePrefix>
</header>
<content>
<dataModel id='704835f3-ad07-4611-ae3c-aa0b1baeeb60' multiVersion='' domainInherit='undefined'
tableName='xyst_dinas_safe_production_line_violation'>
<parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</parent>
<parent>com.beecode.inz.common.datamodel.BaseInfo</parent>
<attribute id='14d0ad20-c71d-4904-9ff1-35865605c185' name='regionalCompany' columnName='regional_company_id'
title='区域公司' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision=''
isArray='false'>
<annotation id='99ab86cd-74b8-4d71-9cc9-d7f5286bc82a' attributeId='f9b5839f-3482-47f0-a7bb-eeeccd32a847'
name='length' value='undefined'>
</annotation>
<annotation id='7d3ebfcf-7619-46e9-af4d-33f18ec16c70' attributeId='31b655a3-fef4-4b56-ad9c-16cc44856497'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='ed3bf08a-0ce8-4cb2-8523-b5934b4fd5c4' name='productionLine' columnName='production_line_id' title='所属生产线'
type='com.xyst.dinas.biz.datamodel.ProductionLine' default='' precision='' isArray='false'>
<annotation id='fcf73b77-ee5d-4d94-a846-71acef2c2406' attributeId='a89ffcf7-1c53-4912-ab2b-ca93336daf2b'
name='length' value='undefined'>
</annotation>
<annotation id='e6688807-0dc7-4c02-93f5-bc8adead861a' attributeId='11ab11bf-0465-44ed-9d4e-b948abacf099'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='0eaa2711-94f9-4b97-95f8-521d263b6249' name='violationDate' columnName='violation_date'
title='违规时间' type='datetime' default='' precision='' isArray='false'>
<annotation id='db64013d-237d-4afe-a4a1-d16c5a781b54' attributeId='9ce31cad-5cef-47e1-99e7-595cc036bd0d'
name='length' value='undefined'>
</annotation>
</attribute>
<attribute id='bbf1ce23-a27a-497f-99f5-076a64a35f1c' name='violationDescription' columnName='violation_description'
title='违规描述' type='string' default='' precision='' isArray='false'>
<annotation id='3f51bbb5-271f-403f-8747-122fa606bc93' attributeId='f18d4517-fc96-4d4b-bb97-f680587d2f30'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='8f47fb90-49a2-4eb1-aa15-f2c1a1cd620f' name='processResult' columnName='process_result'
title='违规处理结果' type='string' default='' precision='' isArray='false'>
<annotation id='9b4c96d1-1eba-494d-8324-425ee7f25c49' attributeId='a66e6c9e-29a2-40e2-ad3a-b64e41e6cbbb'
name='length' value='500'>
</annotation>
</attribute>
<hibernate>/xyst.dinas.safe/src/main/resources/config/ProductionLineViolation.hbm.xml</hibernate>
</dataModel>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.safe.datamodel</package>
<title>安全日志</title>
<name>SafeLog</name>
<tags></tags>
<description>安全日志</description>
<templateName>mk.ide.ui.editor.data.model.template.bill</templateName>
<tablePrefix>xyst_dinas_safe_</tablePrefix>
</header>
<content>
<dataModel id='b666e7ea-9179-494c-9560-ffd2e5d13bdc' multiVersion='' domainInherit='undefined'
tableName='xyst_dinas_safe_safe_log'>
<parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</parent>
<parent>com.beecode.inz.common.datamodel.BaseInfo</parent>
<attribute id='c5a7458f-f799-44ad-a0fb-9a66fc561f71' name='regionalCompany' columnName='regional_company_id'
title='区域公司' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision=''
isArray='false'>
<annotation id='42e35822-ac1a-47a5-8809-ae453d11dd72' attributeId='a0d73415-027e-405c-8a7d-8510cefb922d'
name='length' value='undefined'>
</annotation>
<annotation id='4a68f6d1-6d91-47dc-88d9-fec70964f0fa' attributeId='be630a99-37bd-4f34-9fdc-3964013a1733'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='f905ccaa-5208-4293-8390-4ffbca81e415' name='checkDate' columnName='check_date'
title='检查日期' type='datetime' default='' precision='' isArray='false'>
<annotation id='ff15abb6-98bb-4241-8526-f6029fd717b0' attributeId='03ea5658-e81f-41a8-90ab-2937a2b5ba66'
name='length' value='undefined'>
</annotation>
</attribute>
<attribute id='a7790986-6ca7-4fde-8dba-f1a813344513' name='checkDateWeather' columnName='check_date_weather'
title='检查日期天气' type='string' default='' precision='' isArray='false'>
<annotation id='47057136-544f-4e19-b148-96adac49f0a6' attributeId='f279ef21-d2c9-4c2e-978e-04ef8ede96c2'
name='length' value='20'>
</annotation>
</attribute>
<attribute id='222e8955-f3ff-405b-866a-ce5dcaf15fae' name='checkItem' columnName='check_item'
title='检查项' type='string' default='' precision='' isArray='false'>
<annotation id='6d918ffc-c05a-4560-9a12-9570cbcae0ff' attributeId='06501e83-a011-4948-9c34-bb64d334754e'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='cdc87330-6245-4bc5-9e79-884153db9598' name='checkContent' columnName='check_content'
title='检查内容' type='string' default='' precision='' isArray='false'>
<annotation id='7c0e6c60-da5a-4879-a491-1ec558a3ac98' attributeId='7ea4512a-a44e-4b25-9af9-d564639950d0'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='3974755f-738b-45fe-bf99-9c98d9c321da' name='checkArea' columnName='check_area'
title='检查区域' type='string' default='' precision='' isArray='false'>
<annotation id='ddc8e387-7651-4c0c-a6d3-61cc5657bf0f' attributeId='2cfda433-8e03-480f-98d8-4c480ca953e6'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='67794554-1e28-49bb-ae6e-78c476f0411a' name='checkFindings' columnName='check_findings'
title='检查结论' type='string' default='' precision='' isArray='false'>
<annotation id='e5fa07dd-5df6-400c-8a3d-a728316ad094' attributeId='d799055c-092f-4713-a45e-c10d960b963e'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='5c62a5c8-7528-4e01-959a-387fc9e8bad9' name='approver' columnName='approver_id'
title='审批人' type='com.beecode.bap.staff.datamodel.Staff' default='' precision=''
isArray='false'>
<annotation id='405fa578-1f39-4b0a-8b71-91b3c24ab2bb' attributeId='a4000843-0a3a-48db-9ce8-ab17644eeb1e'
name='length' value='undefined'>
</annotation>
<annotation id='6d239e5f-2931-48a2-866d-5aa7ce4d1272' attributeId='7e54f708-9a90-41a3-9054-0d731727f936'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='0d7b64de-a310-4921-ab85-51aa8143b03b' name='failureReason' columnName='failure_reason'
title='不通过原因' type='string' default='' precision='' isArray='false'>
<annotation id='34935e66-2387-4672-9857-fdddf084bcb4' attributeId='7a8d9628-4b2e-4e98-9401-27c496402a8b'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='834895d1-79af-4e32-a9ac-46d6214a6225' name='applyStatus' columnName='apply_status'
title='审批状态' type='int' default='' precision='' isArray='false'>
<annotation id='ef826bcf-d2d3-4a94-9614-81f0090f07c4' attributeId='2dca6caa-ac91-4211-8f91-27a97c16deb5'
name='length' value='1'>
</annotation>
</attribute>
<attribute id='c301672b-f197-4199-b76b-5e5daf84d9fb' name='approvalTime' columnName='approval_time'
title='审批时间' type='datetime' default='' precision='' isArray='false'>
<annotation id='8510c20a-a154-4e84-8a37-0756719573af' attributeId='8747fc93-6428-4353-8caa-40faa4b8a54b'
name='length' value='500'>
</annotation>
</attribute>
<childModel id='bd6a414f-db6b-4305-ad5d-c46dc2470690' attributeId='a47c49cb-c892-420e-843e-d13ebbf273ee' refParentAttributeId='84b69479-935c-4b94-aaf1-3086d2a48592' name='StaffDetail' tableName='xyst_dinas_safe_log_staff_detail' domainInherit='' title='检查人员明细表' >
<parent>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</parent>
<attribute id='7f136def-a94d-469b-8b43-9e973976c9f7' name='staff' columnName='staff_id' title='检查人员' type='com.beecode.bap.staff.datamodel.Staff' default='' precision='' isArray='false'>
<annotation id='1c2a1fb0-eb15-4429-a11a-c6fc35181f4c' attributeId='ebc2a6b5-8ff6-45ee-b64d-7d9fe454b49e' name='length' value='undefined'>
</annotation>
<annotation id='4737c458-2112-4b9e-9f4c-a1026a3ad67a' attributeId='93605880-def2-4f34-a067-046fb3367205' name='mappingType' value='many-to-one'>
</annotation>
</attribute>
</childModel>
<hibernate>/xyst.dinas.safe/src/main/resources/config/SafeLog.hbm.xml</hibernate>
</dataModel>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.safe.datamodel</package>
<title>船舶违规记录</title>
<name>ShipViolation</name>
<tags></tags>
<description>船舶违规记录</description>
<templateName>mk.ide.ui.editor.data.model.template.bill</templateName>
<tablePrefix>xyst_dinas_safe_</tablePrefix>
</header>
<content>
<dataModel id='168e525f-2493-4296-98f0-e4d3e783065b' multiVersion='' domainInherit='undefined'
tableName='xyst_dinas_safe_ship_violation'>
<parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</parent>
<parent>com.beecode.inz.common.datamodel.BaseInfo</parent>
<attribute id='f9581920-58e1-46af-a443-65c79f7be5d5' name='regionalCompany' columnName='regional_company_id'
title='区域公司' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision=''
isArray='false'>
<annotation id='1d2bd595-5bf1-4b59-a53a-999592fab289' attributeId='128be010-2df2-4f0b-b006-6fba8a5dfbe5'
name='length' value='undefined'>
</annotation>
<annotation id='2822e9d4-c1cf-438a-bd91-188076e09c7d' attributeId='b7cef027-a3f0-4411-97ea-26532812a8bd'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='f3133aa9-18f5-494b-946c-c1f8f6db19ba' name='shipInfo' columnName='ship_info_id' title='所属船只'
type='com.xyst.dinas.biz.datamodel.ShipInfo' default='' precision='' isArray='false'>
<annotation id='575a43dd-917e-4252-b533-f93e4297c893' attributeId='ebc20049-7bdc-419b-a9a1-cc935f79ec19'
name='length' value='undefined'>
</annotation>
<annotation id='8761a69d-c39f-42c2-befc-d7c23ae02bf4' attributeId='019e05c7-e81e-4782-8fa0-e73120c49704'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='16d4471d-d98b-431d-8a11-a537ea951cf6' name='violationDate' columnName='violation_date'
title='违规时间' type='datetime' default='' precision='' isArray='false'>
<annotation id='cbbe0e56-6c3f-4a66-b38a-c8fe5cbf6696' attributeId='44356a26-27f4-4f2e-a3e4-5691b92327f4'
name='length' value='undefined'>
</annotation>
</attribute>
<attribute id='2cfada0b-70fe-47f1-a74e-1a4ec6f172cc' name='violationDescription' columnName='violation_description'
title='违规描述' type='string' default='' precision='' isArray='false'>
<annotation id='7ad2d9cb-f4ec-4559-afc2-50efadba47c6' attributeId='23bae94a-c61f-4ed3-8c95-d9994b85416d'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='af42626d-bc6c-4429-874b-c5dcf1103009' name='processResult' columnName='process_result'
title='违规处理结果' type='string' default='' precision='' isArray='false'>
<annotation id='cfb55d43-a2ad-482b-98e0-df96070de2d3' attributeId='83598f23-b4b7-4512-a80a-9f4afa6b86a2'
name='length' value='500'>
</annotation>
</attribute>
<hibernate>/xyst.dinas.safe/src/main/resources/config/ShipViolation.hbm.xml</hibernate>
</dataModel>
</content>
</model>
<model>
<header>
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.safe.datamodel</package>
<title>人员违规记录</title>
<name>StaffViolation</name>
<tags></tags>
<description>人员违规记录</description>
<templateName>mk.ide.ui.editor.data.model.template.bill</templateName>
<tablePrefix>xyst_dinas_safe_</tablePrefix>
</header>
<content>
<dataModel id='9da68f6a-ba95-474a-81be-369d60cfa34b' multiVersion='' domainInherit='undefined'
tableName='xyst_dinas_safe_staff_violation'>
<parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</parent>
<parent>com.beecode.inz.common.datamodel.BaseInfo</parent>
<attribute id='49da9926-eb71-4f27-9aa2-033a6d176175' name='regionalCompany' columnName='regional_company_id'
title='区域公司' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision=''
isArray='false'>
<annotation id='82dff403-431d-4397-9344-8f3e42f169fc' attributeId='6f4c10d9-7899-4f90-96b8-e2cc408c749e'
name='length' value='undefined'>
</annotation>
<annotation id='01f32828-c660-41c2-81ba-d93f274ef086' attributeId='5d0d77ee-fa5e-4167-aee1-f750ff38df2e'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='4cfa6f24-658b-43fc-82b0-de120c172d7c' name='staff' columnName='staff_id' title='违规人'
type='com.beecode.bap.staff.datamodel.Staff' default='' precision='' isArray='false'>
<annotation id='01ff35a1-9a6f-4760-bffb-dfd83f663021' attributeId='98c43cc8-0003-424d-9253-d65620c661e8'
name='length' value='undefined'>
</annotation>
<annotation id='a3c651af-2e93-43b6-9603-a44500ada7c2' attributeId='8969e4dd-3b20-4464-ae21-f98cd1611ccf'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='6ca43015-8960-4576-b85e-2480381bf042' name='violationDate' columnName='violation_date'
title='违规时间' type='datetime' default='' precision='' isArray='false'>
<annotation id='2ea71949-10e0-49c4-a231-69b05535e104' attributeId='7c149080-ba01-476d-9f40-18cfa6e8ecce'
name='length' value='undefined'>
</annotation>
</attribute>
<attribute id='f8e78059-8e53-4110-86ad-f27c4dce72c3' name='violationDescription' columnName='violation_description'
title='违规描述' type='string' default='' precision='' isArray='false'>
<annotation id='816f1d37-e27c-4232-acda-ed65b9969e90' attributeId='89dd5e85-4c22-4445-bc74-5f14e08a8565'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='bf181e8d-52fa-495d-b08b-e65cea56a679' name='processResult' columnName='process_result'
title='违规处理结果' type='string' default='' precision='' isArray='false'>
<annotation id='6e8b7645-ac48-4891-ac52-30a08bfd7d78' attributeId='c82f406c-7422-4f4b-b630-eeb2c64a4dc2'
name='length' value='500'>
</annotation>
</attribute>
<hibernate>/xyst.dinas.safe/src/main/resources/config/StaffViolation.hbm.xml</hibernate>
</dataModel>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>bcp.type.DataModel</type>
<package>com.xyst.dinas.safe.datamodel</package>
<title>培训教育记录</title>
<name>TrainingEducation</name>
<tags></tags>
<description>培训教育记录</description>
<templateName>mk.ide.ui.editor.data.model.template.bill</templateName>
<tablePrefix>xyst_dinas_safe_</tablePrefix>
</header>
<content>
<dataModel id='75738fec-3b4a-4279-9f30-cbddccd7f785' multiVersion='' domainInherit='undefined'
tableName='xyst_dinas_safe_training_education'>
<parent>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</parent>
<parent>com.beecode.inz.common.datamodel.BaseInfo</parent>
<attribute id='715a6cb7-4ae2-485d-8c70-0b8702b3afe5' name='regionalCompany' columnName='regional_company_id'
title='区域公司' type='com.xyst.dinas.biz.datamodel.xystOrganization' default='' precision=''
isArray='false'>
<annotation id='25a2a853-96d8-4384-a737-ff4764d9bbca' attributeId='27e0a076-0ec2-4f1d-89d7-3fa3af16417f'
name='length' value='undefined'>
</annotation>
<annotation id='91e988fe-4793-4f17-b435-3ad20c1e00a6' attributeId='d1919ee2-18f0-4e71-b35a-dfe7fe814cf2'
name='mappingType' value='many-to-one'>
</annotation>
</attribute>
<attribute id='8464c1ff-9cc1-471d-9a63-50cb4f748910' name='educationDate' columnName='education_date'
title='培训日期' type='datetime' default='' precision='' isArray='false'>
<annotation id='c0055ded-47ef-4eca-afc6-31953c0a3a96' attributeId='61641ecc-c2a1-4e0d-84d1-88a44e6d418d'
name='length' value='undefined'>
</annotation>
</attribute>
<attribute id='6fb592f5-89b0-435a-b905-0619011580e5' name='trainingEducationName' columnName='training_education_name'
title='培训会议名称' type='string' default='' precision='' isArray='false'>
<annotation id='40d7c5f3-4967-47b0-bb55-07435f80c56e' attributeId='0f8a381a-de4e-4b96-b995-5e5abcc80e23'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='a5288451-8649-4139-816d-8a043c24a1c4' name='participantsCount' columnName='participants_count'
title='参会人数' type='int' default='' precision='' isArray='false'>
<annotation id='7d48cd9f-e40d-46c1-98c3-d2a56ab5e20c' attributeId='d8d07318-4d25-4cd2-8d44-7a8bb03f2c6b'
name='length' value='10'>
</annotation>
</attribute>
<attribute id='7a1e588c-286e-4dfc-bb4f-fca5a45f39ae' name='meetingPlace' columnName='meeting_place'
title='会议地点' type='string' default='' precision='' isArray='false'>
<annotation id='88483b58-a5d0-4b6a-96a6-8d90e02bec14' attributeId='e54458e8-4bae-420b-ac80-d3b061c208b7'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='35024ffb-3002-43c4-8a69-4c6bdb194e34' name='participants' columnName='participants'
title='参会人员' type='string' default='' precision='' isArray='false'>
<annotation id='5817877b-2543-464b-9b5f-2ec1c3af5a23' attributeId='2132f47d-5072-4365-8e51-3e5d0f5d5bc6'
name='length' value='500'>
</annotation>
</attribute>
<attribute id='eece008b-e265-4c70-b24c-75d167c58e92' name='meetingContent' columnName='meeting_content'
title='会议内容' type='string' default='' precision='' isArray='false'>
<annotation id='2d1fce04-3397-403e-98a0-2009788eb7b7' attributeId='1bb6e8ba-1e7d-4491-8e4f-43758c2c9d62'
name='length' value='500'>
</annotation>
</attribute>
<hibernate>/xyst.dinas.safe/src/main/resources/config/TrainingEducation.hbm.xml</hibernate>
</dataModel>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>inz.query.Query</type>
<package>com.xyst.dinas.safe.query</package>
<name>ProductionLineViolation</name>
<title>生产违规记录</title>
<tags></tags>
<description>生产违规记录</description>
</header>
<content>
<customQuery id='a53c5642-3d85-4fd9-a13a-512975e3dfc0'>
<kclass>com.xyst.dinas.safe.datamodel.ProductionLineViolation</kclass>
<innerScene title='全部'>
<id>0c2eeafb-9939-4df9-a04b-2a839b255f74</id>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title='已废弃'>
<id>b440289a-6f56-4b5f-b401-fce17dd86176</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/>
<name/>
</ref>
<description/>
</field>
<field title='生产线id'>
<name>productionLine.id</name>
<type>uuid</type>
<ref>
<type>一般引用</type>
<name>com.xyst.dinas.biz.datamodel.ProductionLine</name>
</ref>
<description></description>
</field>
<field>
<name>regionalCompany.id</name>
<title>区域公司</title>
<type>uuid</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
<field>
<name>regionalCompany.name</name>
<title>区域公司名称</title>
<type>string</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
<field title='生产线名称'>
<name>productionLine.name</name>
<type>string</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.ProductionLine</name>
</ref>
<description></description>
</field>
<field title='违规时间'>
<name>violationDate</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='违规描述'>
<name>violationDescription</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='违规处理结果'>
<name>processResult</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>del</name>
<type>boolean</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
</customQuery>
</content>
</model>
<model>
<header>
<type>inz.query.Query</type>
<package>com.xyst.dinas.safe.query</package>
<name>SafeLog</name>
<title>安全日志</title>
<tags></tags>
<description>安全日志</description>
</header>
<content>
<customQuery id='2cb5cdcc-d8ee-44f3-8cd2-11c2f62bff0a'>
<kclass>com.xyst.dinas.safe.datamodel.SafeLog</kclass>
<dataProcessor>com.xyst.dinas.safe.internal.scene.SafeLogStaffNameInfoQueryProcessor</dataProcessor>
<innerScene title='全部'>
<id>01c6cee9-ce47-4c46-9ece-f57ea66bc601</id>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title='已废弃'>
<id>34921972-7319-482c-b97a-ae13172ce68f</id>
<javaImplement>com.beecode.inz.common.scene.DefaultDiscardScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<field>
<name>regionalCompany.id</name>
<title>区域公司</title>
<type>uuid</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
<field>
<name>regionalCompany.name</name>
<title>区域公司名称</title>
<type>string</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
<field title='id'>
<name>id</name>
<type>uuid</type>
<ref>
<type/>
<name/>
</ref>
<description/>
</field>
<field title='检查日期'>
<name>checkDate</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description/>
</field>
<field title='检查日期天气'>
<name>checkDateWeather</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description/>
</field>
<field title='检查项'>
<name>checkItem</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description/>
</field>
<field title='检查内容'>
<name>checkContent</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='检查区域'>
<name>checkArea</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='检查结论'>
<name>checkFindings</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='不通过原因'>
<name>failureReason</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='审批状态'>
<name>applyStatus</name>
<type>int</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='审批时间'>
<name>approvalTime</name>
<type>datetime</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>del</name>
<type>boolean</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
</customQuery>
</content>
</model>
\ No newline at end of file
<model>
<header>
<type>inz.query.Query</type>
<package>com.xyst.dinas.safe.query</package>
<name>ShipViolation</name>
<title>船舶违规记录</title>
<tags></tags>
<description>船舶违规记录</description>
</header>
<content>
<customQuery id='0591cfad-73f1-4c79-982d-ab584f0600a9'>
<kclass>com.xyst.dinas.safe.datamodel.ShipViolation</kclass>
<innerScene title='全部'>
<id>32fe0e59-c21e-43a1-9b27-8c66a35303a8</id>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title='已废弃'>
<id>a71a929f-a200-41ae-adb6-9c211eed93c1</id>
<javaImplement>com.beecode.inz.common.scene.DefaultDiscardScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<field>
<name>regionalCompany.id</name>
<title>区域公司</title>
<type>uuid</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
<field>
<name>regionalCompany.name</name>
<title>区域公司名称</title>
<type>string</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
<field title='id'>
<name>id</name>
<type>uuid</type>
<ref>
<type/>
<name/>
</ref>
<description/>
</field>
<field title='船只id'>
<name>shipInfo.id</name>
<type>uuid</type>
<ref>
<type>一般引用</type>
<name>com.xyst.dinas.biz.datamodel.ShipInfo</name>
</ref>
<description></description>
</field>
<field title='船只名称'>
<name>shipInfo.shipName</name>
<type>string</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.ShipInfo</name>
</ref>
<description></description>
</field>
<field title='船只编号'>
<name>shipInfo.shipCodeNum</name>
<type>string</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.ShipInfo</name>
</ref>
<description></description>
</field>
<field title='船只所属公司'>
<name>shipInfo.companyName</name>
<type>string</type>
<ref>
<type></type>
<name>com.xyst.dinas.biz.datamodel.ShipInfo</name>
</ref>
<description></description>
</field>
<field title='违规时间'>
<name>violationDate</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='违规描述'>
<name>violationDescription</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='违规处理结果'>
<name>processResult</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>del</name>
<type>boolean</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
</customQuery>
</content>
</model>
<model>
<header>
<type>inz.query.Query</type>
<package>com.xyst.dinas.safe.query</package>
<name>StaffViolation</name>
<title>人员违规记录</title>
<tags></tags>
<description>人员违规记录</description>
</header>
<content>
<customQuery id='df798a17-851b-41ac-80a7-80e999b0d03d'>
<kclass>com.xyst.dinas.safe.datamodel.StaffViolation</kclass>
<innerScene title='全部'>
<id>32fe0e59-c21e-43a1-9b27-8c66a35303a8</id>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title='已废弃'>
<id>a71a929f-a200-41ae-adb6-9c211eed93c1</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/>
<name/>
</ref>
<description/>
</field>
<field title='违规人员id'>
<name>staff.id</name>
<type>uuid</type>
<ref>
<type>一般引用</type>
<name>com.beecode.bap.staff.datamodel.Staff</name>
</ref>
<description></description>
</field>
<field title='违规人员名称'>
<name>staff.name</name>
<type>string</type>
<ref>
<type></type>
<name>com.beecode.bap.staff.datamodel.Staff</name>
</ref>
<description></description>
</field>
<field title='所属部门名称'>
<name>staff.department.name</name>
<type>string</type>
<ref>
<type></type>
<name>com.beecode.bap.staff.datamodel.Staff</name>
</ref>
<description></description>
</field>
<field title='所属部门id'>
<name>staff.department.id</name>
<type>uuid</type>
<ref>
<type></type>
<name>com.beecode.bap.staff.datamodel.Staff</name>
</ref>
<description></description>
</field>
<field title='违规人员名称'>
<name>staff.name</name>
<type>string</type>
<ref>
<type></type>
<name>com.beecode.bap.staff.datamodel.Staff</name>
</ref>
<description></description>
</field>
<field title='违规人员名称'>
<name>staff.name</name>
<type>string</type>
<ref>
<type></type>
<name>com.beecode.bap.staff.datamodel.Staff</name>
</ref>
<description></description>
</field>
<field title='违规时间'>
<name>violationDate</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='违规描述'>
<name>violationDescription</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='违规处理结果'>
<name>processResult</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>del</name>
<type>boolean</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field>
<name>regionalCompany.id</name>
<title>区域公司</title>
<type>uuid</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
<field>
<name>regionalCompany.name</name>
<title>区域公司名称</title>
<type>string</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
</customQuery>
</content>
</model>
<model>
<header>
<type>inz.query.Query</type>
<package>com.xyst.dinas.safe.query</package>
<name>TrainingEducation</name>
<title>安全教育培训记录</title>
<tags></tags>
<description>安全教育培训记录</description>
</header>
<content>
<customQuery id='9decdc8b-9fd7-49e5-ab8d-1ef1baacd050'>
<kclass>com.xyst.dinas.safe.datamodel.TrainingEducation</kclass>
<innerScene title='全部'>
<id>b398b85f-9ec7-484f-894b-931171c7070b</id>
<javaImplement>com.beecode.inz.common.scene.CommonAllScene</javaImplement>
<defaultExecute></defaultExecute>
<hide></hide>
</innerScene>
<innerScene title='已废弃'>
<id>8af570d5-9f12-43ca-8a60-05e37253f7db</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/>
<name/>
</ref>
<description/>
</field>
<field title='培训日期'>
<name>educationDate</name>
<type>datetime</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='培训会议名称'>
<name>trainingEducationName</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='参会人数'>
<name>participantsCount</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='会议地点'>
<name>meetingPlace</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='参会人员'>
<name>participants</name>
<type>string</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field title='会议内容'>
<name>meetingContent</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>del</name>
<type>boolean</type>
<ref>
<type></type>
<name></name>
</ref>
<description></description>
</field>
<field>
<name>regionalCompany.id</name>
<title>区域公司</title>
<type>uuid</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
<field>
<name>regionalCompany.name</name>
<title>区域公司名称</title>
<type>string</type>
<ref>
<name>com.xyst.dinas.biz.datamodel.xystOrganization</name>
<type></type>
</ref>
<desc></desc>
</field>
</customQuery>
</content>
</model>
\ No newline at end of file
# Auto Configure
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.xyst.dinas.safe.internal.scene.SafeLogStaffNameInfoQueryProcessor
<?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>1b87e55b-bd8b-4183-9ba7-65f0186346ea</id>
<name>com.xyst.dinas.safe.bill.ProductionLineViolation$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>e9a5669f-bbc4-4309-916e-b66e0076e685</id>
<name>com.xyst.dinas.safe.bill.ProductionLineViolation$serial</name>
<title>生产违规记录$serial</title>
<description>生产违规记录</description>
<define>bcp.serial</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.ProductionLineViolation</dependency>
<dependency>com.xyst.dinas.safe.bill.ProductionLineViolation$sequence</dependency>
<content>
<m:serial>
<m:input>com.xyst.dinas.safe.datamodel.ProductionLineViolation</m:input>
<m:functionLibrarys/>
<m:segments>
<m:literal>
<m:value>SV</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.safe.bill.ProductionLineViolation$serial</m:key>
<m:sequenceName>com.xyst.dinas.safe.bill.ProductionLineViolation$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>6db4834e-53e7-40b9-9112-670d1d44532c</id>
<name>com.xyst.dinas.safe.bill.ProductionLineViolation</name>
<title>生产违规记录</title>
<description>生产违规记录</description>
<define>bcp.biz.Biztype</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.bill.ProductionLineViolation$serial</dependency>
<dependency>com.xyst.dinas.safe.datamodel.ProductionLineViolation</dependency>
<dependency>com.beecode.bap.biztrait.BasicBillBiztrait</dependency>
<content>
<m:biztype>
<m:type>com.xyst.dinas.safe.datamodel.ProductionLineViolation</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.safe.bill.ProductionLineViolation$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-sequence">
<specification>1.0</specification>
<id>7a3bfd62-2cfe-49f0-81b4-c9fe92bc9536</id>
<name>com.xyst.dinas.safe.bill.SafeLog$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>50822486-0f67-4d67-aa74-661be23669f6</id>
<name>com.xyst.dinas.safe.bill.SafeLog$serial</name>
<title>安全日志$serial</title>
<description>安全日志</description>
<define>bcp.serial</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.SafeLog</dependency>
<dependency>com.xyst.dinas.safe.bill.SafeLog$sequence</dependency>
<content>
<m:serial>
<m:input>com.xyst.dinas.safe.datamodel.SafeLog</m:input>
<m:functionLibrarys/>
<m:segments>
<m:literal>
<m:value>SL</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.safe.bill.SafeLog$serial</m:key>
<m:sequenceName>com.xyst.dinas.safe.bill.SafeLog$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>ce7bf6e0-e83d-4d59-8790-d65671fcff65</id>
<name>com.xyst.dinas.safe.bill.SafeLog</name>
<title>安全日志</title>
<description>安全日志</description>
<define>bcp.biz.Biztype</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.SafeLog</dependency>
<dependency>com.xyst.dinas.safe.bill.SafeLog$serial</dependency>
<dependency>com.beecode.bap.biztrait.BasicBillBiztrait</dependency>
<content>
<m:biztype>
<m:type>com.xyst.dinas.safe.datamodel.SafeLog</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.safe.bill.SafeLog$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-sequence">
<specification>1.0</specification>
<id>99554231-e793-4306-82ee-9ccfe2a43ebe</id>
<name>com.xyst.dinas.safe.bill.ShipViolation$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>b5f6f666-67f7-40b3-8ff0-dcfc5524bd7a</id>
<name>com.xyst.dinas.safe.bill.ShipViolation$serial</name>
<title>船舶违规记录$serial</title>
<description>船舶违规记录</description>
<define>bcp.serial</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.ShipViolation</dependency>
<dependency>com.xyst.dinas.safe.bill.ShipViolation$sequence</dependency>
<content>
<m:serial>
<m:input>com.xyst.dinas.safe.datamodel.ShipViolation</m:input>
<m:functionLibrarys/>
<m:segments>
<m:literal>
<m:value>SV</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.safe.bill.ShipViolation$serial</m:key>
<m:sequenceName>com.xyst.dinas.safe.bill.ShipViolation$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>75c942c5-e175-441a-86b2-f7f39afcccbe</id>
<name>com.xyst.dinas.safe.bill.ShipViolation</name>
<title>船舶违规记录</title>
<description>船舶违规记录</description>
<define>bcp.biz.Biztype</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.ShipViolation</dependency>
<dependency>com.beecode.bap.biztrait.BasicBillBiztrait</dependency>
<dependency>com.xyst.dinas.safe.bill.ShipViolation$serial</dependency>
<content>
<m:biztype>
<m:type>com.xyst.dinas.safe.datamodel.ShipViolation</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.safe.bill.ShipViolation$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-sequence">
<specification>1.0</specification>
<id>db8b454f-d690-4bb1-b0b2-d3360e403a0a</id>
<name>com.xyst.dinas.safe.bill.StaffViolation$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>b35bccc4-9071-418f-b116-d9a43bbd037f</id>
<name>com.xyst.dinas.safe.bill.StaffViolation$serial</name>
<title>人员违规记录$serial</title>
<description>人员违规记录</description>
<define>bcp.serial</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.StaffViolation</dependency>
<dependency>com.xyst.dinas.safe.bill.StaffViolation$sequence</dependency>
<content>
<m:serial>
<m:input>com.xyst.dinas.safe.datamodel.StaffViolation</m:input>
<m:functionLibrarys/>
<m:segments>
<m:literal>
<m:value>SV</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.safe.bill.StaffViolation$serial</m:key>
<m:sequenceName>com.xyst.dinas.safe.bill.StaffViolation$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>f54d87e5-0992-4fca-9cbe-744e9358aad0</id>
<name>com.xyst.dinas.safe.bill.StaffViolation</name>
<title>人员违规记录</title>
<description>人员违规记录</description>
<define>bcp.biz.Biztype</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.StaffViolation</dependency>
<dependency>com.xyst.dinas.safe.bill.StaffViolation$serial</dependency>
<dependency>com.beecode.bap.biztrait.BasicBillBiztrait</dependency>
<content>
<m:biztype>
<m:type>com.xyst.dinas.safe.datamodel.StaffViolation</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.safe.bill.StaffViolation$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-sequence">
<specification>1.0</specification>
<id>c288b49e-3874-4ec7-b4da-b04acf8902d9</id>
<name>com.xyst.dinas.safe.bill.TrainingEducation$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>4a541239-2a32-49a1-abc2-a42d51772800</id>
<name>com.xyst.dinas.safe.bill.TrainingEducation$serial</name>
<title>安全教育培训记录$serial</title>
<description>安全教育培训记录</description>
<define>bcp.serial</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.TrainingEducation</dependency>
<dependency>com.xyst.dinas.safe.bill.TrainingEducation$sequence</dependency>
<content>
<m:serial>
<m:input>com.xyst.dinas.safe.datamodel.TrainingEducation</m:input>
<m:functionLibrarys/>
<m:segments>
<m:literal>
<m:value>TE</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.safe.bill.TrainingEducation$serial</m:key>
<m:sequenceName>com.xyst.dinas.safe.bill.TrainingEducation$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>fc1417c4-7021-4be8-9ef1-4386f69b01d3</id>
<name>com.xyst.dinas.safe.bill.TrainingEducation</name>
<title>安全教育培训记录</title>
<description>安全教育培训记录</description>
<define>bcp.biz.Biztype</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.TrainingEducation</dependency>
<dependency>com.xyst.dinas.safe.bill.TrainingEducation$serial</dependency>
<dependency>com.beecode.bap.biztrait.BasicBillBiztrait</dependency>
<content>
<m:biztype>
<m:type>com.xyst.dinas.safe.datamodel.TrainingEducation</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.safe.bill.TrainingEducation$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>704835f3-ad07-4611-ae3c-aa0b1baeeb60</id>
<name>com.xyst.dinas.safe.datamodel.ProductionLineViolation</name>
<title>生产违规记录</title>
<description>生产违规记录</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>com.xyst.dinas.biz.datamodel.ProductionLine</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_safe_production_line_violation</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<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>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>regional_company_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>14d0ad20-c71d-4904-9ff1-35865605c185</m:id>
<m:name>regionalCompany</m:name>
<m:title>区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>production_line_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>ed3bf08a-0ce8-4cb2-8523-b5934b4fd5c4</m:id>
<m:name>productionLine</m:name>
<m:title>所属生产线</m:title>
<m:type>com.xyst.dinas.biz.datamodel.ProductionLine</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>violation_date</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0eaa2711-94f9-4b97-95f8-521d263b6249</m:id>
<m:name>violationDate</m:name>
<m:title>违规时间</m:title>
<m:type>datetime</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:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>violation_description</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>bbf1ce23-a27a-497f-99f5-076a64a35f1c</m:id>
<m:name>violationDescription</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>process_result</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>8f47fb90-49a2-4eb1-aa15-f2c1a1cd620f</m:id>
<m:name>processResult</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>
<?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>b666e7ea-9179-494c-9560-ffd2e5d13bdc</id>
<name>com.xyst.dinas.safe.datamodel.SafeLog</name>
<title>安全日志</title>
<description>安全日志</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.SubTableAnnotation</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>com.xyst.dinas.safe.datamodel.SafeLogAssociatedStaffDetail</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_safe_safe_log</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<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>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>regional_company_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c5a7458f-f799-44ad-a0fb-9a66fc561f71</m:id>
<m:name>regionalCompany</m:name>
<m:title>区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>check_date</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>f905ccaa-5208-4293-8390-4ffbca81e415</m:id>
<m:name>checkDate</m:name>
<m:title>检查日期</m:title>
<m:type>datetime</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>20</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>check_date_weather</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a7790986-6ca7-4fde-8dba-f1a813344513</m:id>
<m:name>checkDateWeather</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>check_item</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>222e8955-f3ff-405b-866a-ce5dcaf15fae</m:id>
<m:name>checkItem</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>check_content</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>cdc87330-6245-4bc5-9e79-884153db9598</m:id>
<m:name>checkContent</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>check_area</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>3974755f-738b-45fe-bf99-9c98d9c321da</m:id>
<m:name>checkArea</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>check_findings</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>67794554-1e28-49bb-ae6e-78c476f0411a</m:id>
<m:name>checkFindings</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>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>approver_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>5c62a5c8-7528-4e01-959a-387fc9e8bad9</m:id>
<m:name>approver</m:name>
<m:title>审批人</m:title>
<m:type>com.beecode.bap.staff.datamodel.Staff</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:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>failure_reason</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>0d7b64de-a310-4921-ab85-51aa8143b03b</m:id>
<m:name>failureReason</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>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>apply_status</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>834895d1-79af-4e32-a9ac-46d6214a6225</m:id>
<m:name>applyStatus</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:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>approval_time</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>c301672b-f197-4199-b76b-5e5daf84d9fb</m:id>
<m:name>approvalTime</m:name>
<m:title>审批时间</m:title>
<m:type>datetime</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>a47c49cb-c892-420e-843e-d13ebbf273ee</m:id>
<m:name>StaffDetails</m:name>
<m:title>检查人员明细表</m:title>
<m:type>com.xyst.dinas.safe.datamodel.SafeLogAssociatedStaffDetail[]</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>bd6a414f-db6b-4305-ad5d-c46dc2470690</id>
<name>com.xyst.dinas.safe.datamodel.SafeLogAssociatedStaffDetail</name>
<title>检查人员明细表</title>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.xyst.dinas.safe.datamodel.SafeLog</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<dependency>bcp.type.json.JsonIgnore</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_safe_log_staff_detail</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:parents>
<m:parent>com.beecode.bap.biztrait.datamodel.StoreSubTableRequirement</m:parent>
</m:parents>
<m:attributes>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>staff_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>7f136def-a94d-469b-8b43-9e973976c9f7</m:id>
<m:name>staff</m:name>
<m:title>检查人员</m:title>
<m:type>com.beecode.bap.staff.datamodel.Staff</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>84b69479-935c-4b94-aaf1-3086d2a48592</m:id>
<m:name>master</m:name>
<m:title>master</m:title>
<m:type>com.xyst.dinas.safe.datamodel.SafeLog</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>168e525f-2493-4296-98f0-e4d3e783065b</id>
<name>com.xyst.dinas.safe.datamodel.ShipViolation</name>
<title>船舶违规记录</title>
<description>船舶违规记录</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>com.xyst.dinas.biz.datamodel.ShipInfo</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_safe_ship_violation</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<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>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>regional_company_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>f9581920-58e1-46af-a443-65c79f7be5d5</m:id>
<m:name>regionalCompany</m:name>
<m:title>区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>ship_info_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>f3133aa9-18f5-494b-946c-c1f8f6db19ba</m:id>
<m:name>shipInfo</m:name>
<m:title>所属船只</m:title>
<m:type>com.xyst.dinas.biz.datamodel.ShipInfo</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>violation_date</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>16d4471d-d98b-431d-8a11-a537ea951cf6</m:id>
<m:name>violationDate</m:name>
<m:title>违规时间</m:title>
<m:type>datetime</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:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>violation_description</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>2cfada0b-70fe-47f1-a74e-1a4ec6f172cc</m:id>
<m:name>violationDescription</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>process_result</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>af42626d-bc6c-4429-874b-c5dcf1103009</m:id>
<m:name>processResult</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>
<?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>9da68f6a-ba95-474a-81be-369d60cfa34b</id>
<name>com.xyst.dinas.safe.datamodel.StaffViolation</name>
<title>人员违规记录</title>
<description>人员违规记录</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>com.beecode.bap.staff.datamodel.Staff</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_safe_staff_violation</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<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>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>regional_company_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>49da9926-eb71-4f27-9aa2-033a6d176175</m:id>
<m:name>regionalCompany</m:name>
<m:title>区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>staff_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>4cfa6f24-658b-43fc-82b0-de120c172d7c</m:id>
<m:name>staff</m:name>
<m:title>违规人</m:title>
<m:type>com.beecode.bap.staff.datamodel.Staff</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>violation_date</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6ca43015-8960-4576-b85e-2480381bf042</m:id>
<m:name>violationDate</m:name>
<m:title>违规时间</m:title>
<m:type>datetime</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:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>violation_description</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>f8e78059-8e53-4110-86ad-f27c4dce72c3</m:id>
<m:name>violationDescription</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>process_result</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>bf181e8d-52fa-495d-b08b-e65cea56a679</m:id>
<m:name>processResult</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>
<?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>75738fec-3b4a-4279-9f30-cbddccd7f785</id>
<name>com.xyst.dinas.safe.datamodel.TrainingEducation</name>
<title>培训教育记录</title>
<description>培训教育记录</description>
<define>bcp.type.Class</define>
<define-version>1.0</define-version>
<dependency>javax.persistence.Entity</dependency>
<dependency>com.xyst.dinas.biz.datamodel.xystOrganization</dependency>
<dependency>javax.persistence.Column</dependency>
<dependency>bcp.type.constraint.StringLength</dependency>
<dependency>javax.persistence.ManyToOne</dependency>
<dependency>javax.persistence.Table</dependency>
<dependency>com.beecode.inz.common.datamodel.BaseInfo</dependency>
<dependency>javax.persistence.JoinColumn</dependency>
<dependency>com.beecode.bap.biztrait.datamodel.BasicBillRequirement</dependency>
<dependency>javax.persistence.OneToMany</dependency>
<content>
<m:class>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Entity</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Table</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>xyst_dinas_safe_training_education</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<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>javax.persistence.ManyToOne</m:type>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.JoinColumn</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>regional_company_id</m:value>
</m:property>
<m:property>
<m:key>referencedColumnName</m:key>
<m:value>ID</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>715a6cb7-4ae2-485d-8c70-0b8702b3afe5</m:id>
<m:name>regionalCompany</m:name>
<m:title>区域公司</m:title>
<m:type>com.xyst.dinas.biz.datamodel.xystOrganization</m:type>
<m:description></m:description>
<m:default></m:default>
</m:attribute>
<m:attribute>
<m:annotations>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>education_date</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>8464c1ff-9cc1-471d-9a63-50cb4f748910</m:id>
<m:name>educationDate</m:name>
<m:title>培训日期</m:title>
<m:type>datetime</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:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>training_education_name</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>6fb592f5-89b0-435a-b905-0619011580e5</m:id>
<m:name>trainingEducationName</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>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>participants_count</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>a5288451-8649-4139-816d-8a043c24a1c4</m:id>
<m:name>participantsCount</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:annotation>
<m:type>bcp.type.constraint.StringLength</m:type>
<m:value>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>meeting_place</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>7a1e588c-286e-4dfc-bb4f-fca5a45f39ae</m:id>
<m:name>meetingPlace</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>participants</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>35024ffb-3002-43c4-8a69-4c6bdb194e34</m:id>
<m:name>participants</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>500</m:value>
</m:annotation>
<m:annotation>
<m:type>javax.persistence.Column</m:type>
<m:properties>
<m:property>
<m:key>name</m:key>
<m:value>meeting_content</m:value>
</m:property>
</m:properties>
</m:annotation>
</m:annotations>
<m:id>eece008b-e265-4c70-b24c-75d167c58e92</m:id>
<m:name>meetingContent</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>
<?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>a53c5642-3d85-4fd9-a13a-512975e3dfc0</id>
<name>com.xyst.dinas.safe.query.ProductionLineViolation</name>
<title>生产违规记录</title>
<description>生产违规记录</description>
<define>inz.query.Query</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.ProductionLineViolation</dependency>
<content>
<m:query>
<m:type>com.xyst.dinas.safe.datamodel.ProductionLineViolation</m:type>
<m:dataProcessor></m:dataProcessor>
<m:authorityItem></m:authorityItem>
<m:innerScenes>
<m:innerScene>
<m:id>0c2eeafb-9939-4df9-a04b-2a839b255f74</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>b440289a-6f56-4b5f-b401-fce17dd86176</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>productionLine.id</m:name>
<m:title>生产线id</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.ProductionLine</m:name>
<m:type>一般引用</m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>regionalCompany.id</m:name>
<m:title></m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>regionalCompany.name</m:name>
<m:title></m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>productionLine.name</m:name>
<m:title>生产线名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.ProductionLine</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>violationDate</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>violationDescription</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>processResult</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>del</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:fields>
</m:query>
</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/inz-query">
<specification>1.0</specification>
<id>2cb5cdcc-d8ee-44f3-8cd2-11c2f62bff0a</id>
<name>com.xyst.dinas.safe.query.SafeLog</name>
<title>安全日志</title>
<description>安全日志</description>
<define>inz.query.Query</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.SafeLog</dependency>
<content>
<m:query>
<m:type>com.xyst.dinas.safe.datamodel.SafeLog</m:type>
<m:dataProcessor>com.xyst.dinas.safe.internal.scene.SafeLogStaffNameInfoQueryProcessor</m:dataProcessor>
<m:authorityItem></m:authorityItem>
<m:innerScenes>
<m:innerScene>
<m:id>01c6cee9-ce47-4c46-9ece-f57ea66bc601</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>34921972-7319-482c-b97a-ae13172ce68f</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>regionalCompany.id</m:name>
<m:title></m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>regionalCompany.name</m:name>
<m:title></m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<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>checkDate</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>checkDateWeather</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>checkItem</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>checkContent</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>checkArea</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>checkFindings</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>failureReason</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>applyStatus</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>approvalTime</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>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>del</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:fields>
</m:query>
</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/inz-query">
<specification>1.0</specification>
<id>0591cfad-73f1-4c79-982d-ab584f0600a9</id>
<name>com.xyst.dinas.safe.query.ShipViolation</name>
<title>船舶违规记录</title>
<description>船舶违规记录</description>
<define>inz.query.Query</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.ShipViolation</dependency>
<content>
<m:query>
<m:type>com.xyst.dinas.safe.datamodel.ShipViolation</m:type>
<m:dataProcessor></m:dataProcessor>
<m:authorityItem></m:authorityItem>
<m:innerScenes>
<m:innerScene>
<m:id>32fe0e59-c21e-43a1-9b27-8c66a35303a8</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>a71a929f-a200-41ae-adb6-9c211eed93c1</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>regionalCompany.id</m:name>
<m:title></m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>regionalCompany.name</m:name>
<m:title></m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<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>shipInfo.id</m:name>
<m:title>船只id</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.ShipInfo</m:name>
<m:type>一般引用</m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>shipInfo.shipName</m:name>
<m:title>船只名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.ShipInfo</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>shipInfo.shipCodeNum</m:name>
<m:title>船只编号</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.ShipInfo</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>shipInfo.companyName</m:name>
<m:title>船只所属公司</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.ShipInfo</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>violationDate</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>violationDescription</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>processResult</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>del</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:fields>
</m:query>
</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/inz-query">
<specification>1.0</specification>
<id>df798a17-851b-41ac-80a7-80e999b0d03d</id>
<name>com.xyst.dinas.safe.query.StaffViolation</name>
<title>人员违规记录</title>
<description>人员违规记录</description>
<define>inz.query.Query</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.StaffViolation</dependency>
<content>
<m:query>
<m:type>com.xyst.dinas.safe.datamodel.StaffViolation</m:type>
<m:dataProcessor></m:dataProcessor>
<m:authorityItem></m:authorityItem>
<m:innerScenes>
<m:innerScene>
<m:id>32fe0e59-c21e-43a1-9b27-8c66a35303a8</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>a71a929f-a200-41ae-adb6-9c211eed93c1</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>staff.id</m:name>
<m:title>违规人员id</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.beecode.bap.staff.datamodel.Staff</m:name>
<m:type>一般引用</m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>staff.name</m:name>
<m:title>违规人员名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.beecode.bap.staff.datamodel.Staff</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>staff.department.name</m:name>
<m:title>所属部门名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.beecode.bap.staff.datamodel.Staff</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>staff.department.id</m:name>
<m:title>所属部门id</m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.beecode.bap.staff.datamodel.Staff</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>staff.name</m:name>
<m:title>违规人员名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.beecode.bap.staff.datamodel.Staff</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>staff.name</m:name>
<m:title>违规人员名称</m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.beecode.bap.staff.datamodel.Staff</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>violationDate</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>violationDescription</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>processResult</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>del</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>regionalCompany.id</m:name>
<m:title></m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>regionalCompany.name</m:name>
<m:title></m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</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"?>
<metadata xmlns="http://www.beecode.cn/schema/amino-metadata" xmlns:m="http://www.beecode.cn/schema/inz-query">
<specification>1.0</specification>
<id>9decdc8b-9fd7-49e5-ab8d-1ef1baacd050</id>
<name>com.xyst.dinas.safe.query.TrainingEducation</name>
<title>安全教育培训记录</title>
<description>安全教育培训记录</description>
<define>inz.query.Query</define>
<define-version>1.0</define-version>
<dependency>com.xyst.dinas.safe.datamodel.TrainingEducation</dependency>
<content>
<m:query>
<m:type>com.xyst.dinas.safe.datamodel.TrainingEducation</m:type>
<m:dataProcessor></m:dataProcessor>
<m:authorityItem></m:authorityItem>
<m:innerScenes>
<m:innerScene>
<m:id>b398b85f-9ec7-484f-894b-931171c7070b</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>8af570d5-9f12-43ca-8a60-05e37253f7db</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>educationDate</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>trainingEducationName</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>participantsCount</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>meetingPlace</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>participants</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>meetingContent</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>del</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>regionalCompany.id</m:name>
<m:title></m:title>
<m:type>uuid</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</m:name>
<m:type></m:type>
</m:ref>
<m:desc></m:desc>
</m:field>
<m:field>
<m:name>regionalCompany.name</m:name>
<m:title></m:title>
<m:type>string</m:type>
<m:ref>
<m:name>com.xyst.dinas.biz.datamodel.xystOrganization</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.safe.datamodel.ProductionLineViolation" table="xyst_dinas_safe_production_line_violation" 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"/>
</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"/>
</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"/>
</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"/>
</property>
<property name="discard" type="boolean" not-null="false">
<column name="discard"/>
</property>
<property name="del" type="boolean" not-null="false">
<column name="del"/>
</property>
<property name="approveState" type="integer" not-null="false">
<column name="approve_state"/>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属组织机构</comment>
</column>
</many-to-one>
<property name="violationDate" type="timestamp" not-null="true">
<column name="violation_date">
<comment>违规时间</comment>
</column>
</property>
<many-to-one name="productionLine" entity-name="com.xyst.dinas.biz.datamodel.ProductionLine" fetch="select">
<column name="production_line_id" not-null="false">
<comment>违规生产线</comment>
</column>
</many-to-one>
<property name="violationDescription" type="nstring" not-null="false">
<column name="violation_description" length="1000">
<comment>违规描述</comment>
</column>
</property>
<property name="processResult" type="nstring" not-null="false">
<column name="process_result" length="1000">
<comment>违规处理结果</comment>
</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.safe.datamodel.SafeLog" table="xyst_dinas_safe_safe_log" 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"/>
</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"/>
</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"/>
</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"/>
</property>
<property name="discard" type="boolean" not-null="false">
<column name="discard"/>
</property>
<property name="del" type="boolean" not-null="false">
<column name="del"/>
</property>
<property name="approveState" type="integer" not-null="false">
<column name="approve_state"/>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属组织机构</comment>
</column>
</many-to-one>
<property name="checkDate" type="timestamp" not-null="true">
<column name="check_date">
<comment>检查日期</comment>
</column>
</property>
<property name="checkDateWeather" type="nstring" not-null="false">
<column name="check_date_weather" length="20">
<comment>检查日期天气</comment>
</column>
</property>
<property name="checkArea" type="nstring" not-null="false">
<column name="check_area" length="20">
<comment>检查区域</comment>
</column>
</property>
<property name="checkContent" type="nstring" not-null="false">
<column name="check_content" length="500">
<comment>检查内容</comment>
</column>
</property>
<property name="checkItem" type="nstring" not-null="false">
<column name="check_item" length="500">
<comment>检查项</comment>
</column>
</property>
<property name="checkFindings" type="nstring" not-null="false">
<column name="check_findings" length="500">
<comment>检查结论</comment>
</column>
</property>
<property name="failureReason" type="nstring" not-null="false">
<column name="failure_reason" length="500">
<comment>不通过原因</comment>
</column>
</property>
<many-to-one name="approver" entity-name="com.beecode.bap.staff.datamodel.Staff" fetch="select">
<column name="approver_id" not-null="false">
<comment>审批人</comment>
</column>
</many-to-one>
<property name="applyStatus" type="int" not-null="false">
<column name="apply_status" length="1">
<comment>审批状态</comment>
</column>
</property>
<property name="approvalTime" type="timestamp" not-null="true">
<column name="approval_time">
<comment>审批时间</comment>
</column>
</property>
<bag name="StaffDetails" lazy="true" fetch="select" inverse="true">
<key column="master_id" not-null="true" />
<one-to-many entity-name="com.xyst.dinas.safe.datamodel.SafeLogAssociatedStaffDetail" />
</bag>
</class>
<class entity-name="com.xyst.dinas.safe.datamodel.SafeLogAssociatedStaffDetail" table="xyst_dinas_safe_log_staff_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="staff" entity-name="com.beecode.bap.staff.datamodel.Staff" fetch="select">
<column name="staff_id" not-null="true">
<comment>检查人员</comment>
</column>
</many-to-one>
<many-to-one name="master" entity-name="com.xyst.dinas.safe.datamodel.SafeLog" fetch="select">
<column name="master_id" not-null="true">
<comment>所属的安全日志id</comment>
</column>
</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.safe.datamodel.ShipViolation" table="xyst_dinas_safe_ship_violation" 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"/>
</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"/>
</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"/>
</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"/>
</property>
<property name="discard" type="boolean" not-null="false">
<column name="discard"/>
</property>
<property name="del" type="boolean" not-null="false">
<column name="del"/>
</property>
<property name="approveState" type="integer" not-null="false">
<column name="approve_state"/>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属组织机构</comment>
</column>
</many-to-one>
<property name="violationDate" type="timestamp" not-null="true">
<column name="violation_date">
<comment>违规时间</comment>
</column>
</property>
<many-to-one name="shipInfo" entity-name="com.xyst.dinas.biz.datamodel.ShipInfo" fetch="select">
<column name="ship_info_id" not-null="false">
<comment>违规船只</comment>
</column>
</many-to-one>
<property name="violationDescription" type="nstring" not-null="false">
<column name="violation_description" length="1000">
<comment>违规描述</comment>
</column>
</property>
<property name="processResult" type="nstring" not-null="false">
<column name="process_result" length="1000">
<comment>违规处理结果</comment>
</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.safe.datamodel.StaffViolation" table="xyst_dinas_safe_staff_violation" 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"/>
</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"/>
</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"/>
</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"/>
</property>
<property name="discard" type="boolean" not-null="false">
<column name="discard"/>
</property>
<property name="del" type="boolean" not-null="false">
<column name="del"/>
</property>
<property name="approveState" type="integer" not-null="false">
<column name="approve_state"/>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属组织机构</comment>
</column>
</many-to-one>
<property name="violationDate" type="timestamp" not-null="true">
<column name="violation_date">
<comment>违规时间</comment>
</column>
</property>
<many-to-one name="staff" entity-name="com.beecode.bap.staff.datamodel.Staff" fetch="select">
<column name="staff_id" not-null="false">
<comment>违规人员id</comment>
</column>
</many-to-one>
<property name="violationDescription" type="nstring" not-null="false">
<column name="violation_description" length="1000">
<comment>违规描述</comment>
</column>
</property>
<property name="processResult" type="nstring" not-null="false">
<column name="process_result" length="1000">
<comment>违规处理结果</comment>
</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.safe.datamodel.TrainingEducation" table="xyst_dinas_safe_training_education" 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"/>
</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"/>
</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"/>
</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"/>
</property>
<property name="discard" type="boolean" not-null="false">
<column name="discard"/>
</property>
<property name="del" type="boolean" not-null="false">
<column name="del"/>
</property>
<property name="approveState" type="integer" not-null="false">
<column name="approve_state"/>
</property>
<many-to-one name="regionalCompany" entity-name="com.xyst.dinas.biz.datamodel.xystOrganization" fetch="select">
<column name="regional_company" not-null="false">
<comment>所属组织机构</comment>
</column>
</many-to-one>
<property name="educationDate" type="timestamp" not-null="true">
<column name="education_date">
<comment>培训日期</comment>
</column>
</property>
<property name="trainingEducationName" type="nstring" not-null="false">
<column name="training_education_name" length="1000">
<comment>培训会议名称</comment>
</column>
</property>
<property name="participantsCount" type="int" not-null="false">
<column name="participants_count" length="10">
<comment>参会人数</comment>
</column>
</property>
<property name="meetingPlace" type="nstring" not-null="false">
<column name="meeting_place" length="1000">
<comment>会议地点</comment>
</column>
</property>
<property name="participants" type="nstring" not-null="false">
<column name="participants" length="1000">
<comment>参会人员</comment>
</column>
</property>
<property name="meetingContent" type="nstring" not-null="false">
<column name="meeting_content" length="1000">
<comment>会议内容</comment>
</column>
</property>
</class>
</hibernate-mapping>
\ 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