package io.renren.common.vo.acctserial;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 资金流水列表查询条件参数
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "资金流水详情列表")
public class AcctserialQueryPageReq {
	@NotBlank(message = "userId is not null")
	@ApiModelProperty(value = "用户id")
    private String userId;
	
	@NotBlank(message = "acctType is not null")
	@ApiModelProperty(value = "USEROWN_PSETTLE:用户自有待结算账户;USEROWN_AVAILABLE用户自有可用账户")
    private String acctType;
	
	@NotBlank(message = "dateStart is not null")
	@ApiModelProperty(value = "账期开始时间。交易账期查询开始时间，必须小于等于当前时间，闭区间。格式：yyyyMMddHHmmss")
    private String dateStart;
	
	@NotBlank(message = "dateEnd is not null")
	@ApiModelProperty(value = "账期结束时间。交易账期查询结束时间，必须大于等于开始时间且小于等于当前时间，闭区间。格式：yyyyMMddHHmmss,支持6个月内的资金记录查询。超出时间范围会报错")
    private String dateEnd;
	
	@NotBlank(message = "pageNo is not null")
	@ApiModelProperty(value = "请求页码。表示当前请求第几页，从1开始计数")
    private String pageNo;
	
	@NotBlank(message = "pageSize is not null")
	@ApiModelProperty(value = "每页记录数。每页最大记录数为10")
    private String pageSize;
	
	@ApiModelProperty(value = "排序方式。DESC:按交易时间降序(默认)；ASC:按交易时间升序")
    private String sortType;
}
