feat:搭建工程
This commit is contained in:
23
src/main/java/com/cxx/food/dto/FoodMaterialDto.java
Normal file
23
src/main/java/com/cxx/food/dto/FoodMaterialDto.java
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user