package com.ruoyi.bgt.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
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.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 包工头招工对象 bgt_project_recruit
 *
 * @author ruoyi
 * @date 2025-02-17
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("App包工头招工详情对象")
public class BgtProjectRecruitDetailVO implements Serializable {

    private static final long serialVersionUID=1L;

    /** 主键ID */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 项目ID */
    @ApiModelProperty("项目ID")
    private Long projectId;

    /** 标段ID */
    @ApiModelProperty("标段ID")
    private Long sectionId;

    /** 分包ID */
    @ApiModelProperty("分包ID")
    private Long subId;

    /** 任务ID */
    @ApiModelProperty("任务ID")
    private Long taskId;

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

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

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

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

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


	@ApiModelProperty("招工开始时间")
	private LocalDate recruitBeginTime;

	@ApiModelProperty("招工结束时间")
	private LocalDate recruitEndTime;

	@ApiModelProperty("招工开工时间")
	private LocalDate recruitWorkBeginTime;

    @ApiModelProperty("联系人")
    private String recruitContactPerson;

    @ApiModelProperty("联系电话")
    private String recruitContactPhone;

    @ApiModelProperty("招工描述")
    private String subDescribe;

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

	@ApiModelProperty("工种")
	private String typeOfWork;

	@ApiModelProperty("创建者ID")
	private Long userId;

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

    @ApiModelProperty("备注")
    private String remark;

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