public VoucherDetail AsMinor(InterestBase my, double? fund = null) => new VoucherDetail { Currency = Currency, Title = 6603, SubTitle = my.MinorSubTitle(), Content = "贷款利息", Fund = fund };
public VoucherDetail AsInterest(InterestBase my, double? fund = null) => new VoucherDetail { Currency = Currency, Title = Title, Content = Content, Remark = Remark + "-利息", Fund = fund };
public string QueryCapital(InterestBase my) => $"@{Currency} T{Title.AsTitle()} {Content.Quotation('\'')} {Remark.Quotation('"')}";
public string QueryInterest(InterestBase my) => $"@{Currency} T{Title.AsTitle()} {Content.Quotation('\'')} {(Remark + "-利息").Quotation('"')}";
public string QueryMajor(InterestBase my) => $"(@{Currency} T{Title.AsTitle()} {Content.Quotation('\'')})*({Remark.Quotation('"')}+{(Remark + "-利息").Quotation('"')})";