package tutorial.core.models.entities;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * 
 * @author Xavier
 */
@Entity
public class EmailDomain implements Serializable{

    @Id
    @GeneratedValue
    @Column(name="emailDomain_id" )
    private Long message_id;
    @Column( name="emailDomainText", length = 100 )
    private String emailDomainText;

    public Long getMessage_id() {
        return message_id;
    }

    public void setMessage_id(Long message_id) {
        this.message_id = message_id;
    }

    public String getEmailDomainText() {
        return emailDomainText;
    }

    public void setEmailDomainText(String emailDomainText) {
        this.emailDomainText = emailDomainText;
    }


}
