14 changed files with 280 additions and 23 deletions
@ -0,0 +1,68 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* @Description TODO |
|||
* @Author yinzuomei |
|||
* @Date 2020/5/12 14:09 |
|||
*/ |
|||
@Data |
|||
public class CalenderFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -62868343447396944L; |
|||
|
|||
/** |
|||
* 查询的日期:20200510 |
|||
*/ |
|||
@JsonFormat(pattern="yyyy-MM-dd") |
|||
private Date queryDate; |
|||
|
|||
/** |
|||
* 星期几的数字 |
|||
*/ |
|||
private Integer weekday; |
|||
|
|||
/** |
|||
* 节日或周末开始时间,如果是工作日,此字段为空串 |
|||
*/ |
|||
@Length(max = 8) |
|||
private String begin; |
|||
|
|||
/** |
|||
* 节日或周末结束时间,如果是工作日,此字段为空串 |
|||
*/ |
|||
@Length(max = 8) |
|||
private String end; |
|||
|
|||
/** |
|||
* 节日备注 |
|||
*/ |
|||
private String holidayRemark; |
|||
|
|||
/** |
|||
* 1为工作日,2为周末,3为节假日 |
|||
*/ |
|||
private String type; |
|||
|
|||
/** |
|||
* 节日名称,工作日时显示“无”,周末时显示“周末”,节日时显示节日名称 |
|||
*/ |
|||
private String holiday; |
|||
|
|||
/** |
|||
* 星期几的英文名 |
|||
*/ |
|||
private String en; |
|||
|
|||
/** |
|||
* 星期几的中文名 |
|||
*/ |
|||
private String cn; |
|||
|
|||
} |
|||
|
Loading…
Reference in new issue