洪城义警-正式版后台
zengh
2022-02-21 4e0627d6a9b1b3322c7537621e96317509e59184
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;
 
}