53 lines
1.3 KiB
Java
53 lines
1.3 KiB
Java
package cn.unizk.entity.po;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import lombok.ToString;
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* <p>
|
|
*
|
|
* </p>
|
|
*
|
|
* @author caiwenhao
|
|
* @since 2025-12-22
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@ToString
|
|
@TableName("sub_health_dietary_regulation")
|
|
public class SubHealthDietaryRegulation implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId("symptom_number")
|
|
@NotBlank(message = "symptomNumber cannot be empty")
|
|
private String symptomNumber;
|
|
|
|
@NotBlank(message = "symptomDescription cannot be empty")
|
|
private String symptomDescription;
|
|
|
|
@NotBlank(message = "lackNutrients cannot be empty")
|
|
private String lackNutrients;
|
|
|
|
@NotBlank(message = "diagnosticReference cannot be empty")
|
|
private String diagnosticReference;
|
|
|
|
@NotBlank(message = "commonReasons cannot be empty")
|
|
private String commonReasons;
|
|
|
|
@NotBlank(message = "fruitSuggestion cannot be empty")
|
|
private String fruitSuggestion;
|
|
|
|
@NotBlank(message = "vegetableSuggestion cannot be empty")
|
|
private String vegetableSuggestion;
|
|
|
|
@NotBlank(message = "detectAndAdd cannot be empty")
|
|
private String detectAndAdd;
|
|
}
|