| | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableField(exist = false) |
| | | public String checked = ""; |
| | | |
| | | /** |
| | | * ID |
| | | */ |
| | |
| | | private String html; |
| | | |
| | | /** |
| | | * 区分 1: 货架 0: 集成 |
| | | */ |
| | | @ApiModelProperty(value= "区分 1: 货架 2: 集成 ") |
| | | private Integer type; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 禁用 |
| | | */ |
| | | @ApiModelProperty(value= "状态 1: 正常 0: 禁用 ") |
| | |
| | | |
| | | public PlanType() {} |
| | | |
| | | public PlanType(Long hostId,Integer type) { |
| | | this.hostId = hostId; |
| | | this.type = type; |
| | | } |
| | | |
| | | public PlanType(Long hostId,String name,String flag,String formId,String data,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | | this.hostId = hostId; |
| | | this.name = name; |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getType$(){ |
| | | if (null == this.type){ return null; } |
| | | switch (this.type){ |
| | | case 1: |
| | | return "货架"; |
| | | case 2: |
| | | return "集成"; |
| | | default: |
| | | return String.valueOf(this.type); |
| | | } |
| | | } |
| | | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |