src/main/java/com/ruoyi/staff/pojo/StaffJoinLeaveRecord.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.dto.DateQueryDto;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -18,7 +19,7 @@
 */
@TableName(value = "staff_join_leave_record")
@Data
public class StaffJoinLeaveRecord implements Serializable {
public class StaffJoinLeaveRecord extends DateQueryDto implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
@@ -33,6 +34,14 @@
    @NotBlank(message = "员工状态不能为空!!!!!!!!")
    @Excel(name = "状态",readConverterExp = "0=离职,1=入职")
    private Integer staffState;
    /**
     * 试用期(月)
     */
    @Excel(name = "试用期(月)")
    private Integer probationPeriod;
    /**
     * 员工编号
@@ -132,6 +141,25 @@
    @Excel(name = "合同结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date contractEndTime;
    /**
     * 离职日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaveDate;
    /**
     * 离职原因
     */
    @Excel(name = "离职原因")
    private String leaveReason;
    /**
     * 工作交接情况
     */
    @Excel(name = "工作交接情况")
    private String handoverInfo;
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;