package jnpf.model.cultivate.resp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 能否被删除对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CanDeleteMsg {

    /**
     * 是否可以被删除 true 可以被删除， false不能被删除
     */
    private Boolean canDelete;

    /**
     * 提示
     */
    private String msg;

    /**
     * 相关数据
     */
    private Object data;

    public CanDeleteMsg(Boolean canDelete, String msg) {
        this.canDelete = canDelete;
        this.msg = msg;
    }
}
