package org.springblade.yeePay.entity.saas;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ApiModel("微信违规查询接口(服务商/平台商版)入参")
public class WechatViolationChannelDto {

	@NotBlank
	@ApiModelProperty(value = "服务商/平台商商编",required = true)
	private String parentMerchantNo;

	@NotBlank
	@ApiModelProperty(value = "查询的开始时间",required = true)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private String beginTime;

	@NotBlank
	@ApiModelProperty(value = "查询的结束时间",required = true)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private String endTime;
}
