package jnpf.model.cultivate.v2.apply.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import jnpf.model.cultivate.CultivatePage;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class V2IdentifyApplyListAppReq extends CultivatePage {

    /**
     * 组织ids
     */
    private List<String> orgIds;

    /**
     * 关键词
     */
    private String keyWord;

    /**
     * 鉴定状态(-1-全部，0-待鉴定，1-已鉴定)
     */
    private Integer status;

    /**
     * 鉴定开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 鉴定结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}