package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 列宽修改对象 sys_table_set
 * 
 * @author ruoyi
 * @date 2021-01-30
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_table_set")
public class SysTableSet implements Serializable {

private static final long serialVersionUID=1L;


    /** 主键 */
    @TableId(value = "id")
    private Long id;

    /** 表名 */
    @Excel(name = "表名")
    private String tableName;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;
    /**列名ID*/
    @Excel(name = "列名ID")
    private Long surface;
    /**英文列名*/
    @Excel(name = "英文列名")
    private String label;
    /**中文列名*/
    @Excel(name = "中文列名")
    private String name;
    /**选中状态*/
    @Excel(name = "选中状态"  , readConverterExp = "0=选中,1=未选中")
    private Long checked;
    /**宽度*/
    @Excel(name = "宽度")
    private Long width;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
