package com.ktg.iscs.domain;

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

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

    @ApiModelProperty(value = "物资规则ID")
    @TableId(type = IdType.AUTO)
    private Long ruleId;

    @ApiModelProperty(value = "物资规则编号")
    @Excel(name = "物资规则编号")
    private Long materialsTypeId;

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

    @ApiModelProperty(value = "是否归还原位")
    @Excel(name = "是否归还原位")
    private Integer restorationRequired;

    @ApiModelProperty(value = "出借时长")
    // @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    // @Excel(name = "出借时长", width = 30, dateFormat = "yyyy-MM-dd")
    private Integer loanDuration;

    @ApiModelProperty(value = "提醒时间")
    // @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    // @Excel(name = "提醒时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Integer reminderTime;

    @ApiModelProperty(value = "超时报警")
    // @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd")
    // @Excel(name = "超时报警", width = 30, dateFormat = "yyyy-MM-dd")
    private Integer timeoutAlarm;

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


}
