Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package marketmanagement.model;
- public class ProductDetail {
- private Integer productId;
- private String productCode;
- private String productName;
- private String productPrice;
- private Integer productQuntity;
- private String productDescription;
- private Integer userId;
- private String UserName;
- public Integer getProductId() {
- return productId;
- }
- public void setProductId(Integer productId) {
- this.productId = productId;
- }
- public String getProductCode() {
- return productCode;
- }
- public void setProductCode(String productCode) {
- this.productCode = productCode;
- }
- public String getProductName() {
- return productName;
- }
- public void setProductName(String productName) {
- this.productName = productName;
- }
- public String getProductPrice() {
- return productPrice;
- }
- public void setProductPrice(String productPrice) {
- this.productPrice = productPrice;
- }
- public Integer getProductQuntity() {
- return productQuntity;
- }
- public void setProductQuntity(Integer productQuntity) {
- this.productQuntity = productQuntity;
- }
- public Integer getUserId() {
- return userId;
- }
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
- public String getUserName() {
- return UserName;
- }
- public void setUserName(String userName) {
- UserName = userName;
- }
- public String getProductDescription() {
- return productDescription;
- }
- public void setProductDescription(String productDescription) {
- this.productDescription = productDescription;
- }
- @Override
- public String toString() {
- return "ProductDetail [productId=" + productId + ", productCode=" + productCode + ", productName=" + productName
- + ", productPrice=" + productPrice + ", productQuntity=" + productQuntity + ", productDescription="
- + productDescription + ", userId=" + userId + ", UserName=" + UserName + "]";
- }
- }
- package marketmanagement.model;
- public class PurchaseProduct {
- //purchaseId, productCode, productName, productPrice, productQuntity, total, productId, userName
- private Integer purchaseId;
- private String productCode;
- private String productName;
- private Integer productPrice;
- private Integer productQuntity;
- private Integer total;
- private Integer productId;
- private String seller;
- private Integer userId;
- private String UserName;
- public Integer getPurchaseId() {
- return purchaseId;
- }
- public void setPurchaseId(Integer purchaseId) {
- this.purchaseId = purchaseId;
- }
- public String getProductCode() {
- return productCode;
- }
- public void setProductCode(String productCode) {
- this.productCode = productCode;
- }
- public String getProductName() {
- return productName;
- }
- public void setProductName(String productName) {
- this.productName = productName;
- }
- public Integer getProductPrice() {
- return productPrice;
- }
- public void setProductPrice(Integer productPrice) {
- this.productPrice = productPrice;
- }
- public Integer getProductQuntity() {
- return productQuntity;
- }
- public void setProductQuntity(Integer productQuntity) {
- this.productQuntity = productQuntity;
- }
- public Integer getTotal() {
- return total;
- }
- public void setTotal(Integer total) {
- this.total = total;
- }
- public Integer getProductId() {
- return productId;
- }
- public void setProductId(Integer productId) {
- this.productId = productId;
- }
- public Integer getUserId() {
- return userId;
- }
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
- public String getUserName() {
- return UserName;
- }
- public void setUserName(String userName) {
- UserName = userName;
- }
- public String getSeller() {
- return seller;
- }
- public void setSeller(String seller) {
- this.seller = seller;
- }
- }
- package marketmanagement.model;
- public class UserManagement {
- private Integer userId;
- private String userName;
- private String email;
- private String password;
- private String phoneNo;
- private String dateOfBirth;
- private String balance;
- private Integer roleId;
- private String roleName;
- public Integer getUserId() {
- return userId;
- }
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
- public String getUserName() {
- return userName;
- }
- public void setUserName(String userName) {
- this.userName = userName;
- }
- public String getEmail() {
- return email;
- }
- public void setEmail(String email) {
- this.email = email;
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- public String getPhoneNo() {
- return phoneNo;
- }
- public void setPhoneNo(String phoneNo) {
- this.phoneNo = phoneNo;
- }
- public String getDateOfBirth() {
- return dateOfBirth;
- }
- public void setDateOfBirth(String dateOfBirth) {
- this.dateOfBirth = dateOfBirth;
- }
- public String getBalance() {
- return balance;
- }
- public void setBalance(String balance) {
- this.balance = balance;
- }
- public Integer getRoleId() {
- return roleId;
- }
- public void setRoleId(Integer roleId) {
- this.roleId = roleId;
- }
- public String getRoleName() {
- return roleName;
- }
- public void setRoleName(String roleName) {
- this.roleName = roleName;
- }
- }
- package marketmanagement.model;
- public class RoleMaster {
- private Integer roleId;
- private String roleName;
- private String roleDescription;
- public Integer getRoleId() {
- return roleId;
- }
- public void setRoleId(Integer roleId) {
- this.roleId = roleId;
- }
- public String getRoleName() {
- return roleName;
- }
- public void setRoleName(String roleName) {
- this.roleName = roleName;
- }
- public String getRoleDescription() {
- return roleDescription;
- }
- public void setRoleDescription(String roleDescription) {
- this.roleDescription = roleDescription;
- }
- @Override
- public String toString() {
- // TODO Auto-generated method stub
- return "RoleMaster [roleId="+ roleId +",roleName="+ roleName +",roleDescription="+ roleDescription +"]";
- }
- }
Add Comment
Please, Sign In to add comment