package com.softwarebr.nunu.json.admin.res;

import com.alibaba.fastjson.annotation.JSONField;
import com.brframework.commoncms.annatotion.column.HideColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Lob;
import java.time.LocalDateTime;

/**
 * 招聘资源
 * @date 2020-02-21 11:48:30
 * @author lilin
 */

@Data
@ApiModel
public class TalentResult {

	@ApiModelProperty(value = "序号", required = true, example = "1")
	private Long id;

	@ApiModelProperty(value = "发布者", required = true, example = "")
	@HideColumn()
	private Long publisher;

	@ApiModelProperty(value = "账号", required = true, example = "")
	private String account;

	@ApiModelProperty(value = "姓名", required = true, example = "")
	private String name;

	@ApiModelProperty(value = "性别", required = true, example = "")
	private String sex;

	@ApiModelProperty(value = "简历封面图", required = true, example = "")
	private String coverUri;

	@ApiModelProperty(value = "擅长领域", required = true, example = "")
	private String expertise;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "时间", required = true, example = "2018-03-12 21:32:33")
	private LocalDateTime createDate;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "审核时间", required = true, example = "2018-03-12 21:32:33")
	private LocalDateTime verifyDate;

	@ApiModelProperty(value = "公开状态", required = true, example = "")
	private String publicityTitle;

	@ApiModelProperty(value = "审核状态", required = true, example = "")
	private String verifyTitle;

	@ApiModelProperty(value = "上架状态", required = true, example = "")
	private String upperTitle;

	@ApiModelProperty(value = "是否推荐至首页(0否 1是)", required = true, example = "")
	@HideColumn(selectShow = false)
	private Integer indexType;

	@ApiModelProperty(value = "是否上架(0下架 1上架) ", required = true, example = "")
	@HideColumn(selectShow = false)
	private Integer upperStatus;

	@ApiModelProperty(value = "审核状态(1待审核 2审核通过 3审核不通过)", required = true, example = "")
	@HideColumn(selectShow = false)
	private Integer verify;

	@ApiModelProperty(value = "公开状态(1公开 2隐私 3平台可见)", required = true, example = "")
	@HideColumn(selectShow = false)
	private Integer publicity;

	@ApiModelProperty(value = "地址", required = true, example = "")
	private String address;

	@ApiModelProperty(value = "省份", required = true, example = "")
	private Long provinceId;

	@ApiModelProperty(value = "城市", required = true, example = "")
	private Long cityId;

	@ApiModelProperty(value = "区县", required = true, example = "")
	private Long areaId;

}