VisualMapEntity.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package jnpf.visualdata.entity;
  2. import com.alibaba.fastjson.annotation.JSONField;
  3. import com.baomidou.mybatisplus.annotation.FieldFill;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import lombok.Data;
  8. /**
  9. * 大屏地图配置
  10. *
  11. * @author JNPF开发平台组
  12. * @version V3.1.0
  13. * @copyright 引迈信息技术有限公司
  14. * @date 2021年6月15日
  15. */
  16. @Data
  17. @TableName("blade_visual_map")
  18. public class VisualMapEntity {
  19. /** 主键 */
  20. @TableId("id")
  21. private String id;
  22. /** 地图名称 */
  23. @TableField("name")
  24. private String name;
  25. /** 地图数据 */
  26. @TableField("data")
  27. private String data;
  28. /** 地图编码 */
  29. @TableField("code")
  30. private String code;
  31. /** 地图级别 0:国家 1:省份 2:城市 3:区县 */
  32. @TableField("map_level")
  33. @JSONField(name = "level")
  34. private Integer mapLevel;
  35. /** 上级ID */
  36. @TableField("parent_id")
  37. private String parentId;
  38. /** 上级编码 */
  39. @TableField("parent_code")
  40. private String parentCode;
  41. /** 祖编码 */
  42. @TableField("ancestors")
  43. private String ancestors;
  44. /**
  45. * 租户id
  46. */
  47. @TableField(value = "f_tenant_id" , fill = FieldFill.INSERT)
  48. private String tenantId;
  49. }