All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flexicore.sendgrid.model.SendGridTemplate Maven / Gradle / Ivy

package com.flexicore.sendgrid.model;

import com.flexicore.model.Baseclass;
import com.flexicore.security.SecurityContext;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

@Entity
public class SendGridTemplate extends Baseclass {

    private String externalId;

    @ManyToOne(targetEntity = SendGridServer.class)
    private SendGridServer sendGridServer;

    public SendGridTemplate() {
    }

    public SendGridTemplate(String name, SecurityContext securityContext) {
        super(name, securityContext);
    }

    @ManyToOne(targetEntity = SendGridServer.class)
    public SendGridServer getSendGridServer() {
        return sendGridServer;
    }

    public  T setSendGridServer(SendGridServer sendGridServer) {
        this.sendGridServer = sendGridServer;
        return (T) this;
    }

    public String getExternalId() {
        return externalId;
    }

    public  T setExternalId(String externalId) {
        this.externalId = externalId;
        return (T) this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy