提交 | 用户 | age
|
c88379
|
1 |
package com.hz.his.dto.common; |
F |
2 |
|
|
3 |
import java.util.Date; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author fwq |
|
7 |
* 时间扩展类 |
|
8 |
*/ |
|
9 |
public class TimeDto { |
|
10 |
|
|
11 |
private String timeString; |
|
12 |
|
|
13 |
private Date timeDate; |
|
14 |
|
|
15 |
public TimeDto(String timeString) { |
|
16 |
this.timeString = timeString; |
|
17 |
} |
|
18 |
|
|
19 |
public TimeDto(Date timeDate) { |
|
20 |
this.timeDate = timeDate; |
|
21 |
} |
|
22 |
|
|
23 |
public TimeDto() { |
|
24 |
} |
|
25 |
|
|
26 |
public TimeDto(String timeString, Date timeDate) { |
|
27 |
this.timeString = timeString; |
|
28 |
this.timeDate = timeDate; |
|
29 |
} |
|
30 |
|
|
31 |
public String getTimeString() { |
|
32 |
return timeString; |
|
33 |
} |
|
34 |
|
|
35 |
public void setTimeString(String timeString) { |
|
36 |
this.timeString = timeString; |
|
37 |
} |
|
38 |
|
|
39 |
public Date getTimeDate() { |
|
40 |
return timeDate; |
|
41 |
} |
|
42 |
|
|
43 |
public void setTimeDate(Date timeDate) { |
|
44 |
this.timeDate = timeDate; |
|
45 |
} |
|
46 |
} |