Commit 23e2bc95 by guojuxing

打款账户接口

parent f3a9b750
package com.gic.finance.dto;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
* 打款户信息
* @ClassName: PayAccountDTO

* @Description: 

* @author guojuxing

* @date 2019/8/29 2:20 PM

*/
public class PayAccountDTO implements Serializable{
private static final long serialVersionUID = 5695680475810544460L;
public interface SavePayAccount {
}
public interface EditPayAccount {
}
/**
*
*/
@NotNull(message = "主键不能为空", groups = {EditPayAccount.class})
private Integer payAccountId;
/**
* 开户名称
*/
@NotBlank(message = "开户名称不能为空", groups = {SavePayAccount.class})
private String accountName;
/**
* 开户银行
*/
@NotBlank(message = "开户银行不能为空", groups = {SavePayAccount.class})
private String bank;
/**
* 支行名称
*/
@NotBlank(message = "支行名称不能为空", groups = {SavePayAccount.class})
private String branchName;
/**
* 开户账号
*/
@NotBlank(message = "开户账号不能为空", groups = {SavePayAccount.class})
private String bankAccount;
/**
* 状态 0 :删除 1:启用 2:停用
*/
private Integer status;
/**
* 排序
*/
private Integer sort;
/**
*
*/
private Date createTime;
/**
*
*/
private Date updateTime;
public Integer getPayAccountId() {
return payAccountId;
}
public void setPayAccountId(Integer payAccountId) {
this.payAccountId = payAccountId;
}
public String getAccountName() {
return accountName;
}
public void setAccountName(String accountName) {
this.accountName = accountName;
}
public String getBank() {
return bank;
}
public void setBank(String bank) {
this.bank = bank;
}
public String getBranchName() {
return branchName;
}
public void setBranchName(String branchName) {
this.branchName = branchName;
}
public String getBankAccount() {
return bankAccount;
}
public void setBankAccount(String bankAccount) {
this.bankAccount = bankAccount;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
}
package com.gic.finance.service;
import com.gic.api.base.commons.ServiceResponse;
import com.gic.finance.dto.PayAccountDTO;
import java.util.List;
/**
* 打款户接口
* @ClassName: PayAccountApiService

* @Description: 

* @author guojuxing

* @date 2019/8/29 2:22 PM

*/
public interface PayAccountApiService {
/**
* 新增打款户信息
* @Title: save

* @Description:

 * @author guojuxing
* @param dto

* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>


 */
ServiceResponse<Void> save(PayAccountDTO dto);
/**
* 编辑保存
* @Title: update

* @Description:

 * @author guojuxing
* @param dto

* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>


 */
ServiceResponse<Void> update(PayAccountDTO dto);
/**
* 删除
* @Title: delete

* @Description:

 * @author guojuxing
* @param id

* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>


 */
ServiceResponse<Void> delete(Integer id);
/**
* 上移排序
* @Title: upSort

* @Description:

 * @author guojuxing
* @param id

* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>


 */
ServiceResponse<Void> upSort(Integer id);
/**
* 下移排序
* @Title: downSort

* @Description:

 * @author guojuxing
* @param id

* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>


 */
ServiceResponse<Void> downSort(Integer id);
/**
* 根据主键查询数据
* @Title: getById

* @Description:

 * @author guojuxing
* @param id

* @return com.gic.api.base.commons.ServiceResponse<com.gic.finance.dto.PayAccountDTO>


 */
ServiceResponse<PayAccountDTO> getById(Integer id);
/**
* 列表查询
* @Title: listPayAccount

* @Description:

 * @author guojuxing 

* @return com.gic.api.base.commons.ServiceResponse<java.util.List<com.gic.finance.dto.PayAccountDTO>>


 */
ServiceResponse<List<PayAccountDTO>> listPayAccount();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment