package org.dromara.main.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

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

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("main_position")
public class MainPosition extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    private String tenantId;
    private Long deptId;
    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;

    @TableLogic
    private String delFlag;
}
