13 changed files with 363 additions and 40 deletions
@ -0,0 +1,21 @@ |
|||
package com.epmet.dto.form.demand; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 需求大厅-我要接单 |
|||
*/ |
|||
@Data |
|||
public class TakeOrderFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -2030750128789890382L; |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
@NotBlank(message = "demandRecId不能为空", groups = AddUserInternalGroup.class) |
|||
private String demandRecId; |
|||
|
|||
@NotBlank(message = "tokenDto获取userId不能为空", groups = AddUserInternalGroup.class) |
|||
private String userId; |
|||
} |
@ -0,0 +1,100 @@ |
|||
package com.epmet.dto.result.demand; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 需求大厅-需求详情 |
|||
*/ |
|||
@Data |
|||
public class DemandDetailResDTO implements Serializable { |
|||
|
|||
private String demandRecId; |
|||
@JsonIgnore |
|||
private String categoryCode; |
|||
@JsonIgnore |
|||
private String parentCode; |
|||
/** |
|||
* 二级分类名称 |
|||
*/ |
|||
private String categoryName; |
|||
|
|||
/** |
|||
* 奖励积分 |
|||
*/ |
|||
private Integer awardPoint; |
|||
|
|||
/** |
|||
* 需求内容 |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 服务要求-服务时间:yyyy-MM-dd HH:mm |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date wantServiceTime; |
|||
|
|||
/** |
|||
* 服务要求-联系人(需求人)名称 |
|||
*/ |
|||
private String demandUserName; |
|||
|
|||
/** |
|||
* 服务要求-联系人(需求人)电话 |
|||
*/ |
|||
private String demandUserMobile; |
|||
|
|||
/** |
|||
* 服务地点 |
|||
*/ |
|||
private String serviceAddress; |
|||
|
|||
/** |
|||
* 实际服务开始时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date serviceStartTime; |
|||
|
|||
/** |
|||
* 实际服务结束时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date serviceEndTime; |
|||
|
|||
/** |
|||
* 得分可为半星 |
|||
*/ |
|||
private BigDecimal score; |
|||
|
|||
/** |
|||
* 完成结果:已解决 resolved,未解决 unresolved |
|||
|
|||
*/ |
|||
private String finishResult; |
|||
|
|||
/** |
|||
* 完成情况 |
|||
*/ |
|||
private String finishDesc; |
|||
|
|||
/** |
|||
* 待处理:pending;已取消canceled;已派单:assigned;已接单:have_order;已完成:finished |
|||
*/ |
|||
private String status; |
|||
|
|||
/** |
|||
* 1:已评价;0:未评价;评价后ic_user_satisfaction表有记录 |
|||
*/ |
|||
private Boolean evaluateFlag; |
|||
|
|||
/** |
|||
* 服务记录主键 |
|||
*/ |
|||
private String serviceId; |
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.epmet.dto.result.demand; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 需求大厅-我要接单 |
|||
*/ |
|||
@Data |
|||
public class TakeOrderResultDTO implements Serializable { |
|||
private static final long serialVersionUID = -4390598017224563310L; |
|||
private Boolean isVolunteer; |
|||
private String serviceId; |
|||
} |
Loading…
Reference in new issue