ClassMemberMappingDO.java 743 Bytes
package com.subsidy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.subsidy.util.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 班级成员映射表
 * </p>
 *
 * @author DengMin
 * @since 2021-10-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("class_member_mapping")
public class ClassMemberMappingDO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 成员id
     */
    private Long memberId;

    /**
     * 班级id
     */
    private Long classId;


}