mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-23 11:20:57 +00:00
38 lines
598 B
Text
38 lines
598 B
Text
|
{
|
||
|
attributes = (
|
||
|
{
|
||
|
columnName = NAME;
|
||
|
name = name;
|
||
|
prototypeName = char;
|
||
|
},
|
||
|
{
|
||
|
columnName = PID;
|
||
|
name = pid;
|
||
|
prototypeName = integer;
|
||
|
}
|
||
|
);
|
||
|
className = EOGenericRecord;
|
||
|
classProperties = (
|
||
|
name,
|
||
|
products
|
||
|
);
|
||
|
externalName = TST_PRODUCTGROUP;
|
||
|
name = ProductGroup;
|
||
|
primaryKeyAttributes = (
|
||
|
pid
|
||
|
);
|
||
|
relationships = (
|
||
|
{
|
||
|
destination = Product;
|
||
|
isToMany = Y;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = grpid;
|
||
|
sourceAttribute = pid;
|
||
|
}
|
||
|
);
|
||
|
name = products;
|
||
|
}
|
||
|
);
|
||
|
}
|