You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
476 B
25 lines
476 B
package com.example.apispringgradleb2boost.model;
|
|
|
|
import lombok.Data;
|
|
|
|
import javax.persistence.*;
|
|
|
|
@Data
|
|
@Entity
|
|
@Table(name = "partners")
|
|
public class Partner {
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
private Long id;
|
|
|
|
@Column(name = "company_name")
|
|
private String name;
|
|
|
|
@Column(name = "ref", unique=true)
|
|
private String reference;
|
|
|
|
private String locale;
|
|
|
|
@Column(name = "expires")
|
|
private String expirationTime;
|
|
}
|
|
|