package xiaoqu.home.open.controller.export;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import xiaoqu.home.open.utils.poi.annotation.Excel;
import java.util.Date;

@Data
@ApiModel(value = "Tools导出对象")
public class ToolsExport {


    @Excel(name = "ID", cellType = Excel.ColumnType.NUMERIC)
    private Long id;
    @Excel(name = "工具名称")
    private String name;

    @Excel(name = "上级分类")
    private String parentName;
    @Excel(name = "分类级别")
    private String levelString;
    @Excel(name = "停/启用状态")
    private String statusString;
    @Excel(name = "创建人")
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Excel(name = "编辑人")
    private String modifyName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "编辑时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    @Excel(name = "站点名称")
    private String districtName;

}
