package com.zd.chemical.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zd.common.core.annotation.Excel;
import com.zd.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 【柜锁日志】对象 hxp_cabinetlock_log
 *
 * @author zd
 * @date 2022-07-11
 */
@ApiModel("【柜锁日志】")
@Data
public class HxpCabinetlockLogVo
{
    private static final long serialVersionUID = 1L;

    /** 开锁时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开锁时间")
    private Date unLockTime;
    /** 关锁时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "关锁时间")
    private Date closeLockTime;
    @ApiModelProperty(value = "操作时长")
    private String timeLength;
    /** 操作类型（1：入库，2：出库，3：领用，4：归还，5：系统） */
    @Excel(name = "操作类型", readConverterExp = "1=：入库，2：出库，3：领用，4：归还，5：系统")
    @ApiModelProperty(value = "操作类型")
    private String operationTypeContent;
    /** 开锁视频地址 */
    @Excel(name = "开锁视频地址")
    @Length(message = "开锁视频地址长度不能超过50")
    @ApiModelProperty(value = "开锁视频地址")
    private String unLockVideo;
    /** 关锁视频地址 */
    @Excel(name = "关锁视频地址")
    @Length(message = "关锁视频地址长度不能超过50")
    @ApiModelProperty(value = "关锁视频地址")
    private String closeLockVideo;
    @ApiModelProperty(value = "操作人")
    private String operationNames;
}
