package cn.axzo.msg.center.service.pending.request;

import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author yanglin
 */
@Setter
@Getter
public class CardUpdateStateRequest extends CardUpdateRequest {

    /**
     * 卡片状态
     */
    @NotNull(message = "状态不能为空")
    private CardStateInfo stateInfo;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}