jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.ld.igds.grain.dto;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ld.igds.models.GrainAnalysis;
 
import java.io.Serializable;
import java.util.Date;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
 
/**
 * 用于封装的粮情信息,每次获取粮情数据,封装为当前对象
 *
 * @author vince
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class GrainAnalysisData extends GrainAnalysis implements Serializable {
 
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    
    @PropertyDef(label = "更新时间", description = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date updateTime = new Date();
 
    @PropertyDef(label = "生效周期---开始时间", description = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date start;
 
    @PropertyDef(label = "生效周期---结束时间", description = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date end;
}