Created
September 20, 2013 06:23
-
-
Save ksiwonia/6633966 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
*************************************************************************** | |
Copyright (c) 2010 Qcadoo Limited | |
Project: Qcadoo Framework | |
Version: 1.2.1 | |
This file is part of Qcadoo. | |
Qcadoo is free software; you can redistribute it and/or modify | |
it under the terms of the GNU Affero General Public License as published | |
by the Free Software Foundation; either version 3 of the License, | |
or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty | |
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
See the GNU Affero General Public License for more details. | |
You should have received a copy of the GNU Affero General Public License | |
along with this program; if not, write to the Free Software | |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
*************************************************************************** | |
--> | |
<model name="extrusionProtocol" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schema.qcadoo.org/model" | |
xsi:schemaLocation="http://schema.qcadoo.org/model http://schema.qcadoo.org/model.xsd"> | |
<fields> | |
<string name="protocolNumber"> | |
<validatesLength max="1024" /> | |
</string> | |
<date name="generationDate"/> | |
<enum values="01draft,02approved,03refused" | |
name="state" default="01draft" /> | |
<belongsTo name="extrusionContext" model="extrusionContext" /> | |
<belongsTo name="order" model="order" plugin="orders"/> | |
<belongsTo name="productionLine" plugin="productionLines" | |
model="productionLine" required="true" /> | |
<date name="dayOfShiftStart"/> | |
<string name="shiftNumber" persistent="false" > | |
<validatesLength max="1024" /> | |
</string> | |
<dictionary name="placeName" dictionary="productionLinePlaces" persistent="false" /> | |
<string name="productionLineNumber" persistent="false" > | |
<validatesLength max="1024" /> | |
</string> | |
<string name="operator" persistent="false" > | |
<validatesLength max="1024" /> | |
</string> | |
<string name="toProduce" persistent="false" /> | |
<string name="changeover" persistent="false" /> | |
<string name="commencement" persistent="false" /> | |
<string name="completion" persistent="false" /> | |
<string name="numberOfAvailable" persistent="false" /> | |
<string name="orderNumber" persistent="false" /> | |
<string name="producktNameAdnNumber" persistent="false" /> | |
<string name="mixProduct" persistent="false" /> | |
</fields> | |
<hooks> | |
</hooks> | |
<identifier expression="#protocolNumber" /> | |
</model> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment