parent
f90fdea64f
commit
23d4eb0193
@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AutoImportSettings">
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="4d66bacd-916f-480a-8401-85d28f7bab3b" name="更改" comment="" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="FileTemplateManagerImpl">
|
||||
<option name="RECENT_TEMPLATES">
|
||||
<list>
|
||||
<option value="spring-beans.schema" />
|
||||
<option value="Class" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="MarkdownSettingsMigration">
|
||||
<option name="stateVersion" value="1" />
|
||||
</component>
|
||||
<component name="ProjectColorInfo">{
|
||||
"customColor": "",
|
||||
"associatedIndex": 3
|
||||
}</component>
|
||||
<component name="ProjectId" id="3Cf7UY6LFDyamujoYT11BHg4U2F" />
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"kotlin-language-version-configured": "true",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "project.propVCSSupport.CommitDialog",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}]]></component>
|
||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="应用程序级" UseSingleDictionary="true" transferred="true" />
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="默认任务">
|
||||
<changelist id="4d66bacd-916f-480a-8401-85d28f7bab3b" name="更改" comment="" />
|
||||
<created>1776764786202</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1776764786202</updated>
|
||||
<workItem from="1776764787343" duration="187000" />
|
||||
<workItem from="1776765167580" duration="2587000" />
|
||||
<workItem from="1776818031017" duration="756000" />
|
||||
<workItem from="1777182061716" duration="608000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="bean">
|
||||
<option name="closed" value="true" />
|
||||
<created>1776764966023</created>
|
||||
<option name="number" value="00001" />
|
||||
<option name="presentableId" value="LOCAL-00001" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1776764966023</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="2" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="3" />
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="bean" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="bean" />
|
||||
</component>
|
||||
</project>
|
||||
@ -0,0 +1,127 @@
|
||||
package com.ssm.aop.xml;
|
||||
|
||||
public class Product {
|
||||
private Integer pid;
|
||||
|
||||
private String pname;
|
||||
|
||||
private Double marketPrice;
|
||||
|
||||
private Double shopPrice;
|
||||
|
||||
private String image;
|
||||
|
||||
private String pdesc;
|
||||
|
||||
private Integer isHot;
|
||||
|
||||
private String pdate;
|
||||
|
||||
private Category category;
|
||||
|
||||
private Integer state;
|
||||
|
||||
public Integer getState() {
|
||||
return state;
|
||||
}
|
||||
|
||||
public void setState(Integer state) {
|
||||
this.state = state;
|
||||
}
|
||||
|
||||
public Integer getPid() {
|
||||
return pid;
|
||||
}
|
||||
|
||||
public void setPid(Integer pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
|
||||
public String getPname() {
|
||||
return pname;
|
||||
}
|
||||
|
||||
public void setPname(String pname) {
|
||||
this.pname = pname == null ? null : pname.trim();
|
||||
}
|
||||
|
||||
public Double getMarketPrice() {
|
||||
return marketPrice;
|
||||
}
|
||||
|
||||
public void setMarketPrice(Double marketPrice) {
|
||||
this.marketPrice = marketPrice;
|
||||
}
|
||||
|
||||
public Double getShopPrice() {
|
||||
return shopPrice;
|
||||
}
|
||||
|
||||
public void setShopPrice(Double shopPrice) {
|
||||
this.shopPrice = shopPrice;
|
||||
}
|
||||
|
||||
public String getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(String image) {
|
||||
this.image = image == null ? null : image.trim();
|
||||
}
|
||||
|
||||
public String getPdesc() {
|
||||
return pdesc;
|
||||
}
|
||||
|
||||
public void setPdesc(String pdesc) {
|
||||
this.pdesc = pdesc == null ? null : pdesc.trim();
|
||||
}
|
||||
|
||||
public Integer getIsHot() {
|
||||
return isHot;
|
||||
}
|
||||
|
||||
public void setIsHot(Integer isHot) {
|
||||
this.isHot = isHot;
|
||||
}
|
||||
|
||||
public String getPdate() {
|
||||
return pdate;
|
||||
}
|
||||
|
||||
public void setPdate(String pdate) {
|
||||
this.pdate = pdate;
|
||||
}
|
||||
|
||||
public Category getCategory() {
|
||||
return category;
|
||||
}
|
||||
|
||||
public void setCategory(Category category) {
|
||||
this.category = category;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Product{" +
|
||||
"pid=" + pid +
|
||||
", pname='" + pname + '\'' +
|
||||
", marketPrice=" + marketPrice +
|
||||
", shopPrice=" + shopPrice +
|
||||
", image='" + image + '\'' +
|
||||
", pdesc='" + pdesc + '\'' +
|
||||
", isHot=" + isHot +
|
||||
", pdate=" + pdate +
|
||||
", categoryName=" + category.getCname() +
|
||||
", state=" + state +
|
||||
'}';
|
||||
}
|
||||
|
||||
public void printInfo() {
|
||||
System.out.println("产品名称:" + pname);
|
||||
System.out.println("产品售价:" + shopPrice);
|
||||
System.out.println("分类编号:" + category.getCid());
|
||||
System.out.println("分类名称:" + category.getCname());
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in new issue