/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights reserved. <a>http://www.crunii.com</a>
 */
package com.crunii.micro.core.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author 田平 create 2018年10月15日下午3:22:49
 */
@Setter
@Getter
@ToString
@ApiModel
public class ApiDemo implements Serializable {
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "主键")
	private long id;
	@ApiModelProperty(value = "名称")
	private String name;
	@ApiModelProperty(value = "状态")
	private int state;
	@ApiModelProperty(value = "分数")
	private Float score;
	@ApiModelProperty(value = "新旧")
	private boolean old;
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	@ApiModelProperty(value = "子业务对象")
	private List<ApiSubDemo> subs;
}
