package com.xunhong.erp.turbo.api.user.dto.cmd;

import com.xunhong.erp.turbo.base.dto.Command;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Schema(title = "用户更新微信命令")
@EqualsAndHashCode(callSuper = true)
public class UserUpdateWxCmd extends Command {

	@Schema(title = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private Long userId;

	/**
	 * 微信公众号openid
	 */
	@Schema(title = "微信公众号openid", requiredMode = Schema.RequiredMode.REQUIRED)
	private String mpOpenid;

	/**
	 * 微信小程序openid
	 */
	@Schema(title = "微信小程序openid", requiredMode = Schema.RequiredMode.REQUIRED)
	private String maOpenid;

	/**
	 * 开放平台unionid
	 */
	@Schema(title = "开放平台unionid", requiredMode = Schema.RequiredMode.REQUIRED)
	private String unionid;
}
