liyong
11 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
src/main/java/com/ruoyi/safe/pojo/SafeHazardRecord.java
@@ -11,8 +11,7 @@
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
@@ -28,7 +27,7 @@
@Getter
@Setter
@TableName("safe_hazard_record")
@ApiModel(value = "SafeHazardRecord对象", description = "安全生产--危险物料管控")
@Schema(name = "SafeHazardRecord对象", description = "安全生产--危险物料管控")
public class SafeHazardRecord implements Serializable {
    private static final long serialVersionUID = 1L;
@@ -36,35 +35,35 @@
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("单号")
    @Schema(description = "单号")
    private String materialRecordCode;
    @ApiModelProperty("关联危险源台账 ID")
    @Schema(description = "关联危险源台账 ID")
    private Integer safeHazardId;
    @ApiModelProperty("领用人 ID")
    @Schema(description = "领用人 ID")
    private Integer applyUserId;
    @ApiModelProperty("领用时间")
    @Schema(description = "领用时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate applyTime;
    @ApiModelProperty("领用数量")
    @Schema(description = "领用数量")
    private BigDecimal applyQty;
    @ApiModelProperty("领用用途")
    @Schema(description = "领用用途")
    private String applyPurpose;
    @ApiModelProperty("归还人 ID")
    @Schema(description = "归还人 ID")
    private Integer returnUserId;
    @ApiModelProperty("归还时间")
    @Schema(description = "归还时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate returnTime;
    @ApiModelProperty("归还情况说明")
    @Schema(description = "归还情况说明")
    private String returnRemark;
    @TableField(fill = FieldFill.INSERT)
@@ -85,4 +84,7 @@
    @TableField(fill = FieldFill.INSERT)
    private Integer tenantId;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}