Created
July 23, 2020 14:25
-
-
Save vinaypuranik/3762f0a1fcdfab7ded18ed6f6681b1a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ee.energia.ocppapi.model.entity; | |
import lombok.Data; | |
import javax.persistence.*; | |
import java.time.LocalDateTime; | |
@Data | |
@Entity | |
@Table(name = "\"ocpp-message-V_16-SetChargingProfile-conf\"") | |
@IdClass(SetChargingProfileConfPK.class) | |
class SetChargingProfileConf{ | |
@Id | |
@Column(name = "\"__connect_topic\"") | |
private String connectTopic; | |
@Id | |
@Column(name = "\"__connect_partition\"") | |
private int connectPartition; | |
@Id | |
@Column(name = "\"__connect_offset\"") | |
private long connectOffset; | |
@Column(name = "\"wrapper.messageKey\"") | |
private String wrapperMessageKey; | |
@Column(name = "\"wrapper.errorDescription\"") | |
private String wrapperErrorDescription; | |
@Column(name = "\"wrapper.chargerId\"") | |
private String wrapperChargerId; | |
@Column(name = "\"wrapper.messageId\"") | |
private String wrapperMessageId; | |
@Column(name = "\"wrapper.errorCode\"") | |
private String wrapperErrorCode; | |
@Column(name = "\"wrapper.centralSystemId\"") | |
private String wrapperCentralSystemId; | |
@Column(name = "\"wrapper.ocppTransport\"") | |
private String wrapperOcppTransport; | |
@Column(name = "\"wrapper.ownership\"") | |
private String wrapperOwnership; | |
@Column(name = "\"wrapper.messageType\"") | |
private String wrapperMessageType; | |
@Column(name = "\"wrapper.messageDump\"") | |
private String wrapperMessageDump; | |
@Column(name = "\"wrapper.vendor\"") | |
private String wrapperVendor; | |
@Column(name = "\"wrapper.ocppVersion\"") | |
private String wrapperOcppVersion; | |
@Column(name = "\"wrapper.pduName\"") | |
private String wrapperPduName; | |
@Column(name = "\"wrapper.action\"") | |
private String wrapperAction; | |
@Column(name = "\"wrapper.errorDetails\"") | |
private String wrapperErrorDetails; | |
@Column(name = "\"wrapper.timestamp\"", columnDefinition = "TIMESTAMP") | |
private LocalDateTime wrapperTimestamp; | |
@Column(name="status") | |
private String status; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment