package com.shkj.wms.bo;

import com.baomidou.mybatisplus.annotation.*;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 表格表头对象
 *
 * @author lch
 * @date 2022-03-19
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class TableHeaderEditBo implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "主键", width = 15)
    private Long id;


    /**
     * 表单描述
     */
    private String tableDesc;


    /**
     * 对应的表名
     */
    @Excel(name = "对应的表名", width = 20)
    private String tableName;


    /**
     * 数据库字段
     */
    @Excel(name = "数据库字段", width = 20)
    private String fieldCode;


    /**
     * 字段名称
     */
    @Excel(name = "字段名称", width = 20)
    private String label;


    /**
     * 实体类字段名称
     */
    @Excel(name = "实体类字段名称", width = 20)
    private String prop;

    /**
     * 插槽名
     */
    private String slotName;

    /**
     * 插槽   type: 'slot' 'selection',  selection表示复选框
     */
    private String type;

    /**
     * 表示当前行的点击事件
     */
    private String event;

    /**
     * 默认排序
     */
    @Excel(name = "当前列排序", width = 20)
    private Boolean sortable;

    /**
     * 每一列排序 从小到大
     */
    @Excel(name = "每一列排序", width = 20)
    private Integer propSort;


    /**
     * 是否显示
     */
    @Excel(name = "是否显示", width = 20)
    private Boolean istrue;

    /**
     * 列宽
     */
    private String width;
}
