package com.ruoyi.wgz.bo.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.bgt.domain.vo.BgtProjectRecruitApplyVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("首页-招工列表返回对象")
public class WgzAppJobListingRes implements Serializable {
	/** 主键ID */
	@ApiModelProperty("主键ID")
	private Long id;

	@ApiModelProperty("任务名称")
	private String taskName;

	@ApiModelProperty("招工名称")
	private String recruitName;

	@ApiModelProperty("招工地址")
	private String recruitAddress;

	@ApiModelProperty("招工金额")
	private Long recruitAmount;

	@ApiModelProperty("招工数量")
	private Long recruitStaffNum;

	@ApiModelProperty("招工要求")
	private String recruitRequirement;

	@ApiModelProperty("发布时间")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private LocalDateTime createTime;

	@ApiModelProperty("申请者列表")
	List<BgtProjectRecruitApplyVO> applylist;
}
