新增VO
parent
44ae184388
commit
f9d6949bb6
|
@ -0,0 +1,33 @@
|
||||||
|
package com.bwie.common.pojo.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class VOLogMake {
|
||||||
|
|
||||||
|
/*
|
||||||
|
车牌号
|
||||||
|
*/
|
||||||
|
private String carNum;
|
||||||
|
|
||||||
|
/*
|
||||||
|
预约时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||||
|
private Date makeTime;
|
||||||
|
|
||||||
|
/*
|
||||||
|
用户id
|
||||||
|
*/
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
package com.bwie.common.pojo.vo;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class VOStop {
|
||||||
|
|
||||||
|
/*
|
||||||
|
车牌号
|
||||||
|
*/
|
||||||
|
private String carNum;
|
||||||
|
/*
|
||||||
|
停车应支付费用
|
||||||
|
*/
|
||||||
|
private Integer stopPrice;
|
||||||
|
/*
|
||||||
|
停车支付金额
|
||||||
|
*/
|
||||||
|
private Integer stopPay;
|
||||||
|
|
||||||
|
public VOStop(String carNum, Integer stopPrice) {
|
||||||
|
this.carNum = carNum;
|
||||||
|
this.stopPrice = stopPrice;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue