vip.model.ts 601 Bytes
import {VipProduct} from "./vip-product.model";
import {User} from "./user.model";
/**
 * Created by tuukka on 04/02/17.
 */


export class Vip {


  /*

   public Integer id;
   public String description;
   public String shortdescr;
   public Date created;
   public Integer eventuserId;
   public Integer creatorId;
   public Integer hostId;
   public List<VipProductPojo> products = new ArrayList<>();
   */

  id: number;
  description: string;
  shortdescr: string;
  created: Date;
  eventuserId: number;
  creatorId: number;
  host: User;

  products: VipProduct[];


  constructor() {
  }

}