7 changed files with 117 additions and 1 deletions
-
BINcommunityHallDocuments/hallImages/functionhall2.jpg
-
BINcommunityHallDocuments/hallImages/functionhall4.jpg
-
4src/main/java/com/gcc/communityHall/configuration/WebConfig.java
-
10src/main/java/com/gcc/communityHall/controller/TestController.java
-
52src/main/java/com/gcc/communityHall/dto/DamageDTO.java
-
37src/main/java/com/gcc/communityHall/dto/saveEbDetailsAndDamage.java
-
15src/main/java/com/gcc/communityHall/service/Impl/ReasonMasterImpl.java
|
After Width: 192 | Height: 148 | Size: 6.0 KiB |
|
After Width: 250 | Height: 148 | Size: 12 KiB |
@ -0,0 +1,52 @@ |
|||||
|
package com.gcc.communityHall.dto; |
||||
|
|
||||
|
import org.springframework.web.multipart.MultipartFile; |
||||
|
|
||||
|
public class DamageDTO { |
||||
|
|
||||
|
private String assetName; |
||||
|
private String comments; |
||||
|
private MultipartFile assetImage; |
||||
|
private int quantity; |
||||
|
private float assetAmount; |
||||
|
|
||||
|
public String getAssetName() { |
||||
|
return assetName; |
||||
|
} |
||||
|
|
||||
|
public void setAssetName(String assetName) { |
||||
|
this.assetName = assetName; |
||||
|
} |
||||
|
|
||||
|
public String getComments() { |
||||
|
return comments; |
||||
|
} |
||||
|
|
||||
|
public void setComments(String comments) { |
||||
|
this.comments = comments; |
||||
|
} |
||||
|
|
||||
|
public MultipartFile getAssetImage() { |
||||
|
return assetImage; |
||||
|
} |
||||
|
|
||||
|
public void setAssetImage(MultipartFile assetImage) { |
||||
|
this.assetImage = assetImage; |
||||
|
} |
||||
|
|
||||
|
public int getQuantity() { |
||||
|
return quantity; |
||||
|
} |
||||
|
|
||||
|
public void setQuantity(int quantity) { |
||||
|
this.quantity = quantity; |
||||
|
} |
||||
|
|
||||
|
public float getAssetAmount() { |
||||
|
return assetAmount; |
||||
|
} |
||||
|
|
||||
|
public void setAssetAmount(float assetAmount) { |
||||
|
this.assetAmount = assetAmount; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,37 @@ |
|||||
|
package com.gcc.communityHall.dto; |
||||
|
|
||||
|
import com.gcc.communityHall.entity.EbDetails; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
public class saveEbDetailsAndDamage { |
||||
|
|
||||
|
private int bookingId; |
||||
|
private EbDetails ebDetails; |
||||
|
|
||||
|
private List<DamageDTO> damage; |
||||
|
|
||||
|
public int getBookingId() { |
||||
|
return bookingId; |
||||
|
} |
||||
|
|
||||
|
public void setBookingId(int bookingId) { |
||||
|
this.bookingId = bookingId; |
||||
|
} |
||||
|
|
||||
|
public EbDetails getEbDetails() { |
||||
|
return ebDetails; |
||||
|
} |
||||
|
|
||||
|
public void setEbDetails(EbDetails ebDetails) { |
||||
|
this.ebDetails = ebDetails; |
||||
|
} |
||||
|
|
||||
|
public List<DamageDTO> getDamage() { |
||||
|
return damage; |
||||
|
} |
||||
|
|
||||
|
public void setDamage(List<DamageDTO> damage) { |
||||
|
this.damage = damage; |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue