完善了缺席表

This commit is contained in:
GitHub 2024-12-27 00:06:20 +08:00
parent 49564f3123
commit 1826f60f9c
4 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,12 @@
package com.ruoyi.system.form;
import lombok.Data;
@Data
public class SearchForm {
private String key;
private String value;
private Integer page;
private Integer size;
}

View File

@ -0,0 +1,11 @@
package com.ruoyi.system.util;
import java.text.SimpleDateFormat;
import java.util.Date;
public class CommonUtil {
public static String createData(){
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
return format.format(new Date());
}
}

View File

@ -0,0 +1,30 @@
package com.ruoyi.system.vo;
import java.util.List;
public class PageResult<T> {
private List<T> content;
private long totalElements;
public PageResult(List<T> content, long totalElements) {
this.content = content;
this.totalElements = totalElements;
}
// Getters and Setters
public List<T> getContent() {
return content;
}
public void setContent(List<T> content) {
this.content = content;
}
public long getTotalElements() {
return totalElements;
}
public void setTotalElements(long totalElements) {
this.totalElements = totalElements;
}
}

View File

@ -0,0 +1,14 @@
package com.ruoyi.system.vo;
import lombok.Data;
@Data
public class StudentVo {
private Long id;
private String number;
private String name;
private String gender;
private String dormitoryName;
private String state;
private String createDate;
}