2022-05-07 10:18:50 +08:00
|
|
|
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;
|
2022-06-23 09:14:19 +08:00
|
|
|
String width;
|
|
|
|
|
boolean sorter;
|
2024-05-31 11:34:09 +08:00
|
|
|
int labelId;
|
2022-05-07 10:18:50 +08:00
|
|
|
|
2024-05-31 11:34:09 +08:00
|
|
|
public Column(int labelId, String title, String dataIndex, String key, String width) {
|
|
|
|
|
this.labelId = labelId;
|
2022-05-07 10:18:50 +08:00
|
|
|
this.title = title;
|
|
|
|
|
this.dataIndex = dataIndex;
|
|
|
|
|
this.key = key;
|
2022-06-23 09:14:19 +08:00
|
|
|
this.width = width;
|
2022-05-07 10:18:50 +08:00
|
|
|
}
|
|
|
|
|
}
|