package com.ruoyi.cms.domain.rc;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 招聘会报名对象
 */
@Data
@ApiModel("招聘会报名")
@TableName("rc_job_fair_sign_up")
public class JobFairSignUp extends BaseEntity {

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

    @ApiModelProperty("招聘会ID")
    private Long jobFairId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("报名时间")
    private Date signUpTime;

    @ApiModelProperty("状态 0正常 1已取消")
    private String status;
}
