package org.dromara.pet.domain.bo;

import org.dromara.pet.domain.BizPetHealthLogs;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 宠物日常健康日志业务对象 biz_pet_health_logs
 *
 * @author shuo
 * @date 2026-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BizPetHealthLogs.class,reverseConvertGenerate =false)

public class BizPetHealthLogsBo extends BaseEntity {

            /**
             * 主键ID
             */
        private Long id;

            /**
             * 关联用户ID
             */
        private Long userId;

            /**
             * 关联宠物ID
             */
        private Long petId;

            /**
             * 日志类型(VOMIT呕吐/STOOL排泄/MEDS用药/FOOD饮食/WEIGHT体重/OTHER其他)
             */
        private String logType;

            /**
             * 事件发生时间
             */
        private Date logTime;

            /**
             * 严重程度(Mild轻度/Moderate中度/Severe重度)
             */
                @NotBlank(message = "严重程度(Mild轻度/Moderate中度/Severe重度)不能为空", groups = { AddGroup.class, EditGroup.class })
        private String severity;

            /**
             * 状态稠度(Normal正常/Soft偏软/Liquid液体/Hard坚硬)
             */
                @NotBlank(message = "状态稠度(Normal正常/Soft偏软/Liquid液体/Hard坚硬)不能为空", groups = { AddGroup.class, EditGroup.class })
        private String consistency;

            /**
             * 备注文本
             */
                @NotBlank(message = "备注文本不能为空", groups = { AddGroup.class, EditGroup.class })
        private String notes;

            /**
             * 附件照片链接
             */
                @NotBlank(message = "附件照片链接不能为空", groups = { AddGroup.class, EditGroup.class })
        private String mediaUrl;

            /**
             * 租户编号
             */
                @NotBlank(message = "租户编号不能为空", groups = { AddGroup.class, EditGroup.class })
        private String tenantId;


}
