Adds Order and Dates fields
FEA: ItEr77S05BasicProjectImport
This commit is contained in:
parent
5e9bc15e19
commit
7bfb52a3ca
2 changed files with 31 additions and 0 deletions
|
|
@ -19,8 +19,11 @@
|
|||
|
||||
package org.libreplan.importers;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.libreplan.business.orders.entities.Order;
|
||||
|
||||
/**
|
||||
* Class that represents no persistent imported data.
|
||||
*
|
||||
|
|
@ -35,6 +38,16 @@ public class OrderDTO {
|
|||
*/
|
||||
public String name;
|
||||
|
||||
/**
|
||||
* Start date of the project
|
||||
*/
|
||||
public Date startDate;
|
||||
|
||||
/**
|
||||
* Order created with this data
|
||||
*/
|
||||
public Order order;
|
||||
|
||||
/**
|
||||
* List of {@link OrderElementDTO} of the project that is going to be imported.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -19,8 +19,11 @@
|
|||
|
||||
package org.libreplan.importers;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.libreplan.business.orders.entities.OrderElement;
|
||||
|
||||
/**
|
||||
* Class that represents no persistent imported tasks. <br />
|
||||
*
|
||||
|
|
@ -36,6 +39,21 @@ public class OrderElementDTO {
|
|||
*/
|
||||
public String name;
|
||||
|
||||
/**
|
||||
* Start date of the task
|
||||
*/
|
||||
public Date startDate;
|
||||
|
||||
/**
|
||||
* end date of the task
|
||||
*/
|
||||
public Date endDate;
|
||||
|
||||
/**
|
||||
* Order created with this data
|
||||
*/
|
||||
public OrderElement orderElement;
|
||||
|
||||
/**
|
||||
* List of task that are children of this task
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue