mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-05-13 13:20:50 +00:00
81 lines
1.3 KiB
Text
81 lines
1.3 KiB
Text
|
{
|
||
|
attributes = (
|
||
|
{
|
||
|
columnName = ORDID;
|
||
|
name = ordid;
|
||
|
prototypeName = integer;
|
||
|
},
|
||
|
{
|
||
|
columnName = PID;
|
||
|
name = pid;
|
||
|
prototypeName = integer;
|
||
|
},
|
||
|
{
|
||
|
columnName = POSNR;
|
||
|
name = posnr;
|
||
|
prototypeName = integer;
|
||
|
},
|
||
|
{
|
||
|
columnName = PRDID;
|
||
|
name = prdid;
|
||
|
prototypeName = integer;
|
||
|
},
|
||
|
{
|
||
|
columnName = PRICE;
|
||
|
name = price;
|
||
|
prototypeName = decimal;
|
||
|
},
|
||
|
{
|
||
|
columnName = QUANTITY;
|
||
|
name = quantity;
|
||
|
prototypeName = decimal;
|
||
|
},
|
||
|
{
|
||
|
columnName = VALUE;
|
||
|
name = value;
|
||
|
prototypeName = decimal;
|
||
|
}
|
||
|
);
|
||
|
className = EOGenericRecord;
|
||
|
classProperties = (
|
||
|
order,
|
||
|
posnr,
|
||
|
price,
|
||
|
product,
|
||
|
quantity,
|
||
|
value
|
||
|
);
|
||
|
externalName = TST_ORDERPOS;
|
||
|
name = OrderPos;
|
||
|
primaryKeyAttributes = (
|
||
|
pid
|
||
|
);
|
||
|
relationships = (
|
||
|
{
|
||
|
destination = Product;
|
||
|
isMandatory = Y;
|
||
|
isToMany = N;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = pid;
|
||
|
sourceAttribute = prdid;
|
||
|
}
|
||
|
);
|
||
|
name = product;
|
||
|
},
|
||
|
{
|
||
|
destination = Order;
|
||
|
isMandatory = Y;
|
||
|
isToMany = N;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = pid;
|
||
|
sourceAttribute = ordid;
|
||
|
}
|
||
|
);
|
||
|
name = order;
|
||
|
}
|
||
|
);
|
||
|
}
|