public class BranchList extends Object
| Constructor and Description |
|---|
BranchList() |
| Modifier and Type | Method and Description |
|---|---|
BranchList |
addBranchesItem(Branch branchesItem) |
boolean |
equals(Object o) |
List<Branch> |
getBranches()
指定仓库的分支列表
|
Integer |
getTotal()
指定仓库的分支总数
|
int |
hashCode() |
void |
setBranches(List<Branch> branches) |
void |
setTotal(Integer total) |
String |
toString() |
BranchList |
withBranches(java.util.function.Consumer<List<Branch>> branchesSetter) |
BranchList |
withBranches(List<Branch> branches) |
BranchList |
withTotal(Integer total) |
public BranchList withBranches(List<Branch> branches)
public BranchList addBranchesItem(Branch branchesItem)
public BranchList withBranches(java.util.function.Consumer<List<Branch>> branchesSetter)
public BranchList withTotal(Integer total)
public Integer getTotal()
public void setTotal(Integer total)
Copyright © 2022. All rights reserved.