income.java

来自「crm.customer relationship management」· Java 代码 · 共 66 行

JAVA
66
字号
package crm.object.unit;

import java.sql.ResultSet;

//针对incomecall表的bean类
public class Income 
{
    private String callId = "";        //来电ID
    private String customerId = "";    //客户ID
    private String callTime = "";      //来电时间
    private String callMemo = "";      //来电内容
    
    //空的构造方法
    public Income()
    {
    }
    
    //针对rs对象的构造方法
    public Income( ResultSet rs )
        throws Exception
    {
        this.callId = rs.getString("call_id");
        this.customerId = rs.getString("customer_id");
        this.callTime = rs.getString("call_time");
        this.callMemo = rs.getString("call_memo");
    }
    
    //get/set方法
    
    public String getCallId()
    {
        return callId;
    }
    public void setCallId( String callId )
    {
        this.callId = callId;
    }
        
    public String getCustomerId()
    {
        return customerId;
    }
    public void setCustomerId( String customerId )
    {
        this.customerId = customerId;
    }
    
    public String getCallTime()
    {
        return callTime;
    }
    public void setCallTime( String callTime )
    {
        this.callTime = callTime;
    }
    
    public String getCallMemo()
    {
        return callMemo;
    }
    public void setCallMemo( String callMemo )
    {
        this.callMemo = callMemo;
    }
}

⌨️ 快捷键说明

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