package com.emotion.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.emotion.common.BaseEntity;
import lombok.experimental.SuperBuilder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 情绪记录实体类
 * 
 * @author huazhongmin
 * @date 2025-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_emotion_record")
public class EmotionRecord extends BaseEntity {

    /**
     * 用户ID
     */
    @TableField("user_id")
    private String userId;

    /**
     * 记录日期
     */
    @TableField("record_date")
    private LocalDate recordDate;

    /**
     * 情绪类型
     */
    @TableField("emotion_type")
    private String emotionType;

    /**
     * 情绪强度
     */
    @TableField("intensity")
    private BigDecimal intensity;

    /**
     * 触发因素
     */
    @TableField("triggers")
    private String triggers;

    /**
     * 描述
     */
    @TableField("description")
    private String description;

    /**
     * 标签
     */
    @TableField("tags")
    private String tags;

    /**
     * 天气
     */
    @TableField("weather")
    private String weather;

    /**
     * 地点
     */
    @TableField("location")
    private String location;

    /**
     * 活动
     */
    @TableField("activity")
    private String activity;

    /**
     * 相关人物
     */
    @TableField("people")
    private String people;

    /**
     * 备注
     */
    @TableField("notes")
    private String notes;
}
