tangzy
2021-10-07 2461281f7bdf6a4e7a016b528280ed5ec7b9f2a2
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;
 
}