设备授权添加状态和筛选

This commit is contained in:
kerwincui
2022-06-07 17:56:08 +08:00
parent 54dc335b02
commit 70098975d5
6 changed files with 52 additions and 6 deletions

View File

@@ -42,6 +42,10 @@ public class ProductAuthorize extends BaseEntity
@Excel(name = "用户名称")
private String userName;
/** 状态1-未发布2-已发布,不能修改) */
@Excel(name = "状态", readConverterExp = "1=-未分配2-使用中")
private Integer status;
/** 删除标志0代表存在 2代表删除 */
private String delFlag;
@@ -53,6 +57,14 @@ public class ProductAuthorize extends BaseEntity
this.productId = productId;
}
public void setStatus(Integer status)
{
this.status = status;
}
public Integer getStatus()
{
return status;
}
public void setAuthorizeId(Long authorizeId)
{
this.authorizeId = authorizeId;