喜喜检查项的代码框架

This commit is contained in:
2026-04-06 12:18:04 +08:00
parent 09698ad7d0
commit 1a7e4347fd
15 changed files with 806 additions and 1 deletions

View File

@@ -0,0 +1,62 @@
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 = "父级IDUUID根节点为空")
@TableField("parent_id")
private String parentId;
@Schema(description = "项目名称")
@TableField("project_name")
private String projectName;
@Schema(description = "危害程度星级1-55星危害最大")
@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;
}

View File

@@ -0,0 +1,70 @@
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_child
*
* @author system
* @since 2026-04-06
*/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("love_check_item_child")
@Schema(description = "恋爱/择偶检查项子表(场景话术等)")
public class LoveCheckItemChild implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "主键UUID")
@TableId("id")
private String id;
@Schema(description = "父级IDUUID")
@TableField("parent_id")
private String parentId;
@Schema(description = "项目名称")
@TableField("project_name")
private String projectName;
@Schema(description = "场景")
@TableField("scenario")
private String scenario;
@Schema(description = "话术")
@TableField("talk_script")
private String talkScript;
@Schema(description = "引导故事")
@TableField("guide_story")
private String guideStory;
@Schema(description = "加分标准")
@TableField("bonus_standard")
private String bonusStandard;
@Schema(description = "减分标准")
@TableField("deduction_standard")
private String deductionStandard;
@Schema(description = "备注")
@TableField("remark")
private String remark;
@Schema(description = "创建时间")
@TableField("create_time")
private LocalDateTime createTime;
@Schema(description = "修改时间")
@TableField("update_time")
private LocalDateTime updateTime;
}

View File

@@ -45,7 +45,7 @@ public class LoveWhoI implements Serializable {
@TableField("salutation")
private String salutation;
@Schema(description = "性别")
@Schema(description = "性别 下拉框,男或 女")
@TableField("gender")
private String gender;