package com.casic.PgInterface.overtimeInPG.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "PG_POSITION_TAG_DEV")
public class PGTagPositionView implements Serializable {
    private long id;
    private String hostId;
    private Date parsedTime;
    private String X;
    private String Y;
    private String partition;
    private String binName;
    private String positionUpdateTime;
    private String coordinatesName;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "ID")
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "HOSTID")
    public String getHostId() {
        return hostId;
    }

    public void setHostId(String hostId) {
        this.hostId = hostId;
    }

    @Basic
    @Column(name = "PARSEDTIME")
    public Date getParsedTime() {
        return parsedTime;
    }

    public void setParsedTime(Date parsedTime) {
        this.parsedTime = parsedTime;
    }

    @Basic
    @Column(name = "X")
    public String getX() {
        return X;
    }

    public void setX(String x) {
        X = x;
    }

    @Basic
    @Column(name = "Y")
    public String getY() {
        return Y;
    }

    public void setY(String y) {
        Y = y;
    }

    @Basic
    @Column(name = "PARTITION")
    public String getPartition() {
        return partition;
    }

    public void setPartition(String partition) {
        this.partition = partition;
    }

    @Basic
    @Column(name = "BINNAME")
    public String getBinName() {
        return binName;
    }

    public void setBinName(String binName) {
        this.binName = binName;
    }

    @Basic
    @Column(name = "POSITIONUPDATETIME")
    public String getPositionUpdateTime() {
        return positionUpdateTime;
    }

    public void setPositionUpdateTime(String positionUpdateTime) {
        this.positionUpdateTime = positionUpdateTime;
    }

    @Basic
    @Column(name = "COORDINATESNAME")
    public String getCoordinatesName() {
        return coordinatesName;
    }

    public void setCoordinatesName(String coordinatesName) {
        this.coordinatesName = coordinatesName;
    }







}
