package com.github.microservice.auth.client.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;

@Data
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@Schema(name = "userNFCCardUpdateModel", description = "NFC卡号更新模型")
public class UserNFCCardUpdateModel {

    @Schema(description = "用户id")
    @NotNull(message = "userId不能为null")
    private String userId;

    @Schema(description = "NFC卡号")
    @NotNull(message = "nfcCard不能为null")
    private String nfcCard;

    @Schema(description = "需要修改的NFC卡号，新增时不传值")
    private String updateCard;
}
