Skip to content
Snippets Groups Projects
Commit bb94c2bd authored by Haoyu Sun's avatar Haoyu Sun
Browse files

ExchangeItem class

parent cb165117
No related branches found
No related tags found
1 merge request!1Dev
package uk.ac.cf.spring.demo.takeaway.index;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class ExchangeItem {
private Long id;
private String name;
private String description;
private boolean ExchangeOrNot;
private boolean MoneyOrNot;
}
<header>
<div> i am header</div>
</header>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="../../static/lib/jquery.js"></script>
<script>
$(".header").load("templates/fragments/header.html", function (data, status, xhr) {});
</script>
</head>
<body>
<div class="header"></div>
<div>11111</div>
<div>2222</div>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment