package com.ruoyi.common.core.domain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("用户卡信息")
public class LoginCard {
    @ApiModelProperty(name = "卡类型")
    private Integer type;

    /** 安排校区 */
    @ApiModelProperty(name = "安排校区")
    private Long campusId;

    /** 校区id */
    @ApiModelProperty(name = "学校id")
    private Long schoolId;
    @ApiModelProperty(name = "学校名称")
    private String schoolName;

    /** 校区班级ID */
    @ApiModelProperty(name = "班级ID")
    private Long classId;
    @ApiModelProperty(name = "班级名称")
    private String className;

    /** 班级/入学年份 */
    @ApiModelProperty(name = "班级/入学年份")
    private Integer year;

    /** 高考年份 */
    @ApiModelProperty(name = "毕业年份")
    private Integer endYear;

    /** 过期时间 */
    @ApiModelProperty(name = "过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date outDate;
}
