parent
5fd443017d
commit
96aeeb53eb
@ -0,0 +1,38 @@
|
||||
package com.internal.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class DriverUser {
|
||||
|
||||
private Integer id;
|
||||
private String address;
|
||||
private String driverName;
|
||||
private String driverPhone;
|
||||
private Integer driverGender;
|
||||
private Date driverBrithday;
|
||||
private String driverNation;
|
||||
private String driverContactAddress;
|
||||
private String licenseId;
|
||||
private Date getDriverLicenseDate;
|
||||
private Date driverLicenseOn;
|
||||
private Date driverLicenseOff;
|
||||
private Integer taxiDriver;
|
||||
private String certificateNo;
|
||||
private String networkCarIssueOrganization;
|
||||
private Date networkCarIssueDate;
|
||||
private Date getNetworkCarProofDate;
|
||||
private Date networkCarProofOn;
|
||||
private Date networkCarProofOff;
|
||||
private Date registerDate;
|
||||
private Integer commercialType;
|
||||
private String contractCompany;
|
||||
private Date contractOn;
|
||||
private Date contractOff;
|
||||
private Integer state;
|
||||
private Date gmtCreate;
|
||||
private Date gmtModified;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.taxi.servicedriveruser.controller;
|
||||
|
||||
import com.taxi.servicedriveruser.service.DriverUserService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class DriverUserController {
|
||||
|
||||
@Autowired
|
||||
private DriverUserService driverUserService;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.taxi.servicedriveruser.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.internal.dto.DriverUser;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface DriverUserMapper extends BaseMapper<DriverUser> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.taxi.servicedriveruser.service;
|
||||
|
||||
import com.taxi.servicedriveruser.mapper.DriverUserMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class DriverUserService {
|
||||
|
||||
@Autowired
|
||||
private DriverUserMapper driverUserMapper;
|
||||
|
||||
|
||||
}
|
Loading…
Reference in new issue