package com.engine.organization.util.page;

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

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Column {
    String title;
    String dataIndex;
    String key;
    boolean display;
    String width;
    boolean sorter;

    public Column(String title, String dataIndex, String key, String width) {
        this.title = title;
        this.dataIndex = dataIndex;
        this.key = key;
        this.width = width;
    }
}
