accountdrcr.java

来自「一个关于tlms的一个小程序 看看能否帮助到别人」· Java 代码 · 共 99 行

JAVA
99
字号
/**
 * ============================================= 
 * Copyright 2006 szmx
 *
 * Change Revision
 * --------------------------------
 *   Date                Author         Remarks
 *   2006-4-24           hliu           Create com.szmx.tlms.finance.model.AccountDrCr
 * =============================================
 */
package com.szmx.tlms.finance.model;

import com.szmx.framework.base.model.VersionObject;
import com.szmx.tlms.supplychain.model.SalesOrg;

/**
 * The imformation about the account's debit and credit
 *
 * @author hliu
 * @since 2006-4-24
 */
public class AccountDrCr extends VersionObject {

    //The associated company
    private SalesOrg company;

    //To adjust that if the account is debit or credit
    // true: the account is debit
    //false: the account is credit
    private Boolean isDr;

    //The associated account number
    private String accountNo;


     /**
     * Get the comany
     * @return comany
     */
    public SalesOrg getCompany() {
        return company;
    }

     /**
     * Set the company's ID
     * @param company
     */
    public void setCompany(SalesOrg company) {
        this.company = company;
    }

    /**
     *Return the account's type
     *  True: debit
     * False: credit
     * @return the account's type
     */
    public Boolean isDr() {
        return isDr;
    }

    /**
     *Return the account's type
     *  True: debit
     * False: credit
     * @return the account's type
     */
    public Boolean getDr() {
        return isDr;
    }

    /**
     * Set the account's type
     *  True: debit
     * False: credit
     * @param dr
     */
    public void setDr(Boolean dr) {
        isDr = dr;
    }

    /**
     *
     * @return The account number
     */
    public String getAccountNo() {
        return accountNo;
    }

    /**
     * Set the account number
     * @param accountNo
     */
    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?