package com.mortals.xhx.module.api.model;

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

import java.util.List;

/**
 * @author luoshichao
 * @Description
 * @date 2021/1/12 13:35
 */
@Data
@ApiModel
public class AssetGetRsp {
	/** 资产码，全局唯一 */
	@ApiModelProperty(value = "资产码", required = true, example = "10100000000001")
	private String assetNum;

	/** 业务码，关联的业务码 */
	@ApiModelProperty(value = "业务码，关联的业务码", required = false, example = "10100000000001")
	private String deviceNum;

	/** 所属物料代码 */
	@ApiModelProperty(value = "所属物料代码", required = true, example = "")
	private String materiaCode;

	/** 当前流转状态 */
	@ApiModelProperty(value = "当前流转状态", required = true, example = "")
	private Integer flowStatus;

	/** 是否启用，0否，1是 */
	@ApiModelProperty(value = "是否启用", required = true, example = "1")
	private Integer enabled;

	/** 后续事件列表 */
	@ApiModelProperty(value = "后续事件列表", required = false, example = "[]")
	private List<AssetEventInfo> nextEventList;

}
