AttachObjectIdsEntity.kt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package com.persagy.labsl.domain
  2. import com.baomidou.mybatisplus.annotation.TableField
  3. import com.baomidou.mybatisplus.annotation.TableName
  4. import com.github.jeffreyning.mybatisplus.anno.MppMultiId
  5. import lombok.Data
  6. import java.io.Serializable
  7. import java.util.*
  8. /**
  9. *
  10. * @TableName attach_object_ids
  11. */
  12. @TableName(value = "attach_object_ids",autoResultMap = true)
  13. @Data
  14. class AttachObjectIdsEntity : Serializable {
  15. /**
  16. * 图对象id
  17. */
  18. @MppMultiId
  19. @TableField(value = "id")
  20. var id: String? = null
  21. /**
  22. * 图例节点id
  23. */
  24. @MppMultiId
  25. @TableField(value = "node_id")
  26. var nodeId: String? = null
  27. /**
  28. * 对象id
  29. */
  30. @MppMultiId
  31. @TableField(value = "object_id")
  32. var objectId: String? = null
  33. /**
  34. * 图id
  35. */
  36. @MppMultiId
  37. @TableField(value = "graph_id")
  38. var graphId: String? = null
  39. /**
  40. * 图状态(1一般,2待审核,3审核完成,4回收站 ,0发布)
  41. */
  42. @TableField(value = "state")
  43. var state: Int? = null
  44. /**
  45. * 更新时间
  46. */
  47. @TableField(value = "last_update")
  48. var lastUpdate: Date? = null
  49. /**
  50. * 创建时间
  51. */
  52. @TableField(value = "create_time")
  53. var createTime: Date? = null
  54. companion object {
  55. @TableField(exist = false)
  56. val serialVersionUID = 1L
  57. }
  58. }