[Issue-154]add rate dto
package greencity.dto.rate;
-import com.fasterxml.jackson.annotation.JsonIgnore;
import greencity.entity.Rate;
import lombok.AllArgsConstructor;
import lombok.Data;
@@ -17,8 +16,4 @@ import lombok.NoArgsConstructor;
@AllArgsConstructor
public class RateAddDto {
private Byte rate;
- @JsonIgnore
- private Long place;
- @JsonIgnore
- private Long user;
}
