fhx
2024-02-06 0d06ae039c98e827a67767a0a907d3b70d0da942
提交 | 用户 | age
f5bce1 1 package com.hz.his.dto;
7c680b 2
C 3 import java.util.Date;
4
5 /**
6  * @author fwq
7  * 时间扩展类
8  */
f5bce1 9 public class TimeDto {
7c680b 10
C 11     private String timeString;
12
13     private Date timeDate;
14
f5bce1 15     public TimeDto(String timeString) {
7c680b 16         this.timeString = timeString;
C 17     }
18
f5bce1 19     public TimeDto(Date timeDate) {
7c680b 20         this.timeDate = timeDate;
C 21     }
22
f5bce1 23     public TimeDto() {
7c680b 24     }
C 25
f5bce1 26     public TimeDto(String timeString, Date timeDate) {
7c680b 27         this.timeString = timeString;
C 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 }