forked from rongchao/epmet-cloud-rizhao
10 changed files with 352 additions and 10 deletions
@ -0,0 +1,41 @@ |
|||||
|
package com.epmet.dto; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/22 2:41 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class MatterListDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 493404409015559029L; |
||||
|
|
||||
|
private Integer sort; |
||||
|
|
||||
|
/** |
||||
|
* 事项名 |
||||
|
*/ |
||||
|
private String matterName; |
||||
|
|
||||
|
/** |
||||
|
* 事项ID |
||||
|
*/ |
||||
|
private String matterId; |
||||
|
|
||||
|
/** |
||||
|
* 可预约时间 |
||||
|
*/ |
||||
|
private String allowTime; |
||||
|
|
||||
|
public MatterListDTO() { |
||||
|
this.sort = NumConstant.ZERO; |
||||
|
this.matterName = ""; |
||||
|
this.matterId = ""; |
||||
|
this.allowTime = ""; |
||||
|
} |
||||
|
} |
@ -0,0 +1,54 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/22 2:00 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AppointmentFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -7113952715343314153L; |
||||
|
|
||||
|
public interface AppointmentForm{} |
||||
|
|
||||
|
/** |
||||
|
* 事项ID |
||||
|
*/ |
||||
|
@NotBlank(message = "matterId不能为空",groups = AppointmentForm.class) |
||||
|
private String matterId; |
||||
|
|
||||
|
/** |
||||
|
* 预约日期 |
||||
|
*/ |
||||
|
@NotBlank(message = "appointmentDate不能为空",groups = AppointmentForm.class) |
||||
|
private String appointmentDate; |
||||
|
|
||||
|
/** |
||||
|
* 预约编号 |
||||
|
*/ |
||||
|
@NotBlank(message = "timeId不能为空",groups = AppointmentForm.class) |
||||
|
private String timeId; |
||||
|
|
||||
|
/** |
||||
|
* 预约人 |
||||
|
*/ |
||||
|
@NotBlank(message = "appointmentName不能为空",groups = AppointmentForm.class) |
||||
|
private String appointmentName; |
||||
|
|
||||
|
/** |
||||
|
* 预约电话 |
||||
|
*/ |
||||
|
@NotBlank(message = "appointmentPhone不能为空",groups = AppointmentForm.class) |
||||
|
private String appointmentPhone; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String remark; |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/22 2:37 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PartyServiceCenterListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -6620725991593811931L; |
||||
|
|
||||
|
private String orgId; |
||||
|
|
||||
|
private String orgType; |
||||
|
} |
@ -0,0 +1,73 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.dto.MatterListDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/22 2:38 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PartyServiceCenterListResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -5977663317819468536L; |
||||
|
|
||||
|
/** |
||||
|
* 中心名称 |
||||
|
*/ |
||||
|
private String centerName; |
||||
|
|
||||
|
/** |
||||
|
* 党群服务中心ID |
||||
|
*/ |
||||
|
private String partyServiceCenterId; |
||||
|
|
||||
|
/** |
||||
|
* 社区地址 |
||||
|
*/ |
||||
|
private String address; |
||||
|
|
||||
|
/** |
||||
|
* 办公电话 |
||||
|
*/ |
||||
|
private String workPhone; |
||||
|
|
||||
|
/** |
||||
|
* 上午工作时间 |
||||
|
*/ |
||||
|
private String amWorkTime; |
||||
|
|
||||
|
/** |
||||
|
* 下午工作时间 |
||||
|
*/ |
||||
|
private String pmWorkTime; |
||||
|
|
||||
|
/** |
||||
|
* 经度 |
||||
|
*/ |
||||
|
private String longitude; |
||||
|
|
||||
|
/** |
||||
|
* 纬度 |
||||
|
*/ |
||||
|
private String latitude; |
||||
|
|
||||
|
private List<MatterListDTO> matterList; |
||||
|
|
||||
|
public PartyServiceCenterListResultDTO() { |
||||
|
this.centerName = ""; |
||||
|
this.partyServiceCenterId = ""; |
||||
|
this.address = ""; |
||||
|
this.workPhone = ""; |
||||
|
this.amWorkTime = ""; |
||||
|
this.pmWorkTime = ""; |
||||
|
this.longitude = ""; |
||||
|
this.latitude = ""; |
||||
|
this.matterList = new ArrayList<>(); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue