package org.jeecg.modules.eam.request; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecg.common.aspect.annotation.Dict; import org.jeecg.modules.flowable.domain.vo.FlowTaskVo; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; /** * @Description: 设备借出归还 * @Author: jeecg-boot * @Date: 2025-05-21 * @Version: V1.0 */ @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) public class EamEquipmentLeanOutRequest extends FlowTaskVo implements Serializable { /** * 主键 */ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /** * 创建人 */ @ApiModelProperty(value = "创建人") private String createBy; /** * 创建时间 */ @ApiModelProperty(value = "创建时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; /** * 更新人 */ @ApiModelProperty(value = "更新人") private String updateBy; /** * 更新时间 */ @ApiModelProperty(value = "更新时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date updateTime; /** * 删除标记 */ @ApiModelProperty(value = "删除标记") private Integer delFlag; /** * 设备ID */ @ApiModelProperty(value = "设备ID") private String equipmentId; /** * 单据号 */ @ApiModelProperty(value = "单据号") private String code; /** * 借入部门 */ @ApiModelProperty(value = "借入部门") private String leanDepartId; /** * 借入责任人 */ @ApiModelProperty(value = "借入责任人") private String leanPerson; /** * 借用原因 */ @ApiModelProperty(value = "借用原因") private String leanReason; /** * 借出状态 */ @ApiModelProperty(value = "借出状态") private String leanStatus; /** * 借出开始时间 */ @ApiModelProperty(value = "借出时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date leanStartTime; /** * 借出归还时间 */ @ApiModelProperty(value = "归还时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date leanEndTime; /** * 使用车间审核人 */ @ApiModelProperty(value = "使用车间审核人") private String useApprovalUser; /** * 使用车间审批类型 */ @ApiModelProperty(value = "使用车间审批类型") private String useApprovalDealType; /** * 使用车间审核意见 */ @ApiModelProperty(value = "使用车间审核意见") private String useApprovalComment; /** * 使用车间审核时间 */ @ApiModelProperty(value = "使用车间审核时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date useApprovalTime; /** * 借用车间审核人 */ @ApiModelProperty(value = "借用车间审核人") private String leanOutApprovalUser; /** * 借用车间审批类型 */ @ApiModelProperty(value = "借用车间审批类型") private String leanOutApprovalDealType; /** * 借用车间审核意见 */ @ApiModelProperty(value = "使用车间审核意见") private String leanOutApprovalComment; /** * 借用车间审核时间 */ @ApiModelProperty(value = "借用车间审核时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date leanOutApprovalTime; /** * 使用车间确认人 */ @ApiModelProperty(value = "使用车间确认人") private String useConfirmUser; /** * 使用车间确认审批类型 */ @ApiModelProperty(value = "使用车间确认审批类型") private String useConfirmDealType; /** * 确认意见 */ @ApiModelProperty(value = "使用车间确认意见") private String useConfirmComment; /** * 使用车间确认时间 */ @ApiModelProperty(value = "使用车间确认时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date useConfirmTime; /** * 借用车间确认人 */ @ApiModelProperty(value = "借用车间确认人") private String leanOutConfirmUser; /** * 借用车间确认审批类型 */ @ApiModelProperty(value = "借用车间确认审批类型") private String leanOutConfirmDealType; /** * 借用车间确认意见 */ @ApiModelProperty(value = "借用车间确认意见") private String leanOutConfirmComment; /** * 借用车间确认时间 */ @ApiModelProperty(value = "借用车间确认时间") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date leanOutConfirmTime; /** * 备注 */ @ApiModelProperty(value = "备注") private String remark; /** * 备注 */ @ApiModelProperty(value = "归还备注") private String returnComment; //列表展示 @TableField(exist = false) private String equipmentCode; @TableField(exist = false) private String equipmentName; }