(&self)
| 48 | type EntityName = Entity; |
| 49 | |
| 50 | fn def(&self) -> ColumnDef { |
| 51 | match self { |
| 52 | Self::CakeId => ColumnType::Integer.def(), |
| 53 | Self::FillingId => ColumnType::Integer.def(), |
| 54 | Self::Price => ColumnType::Decimal(None).def(), |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | impl RelationTrait for Relation { |