<AccVO>
package com.smhrd.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccVO {
private String mem_name;
private String mem_id;
private String mem_phone;
private String mem_subphone;
private String mem_blood;
private int use_number;
private String acc_loc_lat;
private String acc_loc_long;
public AccVO(int use_number, String acc_loc_lat, String acc_loc_long) {
this.use_number = use_number;
this.acc_loc_lat = acc_loc_lat;
this.acc_loc_long = acc_loc_long;
}
}
<HelmetVO>
package com.smhrd.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HelmetVO {
private String hel_number;
private String hel_lost;
private String hel_damage;
private String hel_check;
private String hel_loc_lat;
private String hel_loc_long;
public HelmetVO(String hel_number, String hel_loc_lat, String hel_loc_long) {
this.hel_number = hel_number;
this.hel_loc_lat = hel_loc_lat;
this.hel_loc_long = hel_loc_long;
}
}
<LocationVO>
package com.smhrd.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LocationVO {
private int use_number;
private int kick_using;
private String kick_number;
private String hel_number;
private String mem_id;
private String start_loc_lat;
private String start_loc_long;
private String end_loc_lat;
private String end_loc_long;
private String start_time;
private String end_time;
}
<Member>
package com.smhrd.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
@RequiredArgsConstructor
public class Member {
private int mem_num;
@NonNull private String mem_id;
@NonNull private String mem_pw;
private String mem_name;
private String mem_gender;
private String mem_blood;
private String mem_phone;
private String mem_subphone;
private String mem_birth;
private String drivenum;
}
<moduleVO>
package com.smhrd.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
public class moduleVO {
String hel_number;
String gps_lat;
String gps_long;
int motor;
int shock;
public moduleVO(String hel_number,String gps_lat, String gps_long) {
super();
this.hel_number = hel_number;
this.gps_lat = gps_lat;
this.gps_long = gps_long;
}
public moduleVO(int motor) {
super();
this.motor = motor;
}
}
<UloactionVO>
package com.smhrd.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UlocationVO {
private String mem_id;
private int kick_using;
private String hel_number;
private String hel_loc_lat;
private String hel_loc_long;
}
<UseVO>
package com.smhrd.domain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UseVO {
private int use_number;
private int kick_using;
private String kick_number;
private String hel_number;
private String mem_id;
private String start_time;
private String start_loc_lat;
private String start_loc_long;
private String end_loc_lat;
private String end_loc_long;
private String end_time;
private String using_time;
public UseVO(String kick_number, String hel_number, String mem_id, String start_loc_lat, String start_loc_long) {
this.kick_number = kick_number;
this.hel_number = hel_number;
this.mem_id = mem_id;
this.start_loc_lat = start_loc_lat;
this.start_loc_long = start_loc_long;
}
public UseVO(int use_number, String end_loc_lat, String end_loc_long) {
this.use_number = use_number;
this.end_loc_lat = end_loc_lat;
this.end_loc_long = end_loc_long;
}
public UseVO(String mem_id, int use_number, int kick_using, String kick_number, String hel_number, String start_time,
String end_time, String using_time) {
this.mem_id = mem_id;
this.use_number = use_number;
this.kick_using = kick_using;
this.kick_number = kick_number;
this.hel_number = hel_number;
this.start_time = start_time;
this.end_time = end_time;
this.using_time = using_time;
}
}
'2차 프로젝트' 카테고리의 다른 글
아두이노 Module 코드 (0) | 2022.07.22 |
---|---|
FrontController 코드 (0) | 2022.07.22 |
DAO 코드 (0) | 2022.07.22 |
Controller 코드 (0) | 2022.07.22 |
프로젝트 산출문서 (0) | 2022.07.22 |