package org.dromara.pet.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 宠物基础档案对象 biz_pets
 *
 * @author shuo
 * @date 2026-02-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("biz_pets")
public class BizPets extends

        BaseEntity {

            @Serial
            private static final long serialVersionUID = 1L;

                    /**
                     * 主键ID
                     */
                    @TableId(value = "id")
                private Long id;

                    /**
                     * 归属用户ID
                     */
                private Long userId;

                    /**
                     * 宠物昵称
                     */
                private String name;

                    /**
                     * 物种(DOG狗/CAT猫)
                     */
                private String species;

                    /**
                     * 品种
                     */
                private String breed;

                    /**
                     * 出生日期
                     */
                private Date birthDate;

                    /**
                     * 体重(公斤)
                     */
                private Long weightKg;

                    /**
                     * 性别(MALE公/FEMALE母)
                     */
                private String gender;

                    /**
                     * 是否绝育(Y/N)
                     */
                private String isNeutered;

                    /**
                     * 头像链接
                     */
                private String avatarUrl;

                    /**
                     * 业务创建时间
                     */
                private Date createdAt;

                    /**
                     * 业务更新时间
                     */
                private Date updatedAt;


        }
