package org.dromara.main.domain.bo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class MainPositionBo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotNull(message = "岗位ID不能为空", groups = EditGroup.class)
    private Long id;

    @NotBlank(message = "租户ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String tenantId;

    private Long deptId;

    @NotBlank(message = "岗位名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String postName;

    private String postDescription;
    private String workProvince;
    private String workCity;
    private String workDistrict;
    private String workAddress;
    private String postType;
    private String educationRequirement;
    private String salaryType;
    private String salaryRange;
    private BigDecimal minSalary;
    private BigDecimal maxSalary;
    private Integer recruitNum;
    private Date registrationStartDate;
    private Date registrationEndDate;
    private Integer isUrgent;
    private String schoolRequirement;
    private String genderRequirement;
    private String gradeRequirement;
    private String arrivalTime;
    private String internshipDuration;
    private Integer willingToTravel;
    private String welfareTags;
    private String jobRequirement;
    private String postLevel;
    private String assessmentTime;
    private BigDecimal gradeA;
    private BigDecimal gradeB;
    private BigDecimal gradeC;



    private String keyword;

    private Long studentId;
}
