wangting
2023-07-21 6d4ba6de5ad9b1a8f3b7b680aa3a3a2ce08b22a6
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.core.http.test;
 
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;
 
}