Package com.creditratingmodule.bean

Source Code of com.creditratingmodule.bean.TbCreditRating

package com.creditratingmodule.bean;

import java.io.Serializable;

import com.creditratingtypemodule.bean.TbCreditRatingType;
import com.creditratingtypemodule.dao.TbCreditRatingTypeDAO;

public class TbCreditRating implements Serializable{

    private int creditRatingId;

    private int creditRatingTypeId;
    private TbCreditRatingType tbCreditRatingType;
    private double creditRatingScore;

    private String createTime;

    public int getCreditRatingId(){
        return creditRatingId;
    }

    public void setCreditRatingId(int creditRatingId){
        this.creditRatingId = creditRatingId;
    }

    public int getCreditRatingTypeId(){
        return creditRatingTypeId;
    }

    public void setCreditRatingTypeId(int creditRatingTypeId){
        this.creditRatingTypeId = creditRatingTypeId;
        this.tbCreditRatingType=new TbCreditRatingTypeDAO().getTbCreditRatingTypeByCreditRatingTypeId(creditRatingTypeId);
    }

    public double getCreditRatingScore(){
        return creditRatingScore;
    }

    public void setCreditRatingScore(double creditRatingScore){
        this.creditRatingScore = creditRatingScore;
    }

    public String getCreateTime(){
        return createTime;
    }

    public void setCreateTime(String createTime){
        this.createTime = createTime;
    }

    public TbCreditRatingType getTbCreditRatingType() {
    return tbCreditRatingType;
  }

  public void setTbCreditRatingType(TbCreditRatingType tbCreditRatingType) {
    this.tbCreditRatingType = tbCreditRatingType;
  }

  public TbCreditRating(){
    }
        public TbCreditRating(int creditRatingTypeId,double creditRatingScore,String createTime){
        this.creditRatingTypeId = creditRatingTypeId;
        this.creditRatingScore = creditRatingScore;
        this.createTime = createTime;
    }
    public TbCreditRating(int creditRatingId,int creditRatingTypeId,double creditRatingScore,String createTime){
        this.creditRatingId = creditRatingId;
        this.creditRatingTypeId = creditRatingTypeId;
        this.creditRatingScore = creditRatingScore;
        this.createTime = createTime;
    }
}
TOP

Related Classes of com.creditratingmodule.bean.TbCreditRating

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.