maven
昨天 c05ba9db83838e1233a5a3787dffab0f2b88d2c8
src/main/java/com/ruoyi/staff/pojo/StaffOnJob.java
@@ -2,11 +2,14 @@
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;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
@@ -16,7 +19,7 @@
 */
@TableName(value = "staff_on_job")
@Data
public class StaffOnJob implements Serializable {
public class StaffOnJob extends DateQueryDto implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
@@ -34,7 +37,7 @@
    /**
     * 员工编号
     */
    @Excel(name = "员工编号")
    @Excel(name = "员工编号", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.STRING)
    private String staffNo;
    /**
@@ -120,11 +123,63 @@
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "合同到期日期", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date contractExpireTime;
    /**
     * 结束试用时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束试用时间", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date trialEndDate;
    /**
     * 开始试用日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始试用日期", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date trialStartDate;
    /**
     * 签订时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签订时间", width = 30, dateFormat = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date signDate;
    /**
     * 工资报酬选择条款
     */
//    @Excel(name = "工资报酬选择条款")
    private String salarySelect;
    /**
     * 试用期工资
     */
    @Excel(name = "试用期工资")
    private BigDecimal proSalary;
    /**
     * 劳动合同期限选择
     */
//    @Excel(name = "劳动合同期限选择")
    private String dateSelect;
    /**
     * 备注(福利待遇)
     */
    @Excel(name = "备注(福利待遇)")
    private String remark;
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "创建用户")
@@ -133,6 +188,8 @@
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "修改用户")