升级代码结构,采用Maven来管理jar包(10)
This commit is contained in:
90
src/main/java/com/jsh/model/po/Account.java
Normal file
90
src/main/java/com/jsh/model/po/Account.java
Normal file
@@ -0,0 +1,90 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Account implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Name;
|
||||
private String SerialNo;
|
||||
private Double InitialAmount;
|
||||
private Double CurrentAmount;
|
||||
private String Remark;
|
||||
|
||||
public Account()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Account(Long Id)
|
||||
{
|
||||
this.Id = Id;
|
||||
}
|
||||
|
||||
public Account(String name, String serialNo, Double initialAmount, Double currentAmount, String remark) {
|
||||
Name = name;
|
||||
SerialNo = serialNo;
|
||||
InitialAmount = initialAmount;
|
||||
CurrentAmount = currentAmount;
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setName(String name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
|
||||
public void setSerialNo(String serialNo)
|
||||
{
|
||||
SerialNo = serialNo;
|
||||
}
|
||||
|
||||
public String getSerialNo()
|
||||
{
|
||||
return SerialNo;
|
||||
}
|
||||
|
||||
public void setInitialAmount(Double initialAmount)
|
||||
{
|
||||
InitialAmount = initialAmount;
|
||||
}
|
||||
|
||||
public Double getInitialAmount()
|
||||
{
|
||||
return InitialAmount;
|
||||
}
|
||||
|
||||
public void setCurrentAmount(Double currentAmount)
|
||||
{
|
||||
CurrentAmount = currentAmount;
|
||||
}
|
||||
|
||||
public Double getCurrentAmount()
|
||||
{
|
||||
return CurrentAmount;
|
||||
}
|
||||
|
||||
public void setRemark(String remark)
|
||||
{
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public String getRemark()
|
||||
{
|
||||
return Remark;
|
||||
}
|
||||
}
|
||||
143
src/main/java/com/jsh/model/po/AccountHead.java
Normal file
143
src/main/java/com/jsh/model/po/AccountHead.java
Normal file
@@ -0,0 +1,143 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class AccountHead implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Type;
|
||||
private Supplier OrganId;
|
||||
private Person HandsPersonId;
|
||||
private Double ChangeAmount;
|
||||
private Double TotalPrice;
|
||||
private Account AccountId;
|
||||
private String BillNo;
|
||||
private Timestamp BillTime;
|
||||
private String Remark;
|
||||
|
||||
public AccountHead()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public AccountHead(Long Id)
|
||||
{
|
||||
this.Id = Id ;
|
||||
}
|
||||
|
||||
public AccountHead(String type, Supplier organId,
|
||||
Person handsPersonId, Double changeAmount, Double totalPrice,
|
||||
Account accountId, String billNo, Timestamp billTime, String remark)
|
||||
{
|
||||
super();
|
||||
Type = type;
|
||||
OrganId = organId;
|
||||
HandsPersonId = handsPersonId;
|
||||
ChangeAmount = changeAmount;
|
||||
TotalPrice = totalPrice;
|
||||
AccountId = accountId;
|
||||
BillNo = billNo;
|
||||
BillTime = billTime;
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setType(String type)
|
||||
{
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public String getType()
|
||||
{
|
||||
return Type;
|
||||
}
|
||||
|
||||
public void setOrganId(Supplier organId)
|
||||
{
|
||||
OrganId = organId;
|
||||
}
|
||||
|
||||
public Supplier getOrganId()
|
||||
{
|
||||
return OrganId;
|
||||
}
|
||||
|
||||
public void setHandsPersonId(Person handsPersonId)
|
||||
{
|
||||
HandsPersonId = handsPersonId;
|
||||
}
|
||||
|
||||
public Person getHandsPersonId()
|
||||
{
|
||||
return HandsPersonId;
|
||||
}
|
||||
|
||||
public void setChangeAmount(Double changeAmount)
|
||||
{
|
||||
ChangeAmount = changeAmount;
|
||||
}
|
||||
|
||||
public Double getChangeAmount()
|
||||
{
|
||||
return ChangeAmount;
|
||||
}
|
||||
|
||||
public void setTotalPrice(Double totalPrice) {
|
||||
TotalPrice = totalPrice;
|
||||
}
|
||||
|
||||
public Double getTotalPrice() {
|
||||
return TotalPrice;
|
||||
}
|
||||
|
||||
public void setAccountId(Account accountId)
|
||||
{
|
||||
AccountId = accountId;
|
||||
}
|
||||
|
||||
public Account getAccountId()
|
||||
{
|
||||
return AccountId;
|
||||
}
|
||||
|
||||
public void setBillNo(String billNo)
|
||||
{
|
||||
BillNo = billNo;
|
||||
}
|
||||
|
||||
public String getBillNo()
|
||||
{
|
||||
return BillNo;
|
||||
}
|
||||
|
||||
public void setBillTime(Timestamp billTime)
|
||||
{
|
||||
BillTime = billTime;
|
||||
}
|
||||
|
||||
public Timestamp getBillTime()
|
||||
{
|
||||
return BillTime;
|
||||
}
|
||||
|
||||
public void setRemark(String remark)
|
||||
{
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public String getRemark()
|
||||
{
|
||||
return Remark;
|
||||
}
|
||||
|
||||
}
|
||||
94
src/main/java/com/jsh/model/po/AccountItem.java
Normal file
94
src/main/java/com/jsh/model/po/AccountItem.java
Normal file
@@ -0,0 +1,94 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class AccountItem implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private AccountHead HeaderId;
|
||||
private Account AccountId;
|
||||
private InOutItem InOutItemId;
|
||||
private Double EachAmount;
|
||||
private String Remark;
|
||||
|
||||
public AccountItem()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public AccountItem(Long Id)
|
||||
{
|
||||
this.Id = Id ;
|
||||
}
|
||||
|
||||
public AccountItem(AccountHead headerId, Account accountId,
|
||||
InOutItem inOutItemId, Double eachAmount, String remark)
|
||||
{
|
||||
super();
|
||||
HeaderId = headerId;
|
||||
AccountId = accountId;
|
||||
InOutItemId = inOutItemId;
|
||||
EachAmount = eachAmount;
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setHeaderId(AccountHead headerId)
|
||||
{
|
||||
HeaderId = headerId;
|
||||
}
|
||||
|
||||
public AccountHead getHeaderId()
|
||||
{
|
||||
return HeaderId;
|
||||
}
|
||||
|
||||
public void setAccountId(Account accountId)
|
||||
{
|
||||
AccountId = accountId;
|
||||
}
|
||||
|
||||
public Account getAccountId()
|
||||
{
|
||||
return AccountId;
|
||||
}
|
||||
|
||||
public void setInOutItemId(InOutItem inOutItemId)
|
||||
{
|
||||
InOutItemId = inOutItemId;
|
||||
}
|
||||
|
||||
public InOutItem getInOutItemId()
|
||||
{
|
||||
return InOutItemId;
|
||||
}
|
||||
|
||||
public void setEachAmount(Double eachAmount)
|
||||
{
|
||||
EachAmount = eachAmount;
|
||||
}
|
||||
|
||||
public Double getEachAmount()
|
||||
{
|
||||
return EachAmount;
|
||||
}
|
||||
|
||||
public void setRemark(String remark)
|
||||
{
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public String getRemark()
|
||||
{
|
||||
return Remark;
|
||||
}
|
||||
|
||||
}
|
||||
174
src/main/java/com/jsh/model/po/App.java
Normal file
174
src/main/java/com/jsh/model/po/App.java
Normal file
@@ -0,0 +1,174 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class App implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Number;
|
||||
private String Name;
|
||||
private String Type;
|
||||
private String Icon;
|
||||
private String URL;
|
||||
private String Width;
|
||||
private String Height;
|
||||
private Boolean ReSize;
|
||||
private Boolean OpenMax;
|
||||
private Boolean Flash;
|
||||
private String ZL;
|
||||
private String Sort;
|
||||
private String Remark;
|
||||
private Boolean Enabled;
|
||||
|
||||
|
||||
public App()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public App(Long Id)
|
||||
{
|
||||
this.Id = Id ;
|
||||
}
|
||||
|
||||
public App(String Number, String Name, String Type, String Icon, String URL, String Width,
|
||||
String Height, Boolean ReSize, Boolean OpenMax, Boolean Flash, String ZL, String Sort,
|
||||
String Remark, Boolean Enabled)
|
||||
{
|
||||
this.Number = Number;
|
||||
this.Name = Name;
|
||||
this.Type = Type;
|
||||
this.Icon = Icon;
|
||||
this.URL = URL;
|
||||
this.Width = Width;
|
||||
this.Height = Height;
|
||||
this.ReSize = ReSize;
|
||||
this.OpenMax = OpenMax;
|
||||
this.Flash = Flash;
|
||||
this.ZL = ZL;
|
||||
this.Sort = Sort;
|
||||
this.Remark = Remark;
|
||||
this.Enabled = Enabled;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public String getNumber() {
|
||||
return Number;
|
||||
}
|
||||
|
||||
public void setNumber(String number) {
|
||||
Number = number;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return Name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return Type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return Icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
Icon = icon;
|
||||
}
|
||||
|
||||
public String getURL() {
|
||||
return URL;
|
||||
}
|
||||
|
||||
public void setURL(String uRL) {
|
||||
URL = uRL;
|
||||
}
|
||||
|
||||
public String getWidth() {
|
||||
return Width;
|
||||
}
|
||||
|
||||
public void setWidth(String width) {
|
||||
Width = width;
|
||||
}
|
||||
|
||||
public String getHeight() {
|
||||
return Height;
|
||||
}
|
||||
|
||||
public void setHeight(String height) {
|
||||
Height = height;
|
||||
}
|
||||
|
||||
public Boolean getReSize() {
|
||||
return ReSize;
|
||||
}
|
||||
|
||||
public void setReSize(Boolean reSize) {
|
||||
ReSize = reSize;
|
||||
}
|
||||
|
||||
public Boolean getOpenMax() {
|
||||
return OpenMax;
|
||||
}
|
||||
|
||||
public void setOpenMax(Boolean openMax) {
|
||||
OpenMax = openMax;
|
||||
}
|
||||
|
||||
public Boolean getFlash() {
|
||||
return Flash;
|
||||
}
|
||||
|
||||
public void setFlash(Boolean flash) {
|
||||
Flash = flash;
|
||||
}
|
||||
|
||||
public String getZL() {
|
||||
return ZL;
|
||||
}
|
||||
|
||||
public void setZL(String zL) {
|
||||
ZL = zL;
|
||||
}
|
||||
|
||||
public String getSort() {
|
||||
return Sort;
|
||||
}
|
||||
|
||||
public void setSort(String sort) {
|
||||
Sort = sort;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public Boolean getEnabled() {
|
||||
return Enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(Boolean enabled) {
|
||||
Enabled = enabled;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
379
src/main/java/com/jsh/model/po/Asset.java
Normal file
379
src/main/java/com/jsh/model/po/Asset.java
Normal file
@@ -0,0 +1,379 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Map;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Asset implements java.io.Serializable
|
||||
{
|
||||
private Long id;
|
||||
private Assetname assetname;
|
||||
private String location;
|
||||
private Short status;
|
||||
private Basicuser user;
|
||||
private Double price;
|
||||
private Timestamp purchasedate;
|
||||
private Timestamp periodofvalidity;
|
||||
private Timestamp warrantydate;
|
||||
private String assetnum;
|
||||
private String serialnum;
|
||||
private Supplier supplier;
|
||||
private String labels;
|
||||
private String description;
|
||||
private String addMonth;
|
||||
private Timestamp createtime;
|
||||
private Basicuser creator;
|
||||
private Timestamp updatetime;
|
||||
private Basicuser updator;
|
||||
|
||||
//----------以下属性导入exel表格使用--------------------
|
||||
/**
|
||||
* 类型 right--正确 warn--警告 wrong--错误
|
||||
*/
|
||||
private Map<Integer,String> cellInfo;
|
||||
|
||||
/**
|
||||
* 行号
|
||||
*/
|
||||
private Integer rowLineNum;
|
||||
|
||||
/**
|
||||
* 保存价格
|
||||
*/
|
||||
private String priceStr;
|
||||
|
||||
/**
|
||||
* 资产名称
|
||||
*/
|
||||
private String assetnameStr;
|
||||
|
||||
/**
|
||||
* 资产类型
|
||||
*/
|
||||
private String category;
|
||||
|
||||
/**
|
||||
* 购买日期
|
||||
*/
|
||||
private String purchasedateStr;
|
||||
|
||||
/**
|
||||
* 有效日期
|
||||
*/
|
||||
private String periodofvalidityStr;
|
||||
|
||||
/**
|
||||
* 保修日期
|
||||
*/
|
||||
private String warrantydateStr;
|
||||
|
||||
public Asset()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Asset(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Asset(Assetname assetname, String location,
|
||||
Short status, Basicuser user, Double price, Timestamp purchasedate,
|
||||
Timestamp periodofvalidity, Timestamp warrantydate,
|
||||
String assetnum, String serialnum, Supplier supplier,
|
||||
String description, Timestamp createtime, Basicuser creator,
|
||||
Timestamp updatetime,String labels, Basicuser updator,String addMonth)
|
||||
{
|
||||
super();
|
||||
this.assetname = assetname;
|
||||
this.location = location;
|
||||
this.status = status;
|
||||
this.user = user;
|
||||
this.price = price;
|
||||
this.purchasedate = purchasedate;
|
||||
this.periodofvalidity = periodofvalidity;
|
||||
this.warrantydate = warrantydate;
|
||||
this.assetnum = assetnum;
|
||||
this.serialnum = serialnum;
|
||||
this.supplier = supplier;
|
||||
this.description = description;
|
||||
this.createtime = createtime;
|
||||
this.creator = creator;
|
||||
this.updatetime = updatetime;
|
||||
this.updator = updator;
|
||||
this.labels = labels;
|
||||
this.addMonth = addMonth;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Assetname getAssetname()
|
||||
{
|
||||
return assetname;
|
||||
}
|
||||
|
||||
public void setAssetname(Assetname assetname)
|
||||
{
|
||||
this.assetname = assetname;
|
||||
}
|
||||
|
||||
public String getLocation()
|
||||
{
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(String location)
|
||||
{
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public Short getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Basicuser getUser()
|
||||
{
|
||||
return user;
|
||||
}
|
||||
|
||||
public void setUser(Basicuser user)
|
||||
{
|
||||
this.user = user;
|
||||
}
|
||||
|
||||
public Double getPrice()
|
||||
{
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(Double price)
|
||||
{
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public Timestamp getPurchasedate()
|
||||
{
|
||||
return purchasedate;
|
||||
}
|
||||
|
||||
public void setPurchasedate(Timestamp purchasedate)
|
||||
{
|
||||
this.purchasedate = purchasedate;
|
||||
}
|
||||
|
||||
public Timestamp getPeriodofvalidity()
|
||||
{
|
||||
return periodofvalidity;
|
||||
}
|
||||
|
||||
public void setPeriodofvalidity(Timestamp periodofvalidity)
|
||||
{
|
||||
this.periodofvalidity = periodofvalidity;
|
||||
}
|
||||
|
||||
public Timestamp getWarrantydate()
|
||||
{
|
||||
return warrantydate;
|
||||
}
|
||||
|
||||
public void setWarrantydate(Timestamp warrantydate)
|
||||
{
|
||||
this.warrantydate = warrantydate;
|
||||
}
|
||||
|
||||
public String getAssetnum()
|
||||
{
|
||||
return assetnum;
|
||||
}
|
||||
|
||||
public void setAssetnum(String assetnum)
|
||||
{
|
||||
this.assetnum = assetnum;
|
||||
}
|
||||
|
||||
public String getSerialnum()
|
||||
{
|
||||
return serialnum;
|
||||
}
|
||||
|
||||
public void setSerialnum(String serialnum)
|
||||
{
|
||||
this.serialnum = serialnum;
|
||||
}
|
||||
|
||||
public Supplier getSupplier()
|
||||
{
|
||||
return supplier;
|
||||
}
|
||||
|
||||
public void setSupplier(Supplier supplier)
|
||||
{
|
||||
this.supplier = supplier;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Timestamp getCreatetime()
|
||||
{
|
||||
return createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(Timestamp createtime)
|
||||
{
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public Basicuser getCreator()
|
||||
{
|
||||
return creator;
|
||||
}
|
||||
|
||||
public void setCreator(Basicuser creator)
|
||||
{
|
||||
this.creator = creator;
|
||||
}
|
||||
|
||||
public Timestamp getUpdatetime()
|
||||
{
|
||||
return updatetime;
|
||||
}
|
||||
|
||||
public void setUpdatetime(Timestamp updatetime)
|
||||
{
|
||||
this.updatetime = updatetime;
|
||||
}
|
||||
|
||||
public Basicuser getUpdator()
|
||||
{
|
||||
return updator;
|
||||
}
|
||||
|
||||
public void setUpdator(Basicuser updator)
|
||||
{
|
||||
this.updator = updator;
|
||||
}
|
||||
|
||||
public String getLabels()
|
||||
{
|
||||
return labels;
|
||||
}
|
||||
|
||||
public void setLabels(String labels)
|
||||
{
|
||||
this.labels = labels;
|
||||
}
|
||||
|
||||
public String getAddMonth()
|
||||
{
|
||||
return addMonth;
|
||||
}
|
||||
|
||||
public void setAddMonth(String addMonth)
|
||||
{
|
||||
this.addMonth = addMonth;
|
||||
}
|
||||
|
||||
public Integer getRowLineNum()
|
||||
{
|
||||
return rowLineNum;
|
||||
}
|
||||
|
||||
public void setRowLineNum(Integer rowLineNum)
|
||||
{
|
||||
this.rowLineNum = rowLineNum;
|
||||
}
|
||||
|
||||
public Map<Integer, String> getCellInfo()
|
||||
{
|
||||
return cellInfo;
|
||||
}
|
||||
|
||||
public void setCellInfo(Map<Integer, String> cellInfo)
|
||||
{
|
||||
this.cellInfo = cellInfo;
|
||||
}
|
||||
|
||||
public String getPriceStr()
|
||||
{
|
||||
return priceStr;
|
||||
}
|
||||
|
||||
public void setPriceStr(String priceStr)
|
||||
{
|
||||
this.priceStr = priceStr;
|
||||
}
|
||||
|
||||
public String getAssetnameStr()
|
||||
{
|
||||
return assetnameStr;
|
||||
}
|
||||
|
||||
public void setAssetnameStr(String assetnameStr)
|
||||
{
|
||||
this.assetnameStr = assetnameStr;
|
||||
}
|
||||
|
||||
public String getCategory()
|
||||
{
|
||||
return category;
|
||||
}
|
||||
|
||||
public void setCategory(String category)
|
||||
{
|
||||
this.category = category;
|
||||
}
|
||||
|
||||
public String getPurchasedateStr()
|
||||
{
|
||||
return purchasedateStr;
|
||||
}
|
||||
|
||||
public void setPurchasedateStr(String purchasedateStr)
|
||||
{
|
||||
this.purchasedateStr = purchasedateStr;
|
||||
}
|
||||
|
||||
public String getPeriodofvalidityStr()
|
||||
{
|
||||
return periodofvalidityStr;
|
||||
}
|
||||
|
||||
public void setPeriodofvalidityStr(String periodofvalidityStr)
|
||||
{
|
||||
this.periodofvalidityStr = periodofvalidityStr;
|
||||
}
|
||||
|
||||
public String getWarrantydateStr()
|
||||
{
|
||||
return warrantydateStr;
|
||||
}
|
||||
|
||||
public void setWarrantydateStr(String warrantydateStr)
|
||||
{
|
||||
this.warrantydateStr = warrantydateStr;
|
||||
}
|
||||
}
|
||||
67
src/main/java/com/jsh/model/po/Assetcategory.java
Normal file
67
src/main/java/com/jsh/model/po/Assetcategory.java
Normal file
@@ -0,0 +1,67 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Assetcategory implements java.io.Serializable
|
||||
{
|
||||
private Long id;
|
||||
private String assetname;
|
||||
private Short isystem;
|
||||
private String description;
|
||||
|
||||
public Assetcategory()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Assetcategory(Long id)
|
||||
{
|
||||
this.id = id ;
|
||||
}
|
||||
|
||||
public Assetcategory(String assetname, Short isystem, String description)
|
||||
{
|
||||
this.assetname = assetname;
|
||||
this.isystem = isystem;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getAssetname()
|
||||
{
|
||||
return this.assetname;
|
||||
}
|
||||
|
||||
public void setAssetname(String assetname)
|
||||
{
|
||||
this.assetname = assetname;
|
||||
}
|
||||
|
||||
public Short getIsystem()
|
||||
{
|
||||
return this.isystem;
|
||||
}
|
||||
|
||||
public void setIsystem(Short isystem)
|
||||
{
|
||||
this.isystem = isystem;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
93
src/main/java/com/jsh/model/po/Assetname.java
Normal file
93
src/main/java/com/jsh/model/po/Assetname.java
Normal file
@@ -0,0 +1,93 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Assetname implements java.io.Serializable
|
||||
{
|
||||
private Long id;
|
||||
private String assetname;
|
||||
private Short isystem;
|
||||
private Category category;
|
||||
private String description;
|
||||
private Short isconsumables;
|
||||
|
||||
public Assetname()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Assetname(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Assetname(String assetname, Short isystem, String description,
|
||||
Short isconsumables,Category category)
|
||||
{
|
||||
this.assetname = assetname;
|
||||
this.isystem = isystem;
|
||||
this.description = description;
|
||||
this.isconsumables = isconsumables;
|
||||
this.category = category;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getAssetname()
|
||||
{
|
||||
return this.assetname;
|
||||
}
|
||||
|
||||
public void setAssetname(String assetname)
|
||||
{
|
||||
this.assetname = assetname;
|
||||
}
|
||||
|
||||
public Short getIsystem()
|
||||
{
|
||||
return this.isystem;
|
||||
}
|
||||
|
||||
public void setIsystem(Short isystem)
|
||||
{
|
||||
this.isystem = isystem;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Short getIsconsumables()
|
||||
{
|
||||
return this.isconsumables;
|
||||
}
|
||||
|
||||
public void setIsconsumables(Short isconsumables)
|
||||
{
|
||||
this.isconsumables = isconsumables;
|
||||
}
|
||||
|
||||
public Category getCategory()
|
||||
{
|
||||
return category;
|
||||
}
|
||||
|
||||
public void setCategory(Category category)
|
||||
{
|
||||
this.category = category;
|
||||
}
|
||||
|
||||
}
|
||||
177
src/main/java/com/jsh/model/po/Basicuser.java
Normal file
177
src/main/java/com/jsh/model/po/Basicuser.java
Normal file
@@ -0,0 +1,177 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Basicuser implements java.io.Serializable
|
||||
{
|
||||
private Long id;
|
||||
private String username;
|
||||
private String loginame;
|
||||
private String password;
|
||||
private String position;
|
||||
private String department;
|
||||
private String email;
|
||||
private String phonenum;
|
||||
private Short ismanager;
|
||||
private Short isystem;
|
||||
private Short status;
|
||||
private String description;
|
||||
private String remark;
|
||||
|
||||
public Basicuser()
|
||||
{
|
||||
}
|
||||
|
||||
public Basicuser(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Basicuser(String username, String loginame, String password,
|
||||
String position, String department, String email, String phonenum,
|
||||
Short ismanager, Short isystem, Short status, String description,
|
||||
String remark)
|
||||
{
|
||||
this.username = username;
|
||||
this.loginame = loginame;
|
||||
this.password = password;
|
||||
this.position = position;
|
||||
this.department = department;
|
||||
this.email = email;
|
||||
this.phonenum = phonenum;
|
||||
this.ismanager = ismanager;
|
||||
this.isystem = isystem;
|
||||
this.status = status;
|
||||
this.description = description;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getUsername()
|
||||
{
|
||||
return this.username;
|
||||
}
|
||||
|
||||
public void setUsername(String username)
|
||||
{
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getLoginame()
|
||||
{
|
||||
return this.loginame;
|
||||
}
|
||||
|
||||
public void setLoginame(String loginame)
|
||||
{
|
||||
this.loginame = loginame;
|
||||
}
|
||||
|
||||
public String getPassword()
|
||||
{
|
||||
return this.password;
|
||||
}
|
||||
|
||||
public void setPassword(String password)
|
||||
{
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getPosition()
|
||||
{
|
||||
return this.position;
|
||||
}
|
||||
|
||||
public void setPosition(String position)
|
||||
{
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public String getDepartment()
|
||||
{
|
||||
return this.department;
|
||||
}
|
||||
|
||||
public void setDepartment(String department)
|
||||
{
|
||||
this.department = department;
|
||||
}
|
||||
|
||||
public String getEmail()
|
||||
{
|
||||
return this.email;
|
||||
}
|
||||
|
||||
public void setEmail(String email)
|
||||
{
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getPhonenum()
|
||||
{
|
||||
return this.phonenum;
|
||||
}
|
||||
|
||||
public void setPhonenum(String phonenum)
|
||||
{
|
||||
this.phonenum = phonenum;
|
||||
}
|
||||
|
||||
public Short getIsmanager()
|
||||
{
|
||||
return this.ismanager;
|
||||
}
|
||||
|
||||
public void setIsmanager(Short ismanager)
|
||||
{
|
||||
this.ismanager = ismanager;
|
||||
}
|
||||
|
||||
public Short getIsystem()
|
||||
{
|
||||
return this.isystem;
|
||||
}
|
||||
|
||||
public void setIsystem(Short isystem)
|
||||
{
|
||||
this.isystem = isystem;
|
||||
}
|
||||
|
||||
public Short getStatus()
|
||||
{
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getRemark()
|
||||
{
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark)
|
||||
{
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
67
src/main/java/com/jsh/model/po/Category.java
Normal file
67
src/main/java/com/jsh/model/po/Category.java
Normal file
@@ -0,0 +1,67 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Category implements java.io.Serializable
|
||||
{
|
||||
private Long id;
|
||||
private String assetname;
|
||||
private Short isystem;
|
||||
private String description;
|
||||
|
||||
public Category()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Category(Long id)
|
||||
{
|
||||
this.id = id ;
|
||||
}
|
||||
|
||||
public Category(String assetname, Short isystem, String description)
|
||||
{
|
||||
this.assetname = assetname;
|
||||
this.isystem = isystem;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getAssetname()
|
||||
{
|
||||
return this.assetname;
|
||||
}
|
||||
|
||||
public void setAssetname(String assetname)
|
||||
{
|
||||
this.assetname = assetname;
|
||||
}
|
||||
|
||||
public Short getIsystem()
|
||||
{
|
||||
return this.isystem;
|
||||
}
|
||||
|
||||
public void setIsystem(Short isystem)
|
||||
{
|
||||
this.isystem = isystem;
|
||||
}
|
||||
|
||||
public String getDescription()
|
||||
{
|
||||
return this.description;
|
||||
}
|
||||
|
||||
public void setDescription(String description)
|
||||
{
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
60
src/main/java/com/jsh/model/po/Depot.java
Normal file
60
src/main/java/com/jsh/model/po/Depot.java
Normal file
@@ -0,0 +1,60 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Depot implements java.io.Serializable
|
||||
{
|
||||
private Long id;
|
||||
private String name;
|
||||
private String sort;
|
||||
private String remark;
|
||||
|
||||
public Depot()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Depot(Long id)
|
||||
{
|
||||
this.id = id ;
|
||||
}
|
||||
|
||||
public Depot(String name, String sort, String remark)
|
||||
{
|
||||
this.name = name;
|
||||
this.sort = sort;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(String sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
}
|
||||
174
src/main/java/com/jsh/model/po/DepotHead.java
Normal file
174
src/main/java/com/jsh/model/po/DepotHead.java
Normal file
@@ -0,0 +1,174 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class DepotHead implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Type;
|
||||
private String SubType;
|
||||
private Depot ProjectId;
|
||||
private String Number;
|
||||
private String OperPersonName;
|
||||
private Timestamp CreateTime;
|
||||
private Timestamp OperTime;
|
||||
private Supplier OrganId;
|
||||
private Person HandsPersonId;
|
||||
private Account AccountId;
|
||||
private Double ChangeAmount;
|
||||
private Depot AllocationProjectId;
|
||||
private Double TotalPrice;
|
||||
private String Remark;
|
||||
|
||||
public DepotHead()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public DepotHead(Long Id)
|
||||
{
|
||||
this.Id = Id ;
|
||||
}
|
||||
|
||||
public DepotHead(String type, String subType, Depot projectId,
|
||||
String number, String operPersonName, Timestamp createTime,
|
||||
Timestamp operTime, Supplier organId, Person handsPersonId,
|
||||
Account accountId, Double changeAmount, Depot allocationProjectId, Double totalPrice, String remark) {
|
||||
super();
|
||||
Type = type;
|
||||
SubType = subType;
|
||||
ProjectId = projectId;
|
||||
Number = number;
|
||||
OperPersonName = operPersonName;
|
||||
CreateTime = createTime;
|
||||
OperTime = operTime;
|
||||
OrganId = organId;
|
||||
HandsPersonId = handsPersonId;
|
||||
AccountId = accountId;
|
||||
ChangeAmount = changeAmount;
|
||||
AllocationProjectId = allocationProjectId;
|
||||
TotalPrice = totalPrice;
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return Type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public String getSubType() {
|
||||
return SubType;
|
||||
}
|
||||
|
||||
public void setSubType(String subType) {
|
||||
SubType = subType;
|
||||
}
|
||||
|
||||
public Depot getProjectId() {
|
||||
return ProjectId;
|
||||
}
|
||||
|
||||
public void setProjectId(Depot projectId) {
|
||||
ProjectId = projectId;
|
||||
}
|
||||
|
||||
public String getNumber() {
|
||||
return Number;
|
||||
}
|
||||
|
||||
public void setNumber(String number) {
|
||||
Number = number;
|
||||
}
|
||||
|
||||
public String getOperPersonName() {
|
||||
return OperPersonName;
|
||||
}
|
||||
|
||||
public void setOperPersonName(String operPersonName) {
|
||||
OperPersonName = operPersonName;
|
||||
}
|
||||
|
||||
public Timestamp getCreateTime() {
|
||||
return CreateTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Timestamp createTime) {
|
||||
CreateTime = createTime;
|
||||
}
|
||||
|
||||
public Timestamp getOperTime() {
|
||||
return OperTime;
|
||||
}
|
||||
|
||||
public void setOperTime(Timestamp operTime) {
|
||||
OperTime = operTime;
|
||||
}
|
||||
|
||||
public Supplier getOrganId() {
|
||||
return OrganId;
|
||||
}
|
||||
|
||||
public void setOrganId(Supplier organId) {
|
||||
OrganId = organId;
|
||||
}
|
||||
|
||||
public Person getHandsPersonId() {
|
||||
return HandsPersonId;
|
||||
}
|
||||
|
||||
public void setHandsPersonId(Person handsPersonId) {
|
||||
HandsPersonId = handsPersonId;
|
||||
}
|
||||
|
||||
public Account getAccountId() {
|
||||
return AccountId;
|
||||
}
|
||||
|
||||
public void setAccountId(Account accountId) {
|
||||
AccountId = accountId;
|
||||
}
|
||||
|
||||
public Double getChangeAmount() {
|
||||
return ChangeAmount;
|
||||
}
|
||||
|
||||
public void setChangeAmount(Double changeAmount) {
|
||||
ChangeAmount = changeAmount;
|
||||
}
|
||||
|
||||
public Depot getAllocationProjectId() {
|
||||
return AllocationProjectId;
|
||||
}
|
||||
|
||||
public void setAllocationProjectId(Depot allocationProjectId) {
|
||||
AllocationProjectId = allocationProjectId;
|
||||
}
|
||||
|
||||
public Double getTotalPrice() {
|
||||
return TotalPrice;
|
||||
}
|
||||
|
||||
public void setTotalPrice(Double totalPrice) {
|
||||
TotalPrice = totalPrice;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
Remark = remark;
|
||||
}
|
||||
}
|
||||
103
src/main/java/com/jsh/model/po/DepotItem.java
Normal file
103
src/main/java/com/jsh/model/po/DepotItem.java
Normal file
@@ -0,0 +1,103 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class DepotItem implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private DepotHead HeaderId;
|
||||
private Material MaterialId;
|
||||
private Double OperNumber;
|
||||
private Double UnitPrice;
|
||||
private Double AllPrice;
|
||||
private String Remark;
|
||||
private String Img;
|
||||
|
||||
public DepotItem()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public DepotItem(Long Id)
|
||||
{
|
||||
this.Id = Id ;
|
||||
}
|
||||
|
||||
public DepotItem(DepotHead headerId, Material materialId,
|
||||
Double operNumber, Double unitPrice, Double allPrice,
|
||||
String remark, String img) {
|
||||
super();
|
||||
HeaderId = headerId;
|
||||
MaterialId = materialId;
|
||||
OperNumber = operNumber;
|
||||
UnitPrice = unitPrice;
|
||||
AllPrice = allPrice;
|
||||
Remark = remark;
|
||||
Img = img;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public DepotHead getHeaderId() {
|
||||
return HeaderId;
|
||||
}
|
||||
|
||||
public void setHeaderId(DepotHead headerId) {
|
||||
HeaderId = headerId;
|
||||
}
|
||||
|
||||
public Material getMaterialId() {
|
||||
return MaterialId;
|
||||
}
|
||||
|
||||
public void setMaterialId(Material materialId) {
|
||||
MaterialId = materialId;
|
||||
}
|
||||
|
||||
public Double getOperNumber() {
|
||||
return OperNumber;
|
||||
}
|
||||
|
||||
public void setOperNumber(Double operNumber) {
|
||||
OperNumber = operNumber;
|
||||
}
|
||||
|
||||
public Double getUnitPrice() {
|
||||
return UnitPrice;
|
||||
}
|
||||
|
||||
public void setUnitPrice(Double unitPrice) {
|
||||
UnitPrice = unitPrice;
|
||||
}
|
||||
|
||||
public Double getAllPrice() {
|
||||
return AllPrice;
|
||||
}
|
||||
|
||||
public void setAllPrice(Double allPrice) {
|
||||
AllPrice = allPrice;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return Img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
Img = img;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
93
src/main/java/com/jsh/model/po/Functions.java
Normal file
93
src/main/java/com/jsh/model/po/Functions.java
Normal file
@@ -0,0 +1,93 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Functions implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Number;
|
||||
private String Name;
|
||||
private String PNumber;
|
||||
private String URL;
|
||||
private Boolean State;
|
||||
private String Sort;
|
||||
private Boolean Enabled;
|
||||
private String Type;
|
||||
|
||||
public Functions()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public String getNumber() {
|
||||
return Number;
|
||||
}
|
||||
|
||||
public void setNumber(String number) {
|
||||
Number = number;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return Name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public String getPNumber() {
|
||||
return PNumber;
|
||||
}
|
||||
|
||||
public void setPNumber(String pNumber) {
|
||||
PNumber = pNumber;
|
||||
}
|
||||
|
||||
public String getURL() {
|
||||
return URL;
|
||||
}
|
||||
|
||||
public void setURL(String uRL) {
|
||||
URL = uRL;
|
||||
}
|
||||
|
||||
public Boolean getState() {
|
||||
return State;
|
||||
}
|
||||
|
||||
public void setState(Boolean state) {
|
||||
State = state;
|
||||
}
|
||||
|
||||
public String getSort() {
|
||||
return Sort;
|
||||
}
|
||||
|
||||
public void setSort(String sort) {
|
||||
Sort = sort;
|
||||
}
|
||||
|
||||
public Boolean getEnabled() {
|
||||
return Enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(Boolean enabled) {
|
||||
Enabled = enabled;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return Type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
Type = type;
|
||||
}
|
||||
|
||||
}
|
||||
66
src/main/java/com/jsh/model/po/InOutItem.java
Normal file
66
src/main/java/com/jsh/model/po/InOutItem.java
Normal file
@@ -0,0 +1,66 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class InOutItem implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Name;
|
||||
private String Type;
|
||||
private String Remark;
|
||||
|
||||
public InOutItem()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public InOutItem(Long Id)
|
||||
{
|
||||
this.Id = Id;
|
||||
}
|
||||
|
||||
public InOutItem(String name, String type, String remark) {
|
||||
Name = name;
|
||||
Type = type;
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setName(String name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
|
||||
public void setType(String type)
|
||||
{
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public String getType()
|
||||
{
|
||||
return Type;
|
||||
}
|
||||
|
||||
public void setRemark(String remark)
|
||||
{
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public String getRemark()
|
||||
{
|
||||
return Remark;
|
||||
}
|
||||
}
|
||||
119
src/main/java/com/jsh/model/po/Logdetails.java
Normal file
119
src/main/java/com/jsh/model/po/Logdetails.java
Normal file
@@ -0,0 +1,119 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Logdetails implements java.io.Serializable
|
||||
{
|
||||
|
||||
private Long id;
|
||||
private Basicuser user;
|
||||
private String operation;
|
||||
private String clientIp;
|
||||
private Timestamp createtime;
|
||||
private Short status;
|
||||
private String contentdetails;
|
||||
private String remark;
|
||||
|
||||
public Logdetails()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Logdetails(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Logdetails(Basicuser user, String operation, String clientIp,
|
||||
Timestamp createtime, Short status, String contentdetails,
|
||||
String remark)
|
||||
{
|
||||
this.user = user;
|
||||
this.operation = operation;
|
||||
this.clientIp = clientIp;
|
||||
this.createtime = createtime;
|
||||
this.status = status;
|
||||
this.contentdetails = contentdetails;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Basicuser getUser() {
|
||||
return user;
|
||||
}
|
||||
|
||||
public void setUser(Basicuser user) {
|
||||
this.user = user;
|
||||
}
|
||||
|
||||
public String getOperation()
|
||||
{
|
||||
return this.operation;
|
||||
}
|
||||
|
||||
public void setOperation(String operation)
|
||||
{
|
||||
this.operation = operation;
|
||||
}
|
||||
|
||||
public String getClientIp()
|
||||
{
|
||||
return this.clientIp;
|
||||
}
|
||||
|
||||
public void setClientIp(String clientIp)
|
||||
{
|
||||
this.clientIp = clientIp;
|
||||
}
|
||||
|
||||
public Timestamp getCreatetime()
|
||||
{
|
||||
return this.createtime;
|
||||
}
|
||||
|
||||
public void setCreatetime(Timestamp createtime)
|
||||
{
|
||||
this.createtime = createtime;
|
||||
}
|
||||
|
||||
public Short getStatus()
|
||||
{
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setStatus(Short status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getContentdetails()
|
||||
{
|
||||
return this.contentdetails;
|
||||
}
|
||||
|
||||
public void setContentdetails(String contentdetails)
|
||||
{
|
||||
this.contentdetails = contentdetails;
|
||||
}
|
||||
|
||||
public String getRemark()
|
||||
{
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark)
|
||||
{
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
}
|
||||
155
src/main/java/com/jsh/model/po/Material.java
Normal file
155
src/main/java/com/jsh/model/po/Material.java
Normal file
@@ -0,0 +1,155 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Material implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private MaterialCategory materialCategory;
|
||||
private String Name;
|
||||
private String Model;
|
||||
private String Color;
|
||||
private String Unit;
|
||||
private Double RetailPrice;
|
||||
private Double LowPrice;
|
||||
private Double PresetPriceOne;
|
||||
private Double PresetPriceTwo;
|
||||
private String Remark;
|
||||
|
||||
public Material()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Material(Long Id)
|
||||
{
|
||||
this.Id = Id;
|
||||
}
|
||||
|
||||
public Material(MaterialCategory materialCategory, String name,
|
||||
String model, String color, String unit, String remark,
|
||||
Double retailPrice, Double lowPrice, Double presetPriceOne, Double presetPriceTwo)
|
||||
{
|
||||
super();
|
||||
this.materialCategory = materialCategory;
|
||||
Name = name;
|
||||
Model = model;
|
||||
Color = color;
|
||||
Unit = unit;
|
||||
RetailPrice = retailPrice;
|
||||
LowPrice = lowPrice;
|
||||
PresetPriceOne = presetPriceOne;
|
||||
PresetPriceTwo = presetPriceTwo;
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public MaterialCategory getMaterialCategory()
|
||||
{
|
||||
return materialCategory;
|
||||
}
|
||||
|
||||
public void setMaterialCategory(MaterialCategory materialCategory)
|
||||
{
|
||||
this.materialCategory = materialCategory;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
|
||||
public void setName(String name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public String getModel()
|
||||
{
|
||||
return Model;
|
||||
}
|
||||
|
||||
public void setModel(String model)
|
||||
{
|
||||
Model = model;
|
||||
}
|
||||
|
||||
public String getColor()
|
||||
{
|
||||
return Color;
|
||||
}
|
||||
|
||||
public void setColor(String color)
|
||||
{
|
||||
Color = color;
|
||||
}
|
||||
|
||||
public String getUnit()
|
||||
{
|
||||
return Unit;
|
||||
}
|
||||
|
||||
public void setUnit(String unit)
|
||||
{
|
||||
Unit = unit;
|
||||
}
|
||||
|
||||
public void setRetailPrice(Double retailPrice)
|
||||
{
|
||||
RetailPrice = retailPrice;
|
||||
}
|
||||
|
||||
public Double getRetailPrice()
|
||||
{
|
||||
return RetailPrice;
|
||||
}
|
||||
|
||||
public void setLowPrice(Double lowPrice)
|
||||
{
|
||||
LowPrice = lowPrice;
|
||||
}
|
||||
|
||||
public Double getLowPrice()
|
||||
{
|
||||
return LowPrice;
|
||||
}
|
||||
|
||||
public void setPresetPriceOne(Double presetPriceOne)
|
||||
{
|
||||
PresetPriceOne = presetPriceOne;
|
||||
}
|
||||
|
||||
public Double getPresetPriceOne()
|
||||
{
|
||||
return PresetPriceOne;
|
||||
}
|
||||
|
||||
public void setPresetPriceTwo(Double presetPriceTwo)
|
||||
{
|
||||
PresetPriceTwo = presetPriceTwo;
|
||||
}
|
||||
|
||||
public Double getPresetPriceTwo()
|
||||
{
|
||||
return PresetPriceTwo;
|
||||
}
|
||||
|
||||
public String getRemark()
|
||||
{
|
||||
return Remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark)
|
||||
{
|
||||
Remark = remark;
|
||||
}
|
||||
|
||||
}
|
||||
61
src/main/java/com/jsh/model/po/MaterialCategory.java
Normal file
61
src/main/java/com/jsh/model/po/MaterialCategory.java
Normal file
@@ -0,0 +1,61 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class MaterialCategory implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Name;
|
||||
private Short CategoryLevel;
|
||||
private MaterialCategory materialCategory;
|
||||
|
||||
|
||||
public MaterialCategory()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public MaterialCategory(Long Id)
|
||||
{
|
||||
this.Id = Id;
|
||||
}
|
||||
|
||||
public MaterialCategory(String name, Short categoryLevel,
|
||||
MaterialCategory materialCategory) {
|
||||
Name = name;
|
||||
CategoryLevel = categoryLevel;
|
||||
this.materialCategory = materialCategory;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return Name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public Short getCategoryLevel() {
|
||||
return CategoryLevel;
|
||||
}
|
||||
|
||||
public void setCategoryLevel(Short categoryLevel) {
|
||||
CategoryLevel = categoryLevel;
|
||||
}
|
||||
|
||||
public MaterialCategory getMaterialCategory() {
|
||||
return materialCategory;
|
||||
}
|
||||
|
||||
public void setMaterialCategory(MaterialCategory materialCategory) {
|
||||
this.materialCategory = materialCategory;
|
||||
}
|
||||
|
||||
}
|
||||
49
src/main/java/com/jsh/model/po/Person.java
Normal file
49
src/main/java/com/jsh/model/po/Person.java
Normal file
@@ -0,0 +1,49 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Person implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Type;
|
||||
private String Name;
|
||||
|
||||
public Person()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Person(Long Id)
|
||||
{
|
||||
this.Id = Id;
|
||||
}
|
||||
|
||||
public Person(String type, String name) {
|
||||
Type = type;
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return Type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return Name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
Name = name;
|
||||
}
|
||||
|
||||
}
|
||||
31
src/main/java/com/jsh/model/po/Role.java
Normal file
31
src/main/java/com/jsh/model/po/Role.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Role implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Name;
|
||||
|
||||
public Role()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return Name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
Name = name;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
163
src/main/java/com/jsh/model/po/Supplier.java
Normal file
163
src/main/java/com/jsh/model/po/Supplier.java
Normal file
@@ -0,0 +1,163 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Supplier implements java.io.Serializable
|
||||
{
|
||||
private Long id;
|
||||
private String supplier;
|
||||
private String type;
|
||||
private String contacts;
|
||||
private String phonenum;
|
||||
private String email;
|
||||
private Double BeginNeedGet;
|
||||
private Double BeginNeedPay;
|
||||
private Double AllNeedGet;
|
||||
private Double AllNeedPay;
|
||||
private Short isystem;
|
||||
private String description;
|
||||
private Boolean enabled;
|
||||
|
||||
public Supplier()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Supplier(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Supplier(String supplier, String type, String contacts, String phonenum,
|
||||
String email, Short isystem, String description, Boolean enabled,
|
||||
Double beginNeedGet,Double beginNeedPay,Double allNeedGet,Double allNeedPay) {
|
||||
super();
|
||||
this.supplier = supplier;
|
||||
this.type = type;
|
||||
this.contacts = contacts;
|
||||
this.phonenum = phonenum;
|
||||
this.email = email;
|
||||
this.BeginNeedGet = beginNeedGet;
|
||||
this.BeginNeedPay = beginNeedPay;
|
||||
this.AllNeedGet = allNeedGet;
|
||||
this.AllNeedPay = allNeedPay;
|
||||
this.isystem = isystem;
|
||||
this.description = description;
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getSupplier()
|
||||
{
|
||||
return supplier;
|
||||
}
|
||||
|
||||
public void setSupplier(String supplier) {
|
||||
this.supplier = supplier;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getContacts() {
|
||||
return contacts;
|
||||
}
|
||||
|
||||
public void setContacts(String contacts) {
|
||||
this.contacts = contacts;
|
||||
}
|
||||
|
||||
public String getPhonenum() {
|
||||
return phonenum;
|
||||
}
|
||||
|
||||
public void setPhonenum(String phonenum) {
|
||||
this.phonenum = phonenum;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public void setBeginNeedGet(Double beginNeedGet)
|
||||
{
|
||||
BeginNeedGet = beginNeedGet;
|
||||
}
|
||||
|
||||
public Double getBeginNeedGet()
|
||||
{
|
||||
return BeginNeedGet;
|
||||
}
|
||||
|
||||
public void setBeginNeedPay(Double beginNeedPay)
|
||||
{
|
||||
BeginNeedPay = beginNeedPay;
|
||||
}
|
||||
|
||||
public Double getBeginNeedPay()
|
||||
{
|
||||
return BeginNeedPay;
|
||||
}
|
||||
|
||||
public void setAllNeedGet(Double allNeedGet)
|
||||
{
|
||||
AllNeedGet = allNeedGet;
|
||||
}
|
||||
|
||||
public Double getAllNeedGet()
|
||||
{
|
||||
return AllNeedGet;
|
||||
}
|
||||
|
||||
public void setAllNeedPay(Double allNeedPay)
|
||||
{
|
||||
AllNeedPay = allNeedPay;
|
||||
}
|
||||
|
||||
public Double getAllNeedPay()
|
||||
{
|
||||
return AllNeedPay;
|
||||
}
|
||||
|
||||
public Short getIsystem() {
|
||||
return isystem;
|
||||
}
|
||||
|
||||
public void setIsystem(Short isystem) {
|
||||
this.isystem = isystem;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Boolean getEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(Boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
}
|
||||
49
src/main/java/com/jsh/model/po/UserBusiness.java
Normal file
49
src/main/java/com/jsh/model/po/UserBusiness.java
Normal file
@@ -0,0 +1,49 @@
|
||||
package com.jsh.model.po;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class UserBusiness implements java.io.Serializable
|
||||
{
|
||||
private Long Id;
|
||||
private String Type;
|
||||
private String KeyId;
|
||||
private String Value;
|
||||
|
||||
public UserBusiness()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return Id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return Type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
Type = type;
|
||||
}
|
||||
|
||||
public String getKeyId() {
|
||||
return KeyId;
|
||||
}
|
||||
|
||||
public void setKeyId(String keyId) {
|
||||
KeyId = keyId;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return Value;
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
Value = value;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user