5 changed files with 135 additions and 10 deletions
@ -0,0 +1,29 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.time.LocalDate; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/23 10:42 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AppointmentRecordFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2021698309505676292L; |
||||
|
|
||||
|
public interface AppointmentRecordForm{} |
||||
|
|
||||
|
@NotBlank(message = "matterId不能为空",groups = AppointmentRecordForm.class) |
||||
|
private String matterId; |
||||
|
|
||||
|
private String date; |
||||
|
|
||||
|
public AppointmentRecordFormDTO() { |
||||
|
this.date = LocalDate.now().toString(); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,44 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/11/23 10:45 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AppointmentRecordResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 6066514365788141940L; |
||||
|
|
||||
|
private Integer sort; |
||||
|
|
||||
|
/** |
||||
|
* 事项名 |
||||
|
*/ |
||||
|
private String matterName; |
||||
|
|
||||
|
/** |
||||
|
* 预约人 |
||||
|
*/ |
||||
|
private String appointmentName; |
||||
|
|
||||
|
/** |
||||
|
* 预约电话 |
||||
|
*/ |
||||
|
private String appointmentPhone; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String remark; |
||||
|
|
||||
|
/** |
||||
|
* 预约时间 |
||||
|
*/ |
||||
|
private List<String> appointmentTime; |
||||
|
} |
||||
Loading…
Reference in new issue