package com.lz.modules.equipment.entity.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: djc
 * @Desc:
 * @Date: 2020/7/28 10:07
 */
@Data
@ApiModel(value = "查找设备信息响应")
public class FindEquipmentResModel {
    //主键id
    @ApiModelProperty(value = "主键", name = "id")
    private Long id;
    //品牌名称
    @ApiModelProperty(value = "品牌名称", name = "brandName")
    private String brandName;
    //品牌id
    @ApiModelProperty(value = "品牌id", name = "brandId")
    private Long brandId;
    //规格型号
    @ApiModelProperty(value = "规格型号", name = "id")
    private String specType;

    @ApiModelProperty(value = "规格id", name = "specId")
    private Long specId;

    @ApiModelProperty(value = "类型", name = "type")
    private String type;

    @ApiModelProperty(value = "类型id", name = "typeId")
    private Long typeId;
    //数量
    @ApiModelProperty(value = "数量", name = "num")
    private Integer num;
    //单位
    @ApiModelProperty(value = "单位", name = "unit")
    private String unit;
    //使用者
    @ApiModelProperty(value = "使用者", name = "user")
    private String user;
    //所属方，所属人
    @ApiModelProperty(value = "所属人", name = "owner")
    private String owner;
    //设备本身标识
    @ApiModelProperty(value = "设备本身标识", name = "qr")
    private String qr;
    //设备原有标识
    @ApiModelProperty(value = "设备原有标识", name = "originalCode")
    private String originalCode;
    //现有生成标识
    @ApiModelProperty(value = "现有生成标识", name = "code")
    private String code;
    //备注
    @ApiModelProperty(value = "备注", name = "mark")
    private String mark;
    //最后一次出库时间
    @ApiModelProperty(value = "最后一次出库时间", name = "gmtOutbound")
    private Date gmtOutbound;
    //第一次入库时间
    @ApiModelProperty(value = "第一次入库时间", name = "gmtInbound")
    private Date gmtInbound;
    //0：正常 1：售出 2：不可用 3:调拨 4:申领
    @ApiModelProperty(value = "设备状态", name = "equipmentState")
    private Integer equipmentState;
    //买入金额
    @ApiModelProperty(value = "买入金额", name = "buyAmount")
    private BigDecimal buyAmount;
    //出售价格
    @ApiModelProperty(value = "出售价格", name = "saleAmount")
    private BigDecimal saleAmount;
    //流程编号
    @ApiModelProperty(value = "流程编号", name = "no")
    private String no;
    //流程编号
    @ApiModelProperty(value = "设备状态", name = "state")
    private Integer state;

    @ApiModelProperty(value = "用户id", name = "userId")
    private Long userId;

    @ApiModelProperty(value = "是否为员工使用", name = "employee")
    private boolean employee = true;
}
