package com.xunhong.erp.turbo.api.facade.dto.qry;

import com.xunhong.erp.turbo.base.dto.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "微信登录查询")
@EqualsAndHashCode(callSuper = true)
public class WxMaOpenidQry extends Query {

	@NotBlank(message = "不能为空")
	@Schema(title = "微信code", example = "0c12NPkl25WKmc46nYol2MDsdn12NPkz")
	private String code;

	@Schema(title = "maOpenid", example = "0c12NPkl25WKmc46nYol2MDsdn12NPkz", hidden = true)
	private String maOpenid;

	@Schema(title = "unionid", example = "0c12NPkl25WKmc46nYol2MDsdn12NPkz", hidden = true)
	private String unionid;

	@Schema(title = "mpOpenid", example = "0c12NPkl25WKmc46nYol2MDsdn12NPkz", hidden = true)
	private String mpOpenid;
}
