package com.lesingle.edu.entity;

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

/**
 * 家长学生关系实体
 */
@Schema(description = "家长学生关系实体")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("parent_student")
public class ParentStudent extends BaseEntity {

    @Schema(description = "家长 ID")
    private Long parentId;

    @Schema(description = "学生 ID")
    private Long studentId;

    @Schema(description = "关系")
    private String relationship;

    @Schema(description = "是否主要监护人")
    private Integer isPrimary;

}
