package com.bcxin.api.interfaces.tenants.responses;

import lombok.Data;

import java.io.Serializable;

/**
 * @author linqinglin
 * @date 2022/3/2 15:44
 */
@Data
public class ColumnResponse implements Serializable {

    private static final long serialVersionUID = 4530474987109938356L;

    private String key;

    private String name;

    public ColumnResponse(String key, String name){
        this.key = key;
        this.name = name;
    }

    public static ColumnResponse create(String key, String name) {
        return new ColumnResponse(key,name);
    }
}
