mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-22 10:51:04 +00:00
57 lines
918 B
Text
57 lines
918 B
Text
|
{
|
||
|
attributes = (
|
||
|
{
|
||
|
allowsNull = Y;
|
||
|
columnName = GRPID;
|
||
|
name = grpid;
|
||
|
prototypeName = integer;
|
||
|
},
|
||
|
{
|
||
|
columnName = NAME;
|
||
|
name = name;
|
||
|
prototypeName = char;
|
||
|
},
|
||
|
{
|
||
|
columnName = PID;
|
||
|
name = pid;
|
||
|
prototypeName = integer;
|
||
|
}
|
||
|
);
|
||
|
className = EOGenericRecord;
|
||
|
classProperties = (
|
||
|
customerGroup,
|
||
|
name,
|
||
|
orders
|
||
|
);
|
||
|
externalName = TST_CUSTOMER;
|
||
|
name = Customer;
|
||
|
primaryKeyAttributes = (
|
||
|
pid
|
||
|
);
|
||
|
relationships = (
|
||
|
{
|
||
|
destination = CustomerGroup;
|
||
|
isToMany = N;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = pid;
|
||
|
sourceAttribute = grpid;
|
||
|
}
|
||
|
);
|
||
|
name = customerGroup;
|
||
|
},
|
||
|
{
|
||
|
destination = Order;
|
||
|
isToMany = Y;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = cstid;
|
||
|
sourceAttribute = pid;
|
||
|
}
|
||
|
);
|
||
|
name = orders;
|
||
|
}
|
||
|
);
|
||
|
}
|