package com.persagy.server.jms.bean

import java.io.Serializable
import javax.persistence.Column
import javax.persistence.Id
import javax.persistence.Table

/**
 * 同步消息体
 *
 * @author 张维新
 */
@Table(name = "synchronization.sync_data_relation")
class SynchronousMessageRel : Serializable {
    /** 消息 id */
    @Column(name = "id")
    @Id
    var id: String? = null
    /** 项目 id */
    @Column(name = "project_id")
    var projectId: String? = null
    /** 关系类型 */
    @Column(name = "type")
    var type: String? = null
    /** 标记 */
    @Column(name = "sign")
    var sign: Int? = null
    /** 操作符 */
    @Column(name = "ops")
    var ops: String? = null
    /** 主 id */
    @Column(name = "from_id")
    var fromId: String? = null
    /** 从 id */
    @Column(name = "to_id")
    var toId: String? = null

} // Class SynchronousMessageObj