mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-05-30 17:01:05 +00:00
51 lines
826 B
Text
51 lines
826 B
Text
|
{
|
||
|
attributes = (
|
||
|
{
|
||
|
columnName = NAME;
|
||
|
name = name;
|
||
|
prototypeName = char;
|
||
|
},
|
||
|
{
|
||
|
columnName = PID;
|
||
|
name = pid;
|
||
|
prototypeName = integer;
|
||
|
}
|
||
|
);
|
||
|
className = EOGenericRecord;
|
||
|
classProperties = (
|
||
|
customers,
|
||
|
name,
|
||
|
priceList
|
||
|
);
|
||
|
externalName = TST_CUSTOMERGROUP;
|
||
|
name = CustomerGroup;
|
||
|
primaryKeyAttributes = (
|
||
|
pid
|
||
|
);
|
||
|
relationships = (
|
||
|
{
|
||
|
destination = Customer;
|
||
|
isToMany = Y;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = grpid;
|
||
|
sourceAttribute = pid;
|
||
|
}
|
||
|
);
|
||
|
name = customers;
|
||
|
},
|
||
|
{
|
||
|
destination = PriceList;
|
||
|
isToMany = Y;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = cstgrpid;
|
||
|
sourceAttribute = pid;
|
||
|
}
|
||
|
);
|
||
|
name = priceList;
|
||
|
}
|
||
|
);
|
||
|
}
|