Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
spvhantale committed Oct 2, 2022
2 parents 9352a57 + 9e75215 commit afea5b2
Show file tree
Hide file tree
Showing 52 changed files with 1,804 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added muddled-can-9800/bin/com/swapnil/main/Main.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
218 changes: 218 additions & 0 deletions muddled-can-9800/src/com/swapnil/bean/SellProductAndSellerDTO.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
package com.swapnil.bean;

import java.sql.Date;

public class SellProductAndSellerDTO {

private int sid;
private String sname;
private int spno;
private String spname;
private String spcategory;
private int spprice;
private int spquantity;
private boolean availability;
private Date startingdate;
private Date enddate;





public SellProductAndSellerDTO() {
super();
}





public SellProductAndSellerDTO(int sid, String sname, int spno, String spname, String spcategory, int spprice,
int spquantity, boolean availability, Date startingdate, Date enddate) {
super();
this.sid = sid;
this.sname = sname;
this.spno = spno;
this.spname = spname;
this.spcategory = spcategory;
this.spprice = spprice;
this.spquantity = spquantity;
this.availability = availability;
this.startingdate = startingdate;
this.enddate = enddate;
}





public int getSid() {
return sid;
}





public void setSid(int sid) {
this.sid = sid;
}





public String getSname() {
return sname;
}





public void setSname(String sname) {
this.sname = sname;
}





public int getSpno() {
return spno;
}





public void setSpno(int spno) {
this.spno = spno;
}





public String getSpname() {
return spname;
}





public void setSpname(String spname) {
this.spname = spname;
}





public String getSpcategory() {
return spcategory;
}





public void setSpcategory(String spcategory) {
this.spcategory = spcategory;
}





public int getSpprice() {
return spprice;
}





public void setSpprice(int spprice) {
this.spprice = spprice;
}





public int getSpquantity() {
return spquantity;
}





public void setSpquantity(int spquantity) {
this.spquantity = spquantity;
}





public boolean isAvailability() {
return availability;
}





public void setAvailability(boolean availability) {
this.availability = availability;
}





public Date getStartingdate() {
return startingdate;
}





public void setStartingdate(Date startingdate) {
this.startingdate = startingdate;
}





public Date getEnddate() {
return enddate;
}





public void setEnddate(Date enddate) {
this.enddate = enddate;
}





@Override
public String toString() {
return "SellProductAndSellerDTO [sid=" + sid + ", sname=" + sname + ", spno=" + spno + ", spname=" + spname
+ ", spcategory=" + spcategory + ", spprice=" + spprice + ", spquantity=" + spquantity
+ ", availability=" + availability + ", startingdate=" + startingdate + ", enddate=" + enddate + "]";
}



}
115 changes: 115 additions & 0 deletions muddled-can-9800/src/com/swapnil/bean/SellProductDTO.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
package com.swapnil.bean;

import java.sql.Date;

public class SellProductDTO {

private int spno;
private String spname;
private String spcategory;
private int spprice;
private Date startingDate;
private Date endDate;



public SellProductDTO() {
super();
}



public SellProductDTO(int spno, String spname, String spcategory, int spprice, Date startingDate, Date endDate) {
super();
this.spno = spno;
this.spname = spname;
this.spcategory = spcategory;
this.spprice = spprice;
this.startingDate = startingDate;
this.endDate = endDate;
}



public int getSpno() {
return spno;
}



public void setSpno(int spno) {
this.spno = spno;
}



public String getSpname() {
return spname;
}



public void setSpname(String spname) {
this.spname = spname;
}



public String getSpcategory() {
return spcategory;
}



public void setSpcategory(String spcategory) {
this.spcategory = spcategory;
}



public int getSpprice() {
return spprice;
}



public void setSpprice(int spprice) {
this.spprice = spprice;
}



public Date getStartingDate() {
return startingDate;
}



public void setStartingDate(Date startingDate) {
this.startingDate = startingDate;
}



public Date getEndDate() {
return endDate;
}



public void setEndDate(Date endDate) {
this.endDate = endDate;
}



@Override
public String toString() {
return "SellProductDTO [spno=" + spno + ", spname=" + spname + ", spcategory=" + spcategory + ", spprice="
+ spprice + ", startingDate=" + startingDate + ", endDate=" + endDate + "]";
}




}
Loading

0 comments on commit afea5b2

Please sign in to comment.