24 lines
508 B
Java
24 lines
508 B
Java
package com.cxx.food.dto;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonView;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
@Getter
|
|
@Setter
|
|
@JsonView(PlainView.class)
|
|
public class FoodMaterialDto {
|
|
@Schema(description = "id")
|
|
private Long id;
|
|
|
|
@Schema(description = "食材类型")
|
|
private String type;
|
|
|
|
@Schema(description = "食材名称")
|
|
private String name;
|
|
|
|
@Schema(description = "食材分量")
|
|
private String amount;
|
|
}
|