智慧保安后台管理-外网项目备份
Administrator
2021-10-08 9a4a283a1413188ff5763b5e2e72c26bc2f5db3d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.springblade.test.http;
 
import lombok.Getter;
import lombok.Setter;
import org.springblade.core.http.CssQuery;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
 
@Setter
@Getter
public class VNews {
 
    @CssQuery(value = "a", attr = "title")
    private String title;
 
    @CssQuery(value = "a", attr = "href")
    private String href;
 
    @CssQuery(value = ".news-date", attr = "text")
    @DateTimeFormat(pattern = "MM/dd")
    private Date date;
 
}