package com.stylefeng.guns.modular.system.dto;
|
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* 上报考评系统驾驶员数据
|
*
|
* @author Lux
|
* @version 1.0.0
|
* @since 2026/6/5 11:32
|
*/
|
@Data
|
public class PushEvaluationDriverDTO {
|
|
private Long driverId;
|
private String driverName;
|
private String driverPhone;
|
private String driverIdCard;
|
private LocalDateTime driverCreateTime;
|
|
public PushEvaluationDriverRequestDTO convert() {
|
PushEvaluationDriverRequestDTO driverRequestDTO = new PushEvaluationDriverRequestDTO();
|
driverRequestDTO.setId(this.getDriverId());
|
driverRequestDTO.setName(this.getDriverName());
|
driverRequestDTO.setPhone(this.getDriverPhone());
|
driverRequestDTO.setIdCard(this.getDriverIdCard());
|
driverRequestDTO.setCreateTime(this.getDriverCreateTime());
|
return driverRequestDTO;
|
}
|
}
|