Skip to content

Instantly share code, notes, and snippets.

@abhilater
Created June 21, 2019 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhilater/4ad59484f1d4c625bfd46cfd8c8a27df to your computer and use it in GitHub Desktop.
Save abhilater/4ad59484f1d4c625bfd46cfd8c8a27df to your computer and use it in GitHub Desktop.
/**
* ORM Entity class for 'issue_metrics_table' table.
*/
@Table(name = "issue_metrics_table")
public class IssueMetrics {
@ColumnField(type = ColumnField.FieldType.STRING,
name = "domain",
pk = true,
pkPosition = 0)
public String domain;
@ColumnField(type = ColumnField.FieldType.STRING,
name = "issue_id",
pk = true,
pkPosition = 1)
public String issueId;
@ColumnField(type = ColumnField.FieldType.LONG,
name = "created_at",
pk = true,
pkPosition = 2)
public Long createdAt;
@ColumnField(type = ColumnField.FieldType.LONG,
name = "inbound_count")
public Long inboundMessages;
@ColumnField(type = ColumnField.FieldType.LONG,
name = "outbound_count")
public Long outboundMessages;
@ColumnField(type = ColumnField.FieldType.INTEGER,
name = "csat")
public Integer csat;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment