package com.aviras.mrassistant.models;

import java.util.ArrayList;
import java.util.List;

import io.realm.annotations.PrimaryKey;

/**
 * Represent order
 * <p/>
 * Created by ashish on 8/6/16.
 */
public class Order {

    @PrimaryKey
    private int id;

    private Doctor doctor;

    private List<Medicine> medicines = new ArrayList<>();

    private long createdDate;
    private long expectedDeliveryDate;
    private long actualDeliveryDate;
}

@@ -301,26 +301,23 @@
 ist%3C
-Medicine%3E medicine
+OrderItem%3E item
 s = 
@@ -401,24 +401,24 @@
 liveryDate;%0A
-
     private 
@@ -441,11 +441,1019 @@
 eryDate;
+%0A%0A    public int getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(int id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public Doctor getDoctor() %7B%0A        return doctor;%0A    %7D%0A%0A    public void setDoctor(Doctor doctor) %7B%0A        this.doctor = doctor;%0A    %7D%0A%0A    public List%3COrderItem%3E getItems() %7B%0A        return items;%0A    %7D%0A%0A    public void setItems(List%3COrderItem%3E items) %7B%0A        this.items = items;%0A    %7D%0A%0A    public long getCreatedDate() %7B%0A        return createdDate;%0A    %7D%0A%0A    public void setCreatedDate(long createdDate) %7B%0A        this.createdDate = createdDate;%0A    %7D%0A%0A    public long getExpectedDeliveryDate() %7B%0A        return expectedDeliveryDate;%0A    %7D%0A%0A    public void setExpectedDeliveryDate(long expectedDeliveryDate) %7B%0A        this.expectedDeliveryDate = expectedDeliveryDate;%0A    %7D%0A%0A    public long getActualDeliveryDate() %7B%0A        return actualDeliveryDate;%0A    %7D%0A%0A    public void setActualDeliveryDate(long actualDeliveryDate) %7B%0A        this.actualDeliveryDate = actualDeliveryDate;%0A    %7D
 %0A%7D%0A

Correct the definition of order