package hozza.network.models.twitch.entities;

import javax.persistence.*;

@Entity(name = "networkstat")
@Table(name = "networkstat")
public class MariaNetworkStat {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", updatable = false, nullable = false)
    private Long id;
    @Column(name = "streamerone")
    protected String streamerOne;
    @Column(name = "streamertwo")
    protected String streamerTwo;
    @Column(name = "count")
    protected Long count;

    protected MariaNetworkStat()
    {

    }

    public MariaNetworkStat(String streamerOne, String streamerTwo, Long count)
    {
        this.streamerOne = streamerOne;
        this.streamerTwo = streamerTwo;
        this.count = count;
    }
}
