package com.rj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 恋爱/择偶检查项表（love_check_item）
 *
 * @author system
 * @since 2026-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("love_check_item")
@Schema(description = "恋爱/择偶检查项")
public class LoveCheckItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键，UUID")
    @TableId("id")
    private String id;

    @Schema(description = "父级ID，UUID，根节点为空")
    @TableField("parent_id")
    private String parentId;

    @Schema(description = "项目名称")
    @TableField("project_name")
    private String projectName;

    @Schema(description = "危害程度（星级，1-5，5星危害最大）")
    @TableField("hazard_stars")
    private Integer hazardStars;

    @Schema(description = "类型")
    @TableField("type")
    private String type;

    @Schema(description = "简述")
    @TableField("brief")
    private String brief;

    @Schema(description = "备注")
    @TableField("remark")
    private String remark;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @TableField("update_time")
    private LocalDateTime updateTime;
}
