package com.matrix.system.shopXcx.dto;
|
|
import com.matrix.core.tools.DateUtil;
|
|
import java.util.Date;
|
|
public class YYDay {
|
|
/**
|
* 状态 0表示占位符,1可以预约,2已过期,3已选择
|
*/
|
private Integer status;
|
|
private Date time;
|
|
private Integer day;
|
|
|
public YYDay() {
|
super();
|
}
|
|
public YYDay(Integer year, Integer month, Integer day) {
|
this.time=new Date(year, month, day);
|
this.day=day;
|
}
|
|
public YYDay(Date time) {
|
this.time=new Date(time.getTime());
|
|
}
|
|
public YYDay(Date time, int j) {
|
this.time=new Date(time.getTime());
|
this.day=j;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
}
|
|
public Integer getStatus() {
|
return status;
|
}
|
|
public Date getTime() {
|
return time;
|
}
|
|
public void setTime(Date time) {
|
this.time = time;
|
}
|
|
public Integer getDay() {
|
return day;
|
}
|
|
public void setDay(Integer day) {
|
this.day = day;
|
}
|
}
|