You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
894 B
40 lines
894 B
4 years ago
|
package com.stone.model.po.dic;
|
||
|
|
||
|
import io.swagger.annotations.ApiModelProperty;
|
||
|
import lombok.Data;
|
||
|
|
||
|
import javax.persistence.*;
|
||
|
import java.io.Serializable;
|
||
|
|
||
|
/**
|
||
|
* 检验类别
|
||
|
* @author zichen
|
||
|
*/
|
||
|
@Data
|
||
|
@Table(name = "sys_category")
|
||
|
public class Category implements Serializable {
|
||
|
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
|
||
|
@Id
|
||
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||
|
@ApiModelProperty(value = "主键")
|
||
|
private Integer id;
|
||
|
|
||
|
@ApiModelProperty(value = "检验类别名称")
|
||
|
private String name;
|
||
|
|
||
|
@ApiModelProperty(value = "检验类别代码")
|
||
|
private String code;
|
||
|
|
||
|
@ApiModelProperty(value = "设备种类 (以逗号分隔)")
|
||
|
private String species;
|
||
|
|
||
|
@Column(name = "parent_id")
|
||
|
@ApiModelProperty(value = "父类主键")
|
||
|
private Byte parentId;
|
||
|
|
||
|
@ApiModelProperty(value = "排序")
|
||
|
private Byte sort;
|
||
|
|
||
|
}
|