package com.santos.iost.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 接口请求数据格式Vo对象
 */
@Data
@ApiModel(value = "接口请求数据格式Vo对象", description = "接口请求数据格式Vo对象")
public class SoSsRequestVo {

    @ApiModelProperty(value = "查询 ERP 对象的 APIName")
    private String objAPIName;//

    @ApiModelProperty(value = "数据变更的开始时间")
//    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @ApiModelProperty(value = "数据变更的结束时间")
//    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;

    @ApiModelProperty(value = "是否获取明细")
    private Boolean includeDetail;

    @ApiModelProperty(value = "获取记录的偏移")
    private Integer offset;

    @ApiModelProperty(value = "当前请求记录条数")
    private Integer limit;
}
