package com.fzzy.api.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import com.fzzy.api.Constant;
|
import lombok.Data;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
import java.io.Serializable;
|
|
/**
|
* 接口表-害虫种类
|
*
|
* @author he
|
*/
|
@Data
|
@Entity
|
@Table(name = "GB_PEST_TYPE")
|
public class GbPestType implements Serializable {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = -8869472973483898721L;
|
|
@Id
|
@Column(name = "CODE_", length = 20)
|
@PropertyDef(label = "接口编码")
|
public String code;
|
|
@Column(name = "NAME_", length = 20)
|
@PropertyDef(label = "名称")
|
public String name;
|
|
@Column(name = "PARENT_CODE_", length = 20)
|
@PropertyDef(label = "父编码")
|
public String parentCode = Constant.DEFAULT_CODE;
|
|
@Column(name = "DISABLED_TAG_", length = 20)
|
@PropertyDef(label = "禁用")
|
public String disabledTag;
|
|
@Column(name = "SIMPLE_", length = 2)
|
@PropertyDef(label = "是否默认")
|
public String simple;
|
|
@Column(name = "REMARK_", length = 100)
|
@PropertyDef(label = "备注说明")
|
public String remark;
|
}
|