mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-05-31 01:11:16 +00:00
58 lines
984 B
Text
58 lines
984 B
Text
|
{
|
||
|
attributes = (
|
||
|
{
|
||
|
columnName = CSTGRPID;
|
||
|
externalType = integer;
|
||
|
name = cstgrpid;
|
||
|
valueClassName = NSNumber;
|
||
|
},
|
||
|
{
|
||
|
columnName = NAME;
|
||
|
externalType = char;
|
||
|
name = name;
|
||
|
prototypeName = char;
|
||
|
},
|
||
|
{
|
||
|
columnName = PID;
|
||
|
name = pid;
|
||
|
prototypeName = integer;
|
||
|
}
|
||
|
);
|
||
|
className = EOGenericRecord;
|
||
|
classProperties = (
|
||
|
customerGroup,
|
||
|
name,
|
||
|
priceListPos
|
||
|
);
|
||
|
externalName = TST_PRICELIST;
|
||
|
name = PriceList;
|
||
|
primaryKeyAttributes = (
|
||
|
pid
|
||
|
);
|
||
|
relationships = (
|
||
|
{
|
||
|
destination = CustomerGroup;
|
||
|
isToMany = N;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = pid;
|
||
|
sourceAttribute = cstgrpid;
|
||
|
}
|
||
|
);
|
||
|
name = customerGroup;
|
||
|
},
|
||
|
{
|
||
|
destination = PriceListPos;
|
||
|
isToMany = Y;
|
||
|
joinSemantic = EOInnerJoin;
|
||
|
joins = (
|
||
|
{
|
||
|
destinationAttribute = prlid;
|
||
|
sourceAttribute = pid;
|
||
|
}
|
||
|
);
|
||
|
name = priceListPos;
|
||
|
}
|
||
|
);
|
||
|
}
|