1 package booking.view.calendar; 2 3 import java.util.Date; 4 5 /** 6 * 7 * Class mapped with the UI Calendar component see references at web site 8 * 9 * http://fullcalendar.io/docs/event_data/Event_Object/ 10 * 11 * 12 * 13 * @author dpuigdomenec 14 * 15 */ 16 public class EventTO { 17 18 // Definition attributes 19 long id; 20 String title; 21 Date startDate; 22 Date endDate; 23 24 // Only the owner or and administrator could edit 25 Boolean editable; 26 27 // View attributes 28 String className; 29 String color; 30 String backgroundColor; 31 String borderColor; 32 String textColor; 33 34 long owner; 35 36 // // Reservada 37 // color: #a94442 38 // background : #f2dede 39 // 40 // // no completa 41 // color: #8a6d3b 42 // background: #fcf8e3 43 // 44 // // free: #dff0d8 45 46 }