Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
2.6 kB
1
Indexable
Never
package com.Insurance.model;

import java.sql.*;

public class VehicleModel {
		private int policyNo;
	   	private String vehicleNo;
	    private String vehicleType;
	    private String customerName;
	    private int engineNo;
	    private int chassisNo;
	    private long phoneNo;
	    private float premiumAmnt;
	    private String type;
	    private Date fromDate;
	    private Date toDate;
	    private int userId;
	    
	    
		public VehicleModel(String vehicleNo, String vehicleType, String customerName, int engineNo, int chassisNo,
				long phoneNo, float premiumAmnt, String type, Date fromDate) {
			this.vehicleNo = vehicleNo;
			this.vehicleType = vehicleType;
			this.customerName = customerName;
			this.engineNo = engineNo;
			this.chassisNo = chassisNo;
			this.phoneNo = phoneNo;
			this.premiumAmnt = premiumAmnt;
			this.type = type;
			this.fromDate = fromDate;
		}
		public int getPolicyNo() {
			return policyNo;
		}
		public void setPolicyNo(int policyNo) {
			this.policyNo = policyNo;
		}
		public String getVehicleNo() {
			return vehicleNo;
		}
		public void setVehicleNo(String vehicleNo) {
			this.vehicleNo = vehicleNo;
		}
		public String getVehicleType() {
			return vehicleType;
		}
		public void setVehicleType(String vehicleType) {
			this.vehicleType = vehicleType;
		}
		public String getCustomerName() {
			return customerName;
		}
		public void setCustomerName(String customerName) {
			this.customerName = customerName;
		}
		public int getEngineNo() {
			return engineNo;
		}
		public void setEngineNo(int engineNo) {
			this.engineNo = engineNo;
		}
		public int getChassisNo() {
			return chassisNo;
		}
		public void setChassisNo(int chassisNo) {
			this.chassisNo = chassisNo;
		}
		public long getPhoneNo() {
			return phoneNo;
		}
		public void setPhoneNo(long phoneNo) {
			this.phoneNo = phoneNo;
		}
		public float getPremiumAmnt() {
			return premiumAmnt;
		}
		public void setPremiumAmnt(float premiumAmnt) {
			this.premiumAmnt = premiumAmnt;
		}
		public String getType() {
			return type;
		}
		public void setType(String type) {
			this.type = type;
		}
		public Date getFromDate() {
			return fromDate;
		}
		public void setFromDate(Date fromDate) {
			this.fromDate = fromDate;
		}
		public Date getToDate() {
			return toDate;
		}
		public void setToDate(Date toDate) {
			this.toDate = toDate;
		}
		public int getUserId() {
			return userId;
		}
		public void setUserId(int userId) {
			this.userId = userId;
		}  
	    
}
Leave a Comment