Skip to content

Commit

Permalink
add review
Browse files Browse the repository at this point in the history
  • Loading branch information
amirarab888 committed Aug 3, 2024
1 parent 4864508 commit c406e47
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions common/src/main/java/com/dishDash/common/dto/ReviewDto.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package com.dishDash.common.dto;

import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ReviewDto {

@JsonProperty("id")
private long id;

@JsonProperty("comment")
private String comment;

@JsonProperty("customer_id")
private long customerId;

@JsonProperty("order_id")
private long orderId;
}

0 comments on commit c406e47

Please sign in to comment.