package com.mackemlad.sizing.client.data;

import com.smartgwt.client.widgets.grid.ListGridRecord;  

import java.util.Date;  
  
public class OrderRecord extends ListGridRecord {  
  
    public OrderRecord(int ri, int orderNumber, float itemsCost, float itemsRetail, float marginPercent) {  
        setRi(ri);  
        setOrderNumber(orderNumber);  
        setItemsCost(itemsCost);  
        setItemsRetail(itemsRetail);  
        setMarginPercent(marginPercent);  
    }  
  
    public int getRi() {  
        return getAttributeAsInt("ri");  
    }  
  
    public void setRi(int ri) {  
        setAttribute("ri", ri);  
    }  
  
    public int getOrderNumber() {  
        return getAttributeAsInt("orderNumber");  
    }  
  
    public void setOrderNumber(int orderNumber) {  
        setAttribute("orderNumber", orderNumber);  
    }  
  
    public float getItemsCost() {  
        return getAttributeAsFloat("itemsCost");  
    }  
  
    public void setItemsCost(float itemsCost) {  
        setAttribute("itemsCost", itemsCost);  
    }  
  
    public float getItemsRetail() {  
        return getAttributeAsFloat("itemsRetail");  
    }  
  
    public void setItemsRetail(float itemsRetail) {  
        setAttribute("itemsRetail", itemsRetail);  
    }  
  
    public Date getShipDate() {  
        return getAttributeAsDate("shipDate");  
    }  
  
    public float getMarginPercent() {  
        return getAttributeAsFloat("marginPercent");  
    }  
  
    public void setMarginPercent(float marginPercent) {  
        setAttribute("marginPercent", marginPercent);  
    }  
}  
