Entity
export class Customer {
constructor(
public readonly orders: Order[],
public readonly address: Address,
public readonly loyaltyPoints: number) {}
}Creating new entity
Using CLI Command with options
soap new entity -n "Customer" -e "shop" -p "orders:Array<Entity<Order>>, address:Entity<Address>, loyaltyPoints:number" -w -fUsing Interactive Form
Using JSON Configuration
File Structure
Last updated