package com.example.demo.common;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "app.account.defaults")
public class AccountDefaultsProperties {

    private String cashName = "现金";
    private String bankName = "银行存款";
    private String wechatName = "微信";
    private String alipayName = "支付宝";

    public String getCashName() { return cashName; }
    public void setCashName(String cashName) { this.cashName = cashName; }
    public String getBankName() { return bankName; }
    public void setBankName(String bankName) { this.bankName = bankName; }
    public String getWechatName() { return wechatName; }
    public void setWechatName(String wechatName) { this.wechatName = wechatName; }
    public String getAlipayName() { return alipayName; }
    public void setAlipayName(String alipayName) { this.alipayName = alipayName; }
}


