添加序列化

This commit is contained in:
wenc000 2020-07-22 17:43:14 +08:00
parent 5c1eef1326
commit 9acc8cf704
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,7 @@
package com.cm.common.pojo.bos; package com.cm.common.pojo.bos;
import java.io.Serializable;
/** /**
* When you feel like quitting. Think about why you started * When you feel like quitting. Think about why you started
* 当你想要放弃的时候想想当初你为何开始 * 当你想要放弃的时候想想当初你为何开始
@ -10,8 +12,9 @@ package com.cm.common.pojo.bos;
* @Date: 2019-08-10 13:27 * @Date: 2019-08-10 13:27
* @Version: 1.0 * @Version: 1.0
**/ **/
public class PositionBO { public class PositionBO implements Serializable {
private static final long serialVersionUID = -7228959403262849245L;
private String positionId; private String positionId;
private String positionName; private String positionName;
private String positionSummary; private String positionSummary;

View File

@ -1,5 +1,6 @@
package com.cm.common.pojo.bos; package com.cm.common.pojo.bos;
import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -10,8 +11,9 @@ import java.util.List;
* @Date: 2019/3/14 9:29 PM * @Date: 2019/3/14 9:29 PM
* @Version: 1.0 * @Version: 1.0
**/ **/
public class RoleBO { public class RoleBO implements Serializable {
private static final long serialVersionUID = 3106644672498095887L;
private String roleId; private String roleId;
private String roleName; private String roleName;
private String roleSummary; private String roleSummary;

View File

@ -15,6 +15,7 @@ import java.io.Serializable;
@ApiModel @ApiModel
public class ZTreeDTO implements Serializable { public class ZTreeDTO implements Serializable {
private static final long serialVersionUID = 1972916766961693525L;
@ApiModelProperty(name = "id", value = "ID") @ApiModelProperty(name = "id", value = "ID")
private String id; private String id;
@ApiModelProperty(name = "pId", value = "父ID") @ApiModelProperty(name = "pId", value = "父ID")