package com.ktg.iscs.domain.vo.materialsLoan;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktg.common.core.domain.model.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 物资借出对象 is_materials_loan
 *
 * @author cgj
 * @date 2024-11-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ReminderPageVO extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "出借记录ID")
    @TableId(type = IdType.AUTO)
    private Long materialsLoanId;

    @ApiModelProperty(value = "物资ID")
    private Long materialsId;

    @ApiModelProperty(value = "物资编号")
    private String materialsCode;

    @ApiModelProperty(value = "物资名称")
    private String materialsName;

    @ApiModelProperty(value = "领取人ID")
    private Long loanUserId;

    @ApiModelProperty(value = "领取人Name")
    private String loanUserName;

    @ApiModelProperty(value = "领取柜ID")
    private Long loanFromId;

    @ApiModelProperty(value = "领取柜Name")
    private String loanFromName;

    @ApiModelProperty(value = "领取时间")
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    private Date loanTime;

    @ApiModelProperty(value = "提醒时间")
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    private Date reminderTime;

    @ApiModelProperty(value = "归还人ID")
    private Long restitutionUserId;

    @ApiModelProperty(value = "归还人Name")
    private String restitutionUserName;

    @ApiModelProperty(value = "归还柜ID")
    private Long restitutionToId;

    @ApiModelProperty(value = "归还柜Name")
    private String restitutionToName;

    @ApiModelProperty(value = "理应归还时间")
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    private Date restitutionTime;

    @ApiModelProperty(value = "实际归还时间")
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    private Date actualRestitutionTime;

    @ApiModelProperty(value = "超时报警")
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    private Date timeoutAlarm;

    @ApiModelProperty(value = "是否需要归还")
    private Integer restitutionRequired;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;




}
