package com.qryord.project.business.query.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qryord.framework.aspectj.lang.annotation.Excel;
import com.qryord.framework.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * 查询履历对象 t_query
 * 
 * @author ruoyi
 * @date 2022-08-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class TQuery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 查询用户 */
    @Excel(name = "查询用户")
    private Long userId;

    /** 查询用户 */
    @Excel(name = "用户名称")
    private String userName;

    /** 查询时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "查询时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date qryTime;

    /** 查询类型 */
    @Excel(name = "查询类型", readConverterExp = "ITEM=小箱号,BOX=大箱号,NUMBER=数字码")
    private String queryType;

    /** 查询状态 */
    @Excel(name = "查询状态", readConverterExp = "SUCCESS=查询成功,FAILURE=查询失败")
    private String qryStatus;

    /** 型号ID */
    private Long modelId;

    /** 型号名称 */
    @Excel(name = "型号名称")
    private String modelName;

    /** 序列号 */
    @Excel(name = "序列号")
    private String serialNo;

    /** 删除标志 */
    private String delFlag;

}
