package com.ruoyi.cms.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.Company;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * 招聘会信息对象 job_fair
 * @author lishundong
 * @date 2024-09-04
 */
@Data
@ApiModel("招聘会信息")
@TableName(value = "job_fair")
public class JobFair extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "job_fair_id",type = IdType.AUTO)
    @ApiModelProperty("招聘会id")
    private Long jobFairId;

    @Excel(name = "招聘会名称")
    @ApiModelProperty("招聘会名称")
    private String name;

    @Excel(name = "招聘会类型 对应字典 job_fair_type")
    @ApiModelProperty("招聘会类型 对应字典 job_fair_type")
    private String jobFairType;

    @Excel(name = "地点")
    @ApiModelProperty("地点")
    private String location;

    @Excel(name = "纬度")
    @ApiModelProperty("纬度")
    private BigDecimal latitude;

    @Excel(name = "经度")
    @ApiModelProperty("经度")
    private BigDecimal longitude;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("地点")
    private String address;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "招聘会开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("招聘会开始时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "招聘会结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("招聘会结束时间")
    private Date endTime;

    @TableField(exist = false)
    @ApiModelProperty("公司列表")
    private List<Company> companyList;

    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("程序时间")
    private Date queryDate;

    @TableField(exist = false)
    @ApiModelProperty("是否收藏")
    private Integer isCollection;
}
