github.com/ismailbayram/bigpicture@v0.0.0-20231225173155-e4b21f5efcff/internal/browser/javaproject/src/main/com/shashi/beans/TrainBean.java (about) 1 package com.shashi.beans; 2 3 import java.io.Serializable; 4 5 public class TrainBean implements Serializable { 6 7 /** 8 * 9 */ 10 private static final long serialVersionUID = 1L; 11 12 private Long tr_no; 13 private String tr_name; 14 private String from_stn; 15 private String to_stn; 16 private Integer seats; 17 private Double fare; 18 19 public Long getTr_no() { 20 return tr_no; 21 } 22 23 public void setTr_no(Long tr_no) { 24 this.tr_no = tr_no; 25 } 26 27 public String getTr_name() { 28 return tr_name; 29 } 30 31 public void setTr_name(String tr_name) { 32 this.tr_name = tr_name; 33 } 34 35 public String getFrom_stn() { 36 return from_stn; 37 } 38 39 public void setFrom_stn(String from_stn) { 40 this.from_stn = from_stn; 41 } 42 43 public String getTo_stn() { 44 return to_stn; 45 } 46 47 public void setTo_stn(String to_stn) { 48 this.to_stn = to_stn; 49 } 50 51 public Integer getSeats() { 52 return seats; 53 } 54 55 public void setSeats(Integer seats) { 56 this.seats = seats; 57 } 58 59 public Double getFare() { 60 return fare; 61 } 62 63 public void setFare(Double fare) { 64 this.fare = fare; 65 } 66 67 }