package com.ruoyi.school.member.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.core.utils.LongArrayTypeHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 会员卡信息
 * </p>
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "sc_member_card_courses",autoResultMap = true)
public class ScMemberCardCourses implements Serializable {


    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    private Long cardTypeId;
    private Long courseTypeId;

    private Long course_id;
    @TableField(value = "courses", typeHandler = LongArrayTypeHandler.class)
    private Long[] courses;

    @TableField(exist = false)
    private String courseType;
    @TableField(exist = false)
    private String courseNames;

}

