Changeset cd2209e
- Timestamp:
- 01/04/23 22:22:05 (23 months ago)
- Branches:
- main
- Children:
- f11774e
- Parents:
- e3df201
- Location:
- FullyStocked
- Files:
-
- 28 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
FullyStocked/pom.xml
re3df201 rcd2209e 54 54 <version>2.0.2</version> 55 55 </dependency> 56 <dependency> 57 <groupId>org.springframework.security</groupId> 58 <artifactId>spring-security-crypto</artifactId> 59 <version>5.7.5</version> 60 </dependency> 56 61 </dependencies> 57 62 -
FullyStocked/src/main/java/com/bazi/fullystocked/FullyStockedApplication.java
re3df201 rcd2209e 3 3 import org.springframework.boot.SpringApplication; 4 4 import org.springframework.boot.autoconfigure.SpringBootApplication; 5 import org.springframework.context.annotation.Bean; 6 import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; 7 import org.springframework.security.crypto.password.PasswordEncoder; 5 8 6 9 @SpringBootApplication … … 11 14 } 12 15 16 @Bean 17 PasswordEncoder passwordEncoder() 18 { 19 return new BCryptPasswordEncoder(10); 20 } 21 22 13 23 } -
FullyStocked/src/main/java/com/bazi/fullystocked/Models/Answers.java
re3df201 rcd2209e 22 22 private String answertext; 23 23 24 public Answers( String answertext) {24 public Answers(Questions question, String answertext) { 25 25 this.datecreated = LocalDateTime.now(); 26 26 this.answertext = answertext; 27 answerId.setQuestion(question); 27 28 } 28 29 } -
FullyStocked/src/main/java/com/bazi/fullystocked/Models/Enumerations/OrderStatus.java
re3df201 rcd2209e 7 7 IN_PROGRESS("In progress"), 8 8 DELIVERED("Delivered"), 9 REJECTED("Rejected"); 9 REJECTED("Rejected"), 10 PROCESSED("Processed"); 10 11 private String name; 11 12 -
FullyStocked/src/main/java/com/bazi/fullystocked/Models/Invoices.java
re3df201 rcd2209e 44 44 this.city = city; 45 45 this.worker = worker; 46 this.datecreate=LocalDateTime.now(); 46 47 } 47 48 } -
FullyStocked/src/main/java/com/bazi/fullystocked/Models/SqlViews/ArticlesReport.java
re3df201 rcd2209e 12 12 public class ArticlesReport { 13 13 @Id 14 private Integer sarticleid; 14 15 private Integer articleid; 15 16 private String articlename; -
FullyStocked/src/main/java/com/bazi/fullystocked/Models/Workers.java
re3df201 rcd2209e 22 22 this.location = location; 23 23 } 24 public Workers(String firstname, String lastname, String username, String email, String password) { 25 super(firstname, lastname, username, email, password); 26 } 24 27 }
Note:
See TracChangeset
for help on using the changeset viewer.