package com.whyc.pojo;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.apache.ibatis.type.Alias;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
|
@TableName(schema = "web_site",value = "tb_holidays")
|
@Alias("Holidays")
|
public class Holidays {
|
|
private Integer id;
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date day;
|
private Integer year;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Date getDay() {
|
return day;
|
}
|
|
public void setDay(Date day) {
|
this.day = day;
|
}
|
|
public Integer getYear() {
|
return year;
|
}
|
|
public void setYear(Integer year) {
|
this.year = year;
|
}
|
}
|