mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
CreateBranchモデル作成, コンストラクタ, Getter作成
This commit is contained in:
parent
dc65cdbac8
commit
3f4614cf6b
|
@ -0,0 +1,23 @@
|
||||||
|
package one.nem.lacerta.vcs.model.action;
|
||||||
|
|
||||||
|
public class CreateBranch {
|
||||||
|
|
||||||
|
private String branchName;
|
||||||
|
private String parentBranchName;
|
||||||
|
|
||||||
|
public CreateBranch() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public CreateBranch(String branchName, String parentBranchName) {
|
||||||
|
this.branchName = branchName;
|
||||||
|
this.parentBranchName = parentBranchName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBranchName() {
|
||||||
|
return branchName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getParentBranchName() {
|
||||||
|
return parentBranchName;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user