Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
39790fd50b
@ -0,0 +1,10 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.model;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class GanttDragModel {
|
||||||
|
private Long workId;
|
||||||
|
private Long resId;
|
||||||
|
private Long targetWorkId;
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.aps.converter.CustomDateDeserializer;
|
||||||
|
import cn.estsh.i3plus.pojo.aps.converter.CustomDateSerializer;
|
||||||
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 甘特图分页查询参数
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jason.niu
|
||||||
|
* @CreateDate : 2019-11-22
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api("甘特图分页查询参数")
|
||||||
|
public class GanttEventRequest {
|
||||||
|
private Long[] resourceIds;
|
||||||
|
@JsonSerialize(using = CustomDateSerializer.class)
|
||||||
|
@JsonDeserialize(using = CustomDateDeserializer.class)
|
||||||
|
private Date begin;
|
||||||
|
@JsonSerialize(using = CustomDateSerializer.class)
|
||||||
|
@JsonDeserialize(using = CustomDateDeserializer.class)
|
||||||
|
private Date end;
|
||||||
|
}
|
@ -0,0 +1,27 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.aps.converter.CustomDateDeserializer;
|
||||||
|
import cn.estsh.i3plus.pojo.aps.converter.CustomDateSerializer;
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class GanttPlanModel {
|
||||||
|
private Long resourceId;
|
||||||
|
@JsonSerialize(using = CustomDateSerializer.class)
|
||||||
|
@JsonDeserialize(using = CustomDateDeserializer.class)
|
||||||
|
private Date startDate;
|
||||||
|
@JsonSerialize(using = CustomDateSerializer.class)
|
||||||
|
@JsonDeserialize(using = CustomDateDeserializer.class)
|
||||||
|
private Date endDate;
|
||||||
|
private String cls;
|
||||||
|
//private String timeRangeColor;
|
||||||
|
private String eventColor;
|
||||||
|
private String name;
|
||||||
|
private Long workId;
|
||||||
|
private List<Long> resIds;
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.annotation;
|
||||||
|
|
||||||
|
|
||||||
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: Wynne.Lu
|
||||||
|
* @CreateDate: 2019/12/25 1:45 下午
|
||||||
|
* @Description:
|
||||||
|
**/
|
||||||
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
|
@Target({ElementType.TYPE})
|
||||||
|
@Documented
|
||||||
|
public @interface UseMongoDb {
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
//package cn.estsh.i3plus.pojo.mes.repositorymongo;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//import cn.estsh.i3plus.pojo.base.jpa.dao.BaseMongoRepository;
|
||||||
|
//import cn.estsh.i3plus.pojo.mes.bean.MesProductData;
|
||||||
|
//import org.springframework.stereotype.Repository;
|
||||||
|
//
|
||||||
|
///**
|
||||||
|
// * @Author: Wynne.Lu
|
||||||
|
// * @CreateDate: 2019/12/25 1:30 下午
|
||||||
|
// * @Description:
|
||||||
|
// **/
|
||||||
|
//@Repository
|
||||||
|
//public interface MesProductDataRepository extends BaseMongoRepository<MesProductData, Long> {
|
||||||
|
//}
|
Loading…
Reference in New Issue