|
|
@@ -3,6 +3,8 @@ package com.example.cinema.po;
|
|
|
import com.example.cinema.vo.TicketVO;
|
|
|
import com.example.cinema.vo.TicketWithScheduleVO;
|
|
|
|
|
|
+import java.sql.Timestamp;
|
|
|
+
|
|
|
/**
|
|
|
* Created by liying on 2019/4/16.
|
|
|
*/
|
|
|
@@ -35,6 +37,16 @@ public class Ticket {
|
|
|
*/
|
|
|
private int state;
|
|
|
|
|
|
+ private Timestamp time;
|
|
|
+
|
|
|
+ public Timestamp getTime() {
|
|
|
+ return time;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTime(Timestamp time) {
|
|
|
+ this.time = time;
|
|
|
+ }
|
|
|
+
|
|
|
public Ticket() {
|
|
|
}
|
|
|
|
|
|
@@ -61,6 +73,7 @@ public class Ticket {
|
|
|
stateString = "未完成";
|
|
|
}
|
|
|
vo.setState(stateString);
|
|
|
+ vo.setTime(time);
|
|
|
return vo;
|
|
|
|
|
|
}
|