Skip to content

Commit

Permalink
Merge pull request #3 from UdL-EPS-SoftArch/crud-Location
Browse files Browse the repository at this point in the history
crud Location
  • Loading branch information
rogargon authored Feb 22, 2024
2 parents ee9a282 + 4d7cbb3 commit a394647
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/main/java/cat/udl/eps/softarch/demo/domain/Location.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package cat.udl.eps.softarch.demo.domain;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor

public class Location extends UriEntity<Long>{
@Id
private Long id;

private String address;

private float latitude;

private float longitude;

private String province;

private String municipality;

private String postalCode;

}

0 comments on commit a394647

Please sign in to comment.