liyong
6 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
src/main/java/com/ruoyi/lavorissue/pojo/LaborIssue.java
@@ -2,9 +2,9 @@
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.approve.utils.StartAndEndDateDto;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@@ -17,32 +17,46 @@
 */
@Data
@TableName("labor_issue")
@ApiModel
public class LaborIssue {
@Schema
public class LaborIssue extends StartAndEndDateDto {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(exist = false)
    @Schema(description = "1-已领取劳保数量 2-未领取劳保数量 3-超时已领取劳保数量 4-超时未领取劳保数量")
    private Integer status;
    @TableField(exist = false)
    private Integer season;
    /**
     * 部门名称
     */
    @ApiModelProperty("部门名称")
    @Schema(description = "部门名称")
    @Excel(name = "部门名称")
    @TableField(exist = false)
    private String deptName;
    /**
     * 劳保单号
     */
    @Schema(description = "劳保单号")
    @Excel(name = "劳保单号")
    private String orderNo;
    /**
     * 员工id
     */
    @ApiModelProperty("员工id")
    @Schema(description = "员工id")
    private Long staffId;
    /**
     * 员工名称
     */
    @ApiModelProperty("员工名称")
    @Schema(description = "员工名称")
    @Excel(name = "员工名称")
    @TableField(exist = false)
    private String staffName;
@@ -50,21 +64,35 @@
    /**
     * 员工编号
     */
    @ApiModelProperty("员工编号")
    @Schema(description = "员工编号")
    @Excel(name = "员工编号")
    @TableField(exist = false)
    private String staffNo;
    /**
     * 劳保类型-字典
     */
    @Schema(description = "劳保类型-字典")
    private String dictType;
    /**
     * 劳保类型
     */
    @Schema(description = "劳保类型")
    @Excel(name = "劳保类型")
    @TableField(exist = false)
    private String dictTypeName;
    /**
     * 防具名称-字典
     */
    @ApiModelProperty("防具名称-字典")
    @Schema(description = "防具名称-字典")
    private String dictId;
    /**
     * 防具名称
     */
    @ApiModelProperty("防具名称")
    @Schema(description = "防具名称")
    @Excel(name = "防具名称")
    @TableField(exist = false)
    private String dictName;
@@ -72,14 +100,32 @@
    /**
     * 领用数量
     */
    @ApiModelProperty("领用数量")
    @Schema(description = "领用数量")
    @Excel(name = "领用数量")
    private Long num;
    /**
     * 进厂日期
     */
    @Schema(description = "进厂日期")
    @Excel(name = "进厂日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date factoryDate;
    /**
     * 发放日期
     */
    @Schema(description = "发放日期")
    @Excel(name = "发放日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date issueDate;
    /**
     * 领用日期
     */
    @ApiModelProperty("领用日期")
    @Schema(description = "领用日期")
    @Excel(name = "领用日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
@@ -122,4 +168,7 @@
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}