Commit 7a436d1c authored by 季圣华's avatar 季圣华
Browse files

!14 格式化代码,看着有点别扭

Merge pull request !14 from SmkfGao/master
parents 8f304964 6bc92ec9
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class AccountItem implements java.io.Serializable public class AccountItem implements java.io.Serializable {
{
private Long Id; private Long Id;
private AccountHead HeaderId; private AccountHead HeaderId;
private Account AccountId; private Account AccountId;
...@@ -10,19 +9,16 @@ public class AccountItem implements java.io.Serializable ...@@ -10,19 +9,16 @@ public class AccountItem implements java.io.Serializable
private Double EachAmount; private Double EachAmount;
private String Remark; private String Remark;
public AccountItem() public AccountItem() {
{
} }
public AccountItem(Long Id) public AccountItem(Long Id) {
{ this.Id = Id;
this.Id = Id ;
} }
public AccountItem(AccountHead headerId, Account accountId, public AccountItem(AccountHead headerId, Account accountId,
InOutItem inOutItemId, Double eachAmount, String remark) InOutItem inOutItemId, Double eachAmount, String remark) {
{
super(); super();
HeaderId = headerId; HeaderId = headerId;
AccountId = accountId; AccountId = accountId;
...@@ -31,64 +27,52 @@ public class AccountItem implements java.io.Serializable ...@@ -31,64 +27,52 @@ public class AccountItem implements java.io.Serializable
Remark = remark; Remark = remark;
} }
public void setId(Long id) public Long getId() {
{
Id = id;
}
public Long getId()
{
return Id; return Id;
} }
public void setHeaderId(AccountHead headerId) public void setId(Long id) {
{ Id = id;
HeaderId = headerId;
} }
public AccountHead getHeaderId() public AccountHead getHeaderId() {
{
return HeaderId; return HeaderId;
} }
public void setAccountId(Account accountId) public void setHeaderId(AccountHead headerId) {
{ HeaderId = headerId;
AccountId = accountId;
} }
public Account getAccountId() public Account getAccountId() {
{
return AccountId; return AccountId;
} }
public void setInOutItemId(InOutItem inOutItemId) public void setAccountId(Account accountId) {
{ AccountId = accountId;
InOutItemId = inOutItemId;
} }
public InOutItem getInOutItemId() public InOutItem getInOutItemId() {
{
return InOutItemId; return InOutItemId;
} }
public void setEachAmount(Double eachAmount) public void setInOutItemId(InOutItem inOutItemId) {
{ InOutItemId = inOutItemId;
EachAmount = eachAmount;
} }
public Double getEachAmount() public Double getEachAmount() {
{
return EachAmount; return EachAmount;
} }
public void setRemark(String remark) public void setEachAmount(Double eachAmount) {
{ EachAmount = eachAmount;
Remark = remark;
} }
public String getRemark() public String getRemark() {
{
return Remark; return Remark;
} }
public void setRemark(String remark) {
Remark = remark;
}
} }
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class App implements java.io.Serializable public class App implements java.io.Serializable {
{ private Long Id;
private Long Id; private String Number;
private String Number; private String Name;
private String Name; private String Type;
private String Type; private String Icon;
private String Icon; private String URL;
private String URL; private String Width;
private String Width; private String Height;
private String Height; private Boolean ReSize;
private Boolean ReSize; private Boolean OpenMax;
private Boolean OpenMax; private Boolean Flash;
private Boolean Flash; private String ZL;
private String ZL; private String Sort;
private String Sort; private String Remark;
private String Remark; private Boolean Enabled;
private Boolean Enabled;
public App() {
public App()
{ }
} public App(Long Id) {
this.Id = Id;
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) {
public App(String Number, String Name, String Type, String Icon, String URL, String Width, this.Number = Number;
String Height, Boolean ReSize, Boolean OpenMax, Boolean Flash, String ZL, String Sort, this.Name = Name;
String Remark, Boolean Enabled) this.Type = Type;
{ this.Icon = Icon;
this.Number = Number; this.URL = URL;
this.Name = Name; this.Width = Width;
this.Type = Type; this.Height = Height;
this.Icon = Icon; this.ReSize = ReSize;
this.URL = URL; this.OpenMax = OpenMax;
this.Width = Width; this.Flash = Flash;
this.Height = Height; this.ZL = ZL;
this.ReSize = ReSize; this.Sort = Sort;
this.OpenMax = OpenMax; this.Remark = Remark;
this.Flash = Flash; this.Enabled = Enabled;
this.ZL = ZL; }
this.Sort = Sort;
this.Remark = Remark; public Long getId() {
this.Enabled = Enabled; return Id;
} }
public Long getId() { public void setId(Long id) {
return Id; Id = id;
} }
public void setId(Long id) { public String getNumber() {
Id = id; return Number;
} }
public String getNumber() { public void setNumber(String number) {
return Number; Number = number;
} }
public void setNumber(String number) { public String getName() {
Number = number; return Name;
} }
public String getName() { public void setName(String name) {
return Name; Name = name;
} }
public void setName(String name) { public String getType() {
Name = name; return Type;
} }
public String getType() { public void setType(String type) {
return Type; Type = type;
} }
public void setType(String type) { public String getIcon() {
Type = type; return Icon;
} }
public String getIcon() { public void setIcon(String icon) {
return Icon; Icon = icon;
} }
public void setIcon(String icon) { public String getURL() {
Icon = icon; return URL;
} }
public String getURL() { public void setURL(String uRL) {
return URL; URL = uRL;
} }
public void setURL(String uRL) { public String getWidth() {
URL = uRL; return Width;
} }
public String getWidth() { public void setWidth(String width) {
return Width; Width = width;
} }
public void setWidth(String width) { public String getHeight() {
Width = width; return Height;
} }
public String getHeight() { public void setHeight(String height) {
return Height; Height = height;
} }
public void setHeight(String height) { public Boolean getReSize() {
Height = height; return ReSize;
} }
public Boolean getReSize() { public void setReSize(Boolean reSize) {
return ReSize; ReSize = reSize;
} }
public void setReSize(Boolean reSize) { public Boolean getOpenMax() {
ReSize = reSize; return OpenMax;
} }
public Boolean getOpenMax() { public void setOpenMax(Boolean openMax) {
return OpenMax; OpenMax = openMax;
} }
public void setOpenMax(Boolean openMax) { public Boolean getFlash() {
OpenMax = openMax; return Flash;
} }
public Boolean getFlash() { public void setFlash(Boolean flash) {
return Flash; Flash = flash;
} }
public void setFlash(Boolean flash) { public String getZL() {
Flash = flash; return ZL;
} }
public String getZL() { public void setZL(String zL) {
return ZL; ZL = zL;
} }
public void setZL(String zL) { public String getSort() {
ZL = zL; return Sort;
} }
public String getSort() {
return Sort;
}
public void setSort(String sort) { public void setSort(String sort) {
Sort = sort; Sort = sort;
} }
public String getRemark() { public String getRemark() {
return Remark; return Remark;
} }
public void setRemark(String remark) { public void setRemark(String remark) {
Remark = remark; Remark = remark;
} }
public Boolean getEnabled() { public Boolean getEnabled() {
return Enabled; return Enabled;
} }
public void setEnabled(Boolean enabled) { public void setEnabled(Boolean enabled) {
Enabled = enabled; Enabled = enabled;
} }
} }
\ No newline at end of file
...@@ -4,376 +4,317 @@ import java.sql.Timestamp; ...@@ -4,376 +4,317 @@ import java.sql.Timestamp;
import java.util.Map; import java.util.Map;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Asset implements java.io.Serializable public class Asset implements java.io.Serializable {
{ private Long id;
private Long id; private Assetname assetname;
private Assetname assetname; private String location;
private String location; private Short status;
private Short status; private Basicuser user;
private Basicuser user; private Double price;
private Double price; private Timestamp purchasedate;
private Timestamp purchasedate; private Timestamp periodofvalidity;
private Timestamp periodofvalidity; private Timestamp warrantydate;
private Timestamp warrantydate; private String assetnum;
private String assetnum; private String serialnum;
private String serialnum; private Supplier supplier;
private Supplier supplier; private String labels;
private String labels; private String description;
private String description; private String addMonth;
private String addMonth; private Timestamp createtime;
private Timestamp createtime; private Basicuser creator;
private Basicuser creator; private Timestamp updatetime;
private Timestamp updatetime; private Basicuser updator;
private Basicuser updator;
//----------以下属性导入exel表格使用--------------------
//----------以下属性导入exel表格使用-------------------- /**
/**
* 类型 right--正确 warn--警告 wrong--错误 * 类型 right--正确 warn--警告 wrong--错误
*/ */
private Map<Integer,String> cellInfo; private Map<Integer, String> cellInfo;
/** /**
* 行号 * 行号
*/ */
private Integer rowLineNum; private Integer rowLineNum;
/** /**
* 保存价格 * 保存价格
*/ */
private String priceStr; private String priceStr;
/** /**
* 资产名称 * 资产名称
*/ */
private String assetnameStr; private String assetnameStr;
/** /**
* 资产类型 * 资产类型
*/ */
private String category; private String category;
/** /**
* 购买日期 * 购买日期
*/ */
private String purchasedateStr; private String purchasedateStr;
/** /**
* 有效日期 * 有效日期
*/ */
private String periodofvalidityStr; private String periodofvalidityStr;
/** /**
* 保修日期 * 保修日期
*/ */
private String warrantydateStr; private String warrantydateStr;
public Asset() public Asset() {
{
}
}
public Asset(Long id) {
public Asset(Long id) this.id = id;
{ }
this.id = id;
} public Asset(Assetname assetname, String location,
Short status, Basicuser user, Double price, Timestamp purchasedate,
public Asset(Assetname assetname, String location, Timestamp periodofvalidity, Timestamp warrantydate,
Short status, Basicuser user, Double price, Timestamp purchasedate, String assetnum, String serialnum, Supplier supplier,
Timestamp periodofvalidity, Timestamp warrantydate, String description, Timestamp createtime, Basicuser creator,
String assetnum, String serialnum, Supplier supplier, Timestamp updatetime, String labels, Basicuser updator, String addMonth) {
String description, Timestamp createtime, Basicuser creator, super();
Timestamp updatetime,String labels, Basicuser updator,String addMonth) this.assetname = assetname;
{ this.location = location;
super(); this.status = status;
this.assetname = assetname; this.user = user;
this.location = location; this.price = price;
this.status = status; this.purchasedate = purchasedate;
this.user = user; this.periodofvalidity = periodofvalidity;
this.price = price; this.warrantydate = warrantydate;
this.purchasedate = purchasedate; this.assetnum = assetnum;
this.periodofvalidity = periodofvalidity; this.serialnum = serialnum;
this.warrantydate = warrantydate; this.supplier = supplier;
this.assetnum = assetnum; this.description = description;
this.serialnum = serialnum; this.createtime = createtime;
this.supplier = supplier; this.creator = creator;
this.description = description; this.updatetime = updatetime;
this.createtime = createtime; this.updator = updator;
this.creator = creator; this.labels = labels;
this.updatetime = updatetime; this.addMonth = addMonth;
this.updator = updator; }
this.labels = labels;
this.addMonth = addMonth;
} public Long getId() {
return id;
}
public Long getId() public void setId(Long id) {
{ this.id = id;
return id; }
}
public Assetname getAssetname() {
public void setId(Long id) return assetname;
{ }
this.id = id;
} public void setAssetname(Assetname assetname) {
this.assetname = assetname;
public Assetname getAssetname() }
{
return assetname; public String getLocation() {
} return location;
}
public void setAssetname(Assetname assetname)
{ public void setLocation(String location) {
this.assetname = assetname; this.location = location;
} }
public String getLocation() public Short getStatus() {
{ return status;
return location; }
}
public void setStatus(Short status) {
public void setLocation(String location) this.status = status;
{ }
this.location = location;
} public Basicuser getUser() {
return user;
public Short getStatus() }
{
return status; public void setUser(Basicuser user) {
} this.user = user;
}
public void setStatus(Short status)
{ public Double getPrice() {
this.status = status; return price;
} }
public Basicuser getUser() public void setPrice(Double price) {
{ this.price = price;
return user; }
}
public Timestamp getPurchasedate() {
public void setUser(Basicuser user) return purchasedate;
{ }
this.user = user;
} public void setPurchasedate(Timestamp purchasedate) {
this.purchasedate = purchasedate;
public Double getPrice() }
{
return price; public Timestamp getPeriodofvalidity() {
} return periodofvalidity;
}
public void setPrice(Double price)
{ public void setPeriodofvalidity(Timestamp periodofvalidity) {
this.price = price; this.periodofvalidity = periodofvalidity;
} }
public Timestamp getPurchasedate() public Timestamp getWarrantydate() {
{ return warrantydate;
return purchasedate; }
}
public void setWarrantydate(Timestamp warrantydate) {
public void setPurchasedate(Timestamp purchasedate) this.warrantydate = warrantydate;
{ }
this.purchasedate = purchasedate;
} public String getAssetnum() {
return assetnum;
public Timestamp getPeriodofvalidity() }
{
return periodofvalidity; public void setAssetnum(String assetnum) {
} this.assetnum = assetnum;
}
public void setPeriodofvalidity(Timestamp periodofvalidity)
{ public String getSerialnum() {
this.periodofvalidity = periodofvalidity; return serialnum;
} }
public Timestamp getWarrantydate() public void setSerialnum(String serialnum) {
{ this.serialnum = serialnum;
return warrantydate; }
}
public Supplier getSupplier() {
public void setWarrantydate(Timestamp warrantydate) return supplier;
{ }
this.warrantydate = warrantydate;
} public void setSupplier(Supplier supplier) {
this.supplier = supplier;
public String getAssetnum() }
{
return assetnum; public String getDescription() {
} return description;
}
public void setAssetnum(String assetnum)
{ public void setDescription(String description) {
this.assetnum = assetnum; this.description = description;
} }
public String getSerialnum() public Timestamp getCreatetime() {
{ return createtime;
return serialnum; }
}
public void setCreatetime(Timestamp createtime) {
public void setSerialnum(String serialnum) this.createtime = createtime;
{ }
this.serialnum = serialnum;
} public Basicuser getCreator() {
return creator;
public Supplier getSupplier() }
{
return supplier; public void setCreator(Basicuser creator) {
} this.creator = creator;
}
public void setSupplier(Supplier supplier)
{ public Timestamp getUpdatetime() {
this.supplier = supplier; return updatetime;
} }
public String getDescription() public void setUpdatetime(Timestamp updatetime) {
{ this.updatetime = updatetime;
return description; }
}
public Basicuser getUpdator() {
public void setDescription(String description) return updator;
{ }
this.description = description;
} public void setUpdator(Basicuser updator) {
this.updator = updator;
public Timestamp getCreatetime() }
{
return createtime; public String getLabels() {
}
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; return labels;
} }
public void setLabels(String labels) public void setLabels(String labels) {
{
this.labels = labels; this.labels = labels;
} }
public String getAddMonth() public String getAddMonth() {
{
return addMonth; return addMonth;
} }
public void setAddMonth(String addMonth) public void setAddMonth(String addMonth) {
{
this.addMonth = addMonth; this.addMonth = addMonth;
} }
public Integer getRowLineNum() public Integer getRowLineNum() {
{
return rowLineNum; return rowLineNum;
} }
public void setRowLineNum(Integer rowLineNum) public void setRowLineNum(Integer rowLineNum) {
{
this.rowLineNum = rowLineNum; this.rowLineNum = rowLineNum;
} }
public Map<Integer, String> getCellInfo() public Map<Integer, String> getCellInfo() {
{
return cellInfo; return cellInfo;
} }
public void setCellInfo(Map<Integer, String> cellInfo) public void setCellInfo(Map<Integer, String> cellInfo) {
{
this.cellInfo = cellInfo; this.cellInfo = cellInfo;
} }
public String getPriceStr() public String getPriceStr() {
{
return priceStr; return priceStr;
} }
public void setPriceStr(String priceStr) public void setPriceStr(String priceStr) {
{
this.priceStr = priceStr; this.priceStr = priceStr;
} }
public String getAssetnameStr() public String getAssetnameStr() {
{
return assetnameStr; return assetnameStr;
} }
public void setAssetnameStr(String assetnameStr) public void setAssetnameStr(String assetnameStr) {
{
this.assetnameStr = assetnameStr; this.assetnameStr = assetnameStr;
} }
public String getCategory() public String getCategory() {
{
return category; return category;
} }
public void setCategory(String category) public void setCategory(String category) {
{
this.category = category; this.category = category;
} }
public String getPurchasedateStr() public String getPurchasedateStr() {
{
return purchasedateStr; return purchasedateStr;
} }
public void setPurchasedateStr(String purchasedateStr) public void setPurchasedateStr(String purchasedateStr) {
{
this.purchasedateStr = purchasedateStr; this.purchasedateStr = purchasedateStr;
} }
public String getPeriodofvalidityStr() public String getPeriodofvalidityStr() {
{
return periodofvalidityStr; return periodofvalidityStr;
} }
public void setPeriodofvalidityStr(String periodofvalidityStr) public void setPeriodofvalidityStr(String periodofvalidityStr) {
{
this.periodofvalidityStr = periodofvalidityStr; this.periodofvalidityStr = periodofvalidityStr;
} }
public String getWarrantydateStr() public String getWarrantydateStr() {
{
return warrantydateStr; return warrantydateStr;
} }
public void setWarrantydateStr(String warrantydateStr) public void setWarrantydateStr(String warrantydateStr) {
{
this.warrantydateStr = warrantydateStr; this.warrantydateStr = warrantydateStr;
} }
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Assetname implements java.io.Serializable public class Assetname implements java.io.Serializable {
{ private Long id;
private Long id; private String assetname;
private String assetname; private Short isystem;
private Short isystem; private Category category;
private Category category; private String description;
private String description; private Short isconsumables;
private Short isconsumables;
public Assetname() {
public Assetname()
{ }
} public Assetname(Long id) {
this.id = id;
public Assetname(Long id) }
{
this.id = id; public Assetname(String assetname, Short isystem, String description,
} Short isconsumables, Category category) {
this.assetname = assetname;
public Assetname(String assetname, Short isystem, String description, this.isystem = isystem;
Short isconsumables,Category category) this.description = description;
{ this.isconsumables = isconsumables;
this.assetname = assetname; this.category = category;
this.isystem = isystem; }
this.description = description;
this.isconsumables = isconsumables; public Long getId() {
this.category = category; return this.id;
} }
public Long getId() public void setId(Long id) {
{ this.id = id;
return this.id; }
}
public String getAssetname() {
public void setId(Long id) return this.assetname;
{ }
this.id = id;
} public void setAssetname(String assetname) {
this.assetname = assetname;
public String getAssetname() }
{
return this.assetname; public Short getIsystem() {
} return this.isystem;
}
public void setAssetname(String assetname)
{ public void setIsystem(Short isystem) {
this.assetname = assetname; this.isystem = isystem;
} }
public Short getIsystem() public String getDescription() {
{ return this.description;
return this.isystem; }
}
public void setDescription(String description) {
public void setIsystem(Short isystem) this.description = description;
{ }
this.isystem = isystem;
} public Short getIsconsumables() {
return this.isconsumables;
public String getDescription() }
{
return this.description; public void setIsconsumables(Short isconsumables) {
} this.isconsumables = isconsumables;
}
public void setDescription(String description)
{ public Category getCategory() {
this.description = description;
}
public Short getIsconsumables()
{
return this.isconsumables;
}
public void setIsconsumables(Short isconsumables)
{
this.isconsumables = isconsumables;
}
public Category getCategory()
{
return category; return category;
} }
public void setCategory(Category category) public void setCategory(Category category) {
{
this.category = category; this.category = category;
} }
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Basicuser implements java.io.Serializable public class Basicuser implements java.io.Serializable {
{ private Long id;
private Long id; private String username;
private String username; private String loginame;
private String loginame; private String password;
private String password; private String position;
private String position; private String department;
private String department; private String email;
private String email; private String phonenum;
private String phonenum; private Short ismanager;
private Short ismanager; private Short isystem;
private Short isystem; private Short status;
private Short status; private String description;
private String description; private String remark;
private String remark;
public Basicuser() {
public Basicuser() }
{
} public Basicuser(Long id) {
this.id = id;
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,
public Basicuser(String username, String loginame, String password, String remark) {
String position, String department, String email, String phonenum, this.username = username;
Short ismanager, Short isystem, Short status, String description, this.loginame = loginame;
String remark) this.password = password;
{ this.position = position;
this.username = username; this.department = department;
this.loginame = loginame; this.email = email;
this.password = password; this.phonenum = phonenum;
this.position = position; this.ismanager = ismanager;
this.department = department; this.isystem = isystem;
this.email = email; this.status = status;
this.phonenum = phonenum; this.description = description;
this.ismanager = ismanager; this.remark = remark;
this.isystem = isystem; }
this.status = status;
this.description = description; public Long getId() {
this.remark = remark; return this.id;
} }
public Long getId() public void setId(Long id) {
{ this.id = id;
return this.id; }
}
public String getUsername() {
public void setId(Long id) return this.username;
{ }
this.id = id;
} public void setUsername(String username) {
this.username = username;
public String getUsername() }
{
return this.username; public String getLoginame() {
} return this.loginame;
}
public void setUsername(String username)
{ public void setLoginame(String loginame) {
this.username = username; this.loginame = loginame;
} }
public String getLoginame() public String getPassword() {
{ return this.password;
return this.loginame; }
}
public void setPassword(String password) {
public void setLoginame(String loginame) this.password = password;
{ }
this.loginame = loginame;
} public String getPosition() {
return this.position;
public String getPassword() }
{
return this.password; public void setPosition(String position) {
} this.position = position;
}
public void setPassword(String password)
{ public String getDepartment() {
this.password = password; return this.department;
} }
public String getPosition() public void setDepartment(String department) {
{ this.department = department;
return this.position; }
}
public String getEmail() {
public void setPosition(String position) return this.email;
{ }
this.position = position;
} public void setEmail(String email) {
this.email = email;
public String getDepartment() }
{
return this.department; public String getPhonenum() {
} return this.phonenum;
}
public void setDepartment(String department)
{ public void setPhonenum(String phonenum) {
this.department = department; this.phonenum = phonenum;
} }
public String getEmail() public Short getIsmanager() {
{ return this.ismanager;
return this.email; }
}
public void setIsmanager(Short ismanager) {
public void setEmail(String email) this.ismanager = ismanager;
{ }
this.email = email;
} public Short getIsystem() {
return this.isystem;
public String getPhonenum() }
{
return this.phonenum; public void setIsystem(Short isystem) {
} this.isystem = isystem;
}
public void setPhonenum(String phonenum)
{ public Short getStatus() {
this.phonenum = phonenum; return this.status;
} }
public Short getIsmanager() public void setStatus(Short status) {
{ this.status = status;
return this.ismanager; }
}
public String getDescription() {
public void setIsmanager(Short ismanager) return this.description;
{ }
this.ismanager = ismanager;
} public void setDescription(String description) {
this.description = description;
public Short getIsystem() }
{
return this.isystem; public String getRemark() {
} return this.remark;
}
public void setIsystem(Short isystem)
{ public void setRemark(String remark) {
this.isystem = isystem; this.remark = remark;
} }
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;
}
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Category implements java.io.Serializable public class Category implements java.io.Serializable {
{ private Long id;
private Long id; private String assetname;
private String assetname; private Short isystem;
private Short isystem; private String description;
private String description;
public Category() 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() public Category(Long id) {
{ this.id = id;
return this.id; }
}
public void setId(Long id) public Category(String assetname, Short isystem, String description) {
{ this.assetname = assetname;
this.id = id; this.isystem = isystem;
} this.description = description;
}
public String getAssetname() public Long getId() {
{ return this.id;
return this.assetname; }
}
public void setAssetname(String assetname) public void setId(Long id) {
{ this.id = id;
this.assetname = assetname; }
}
public Short getIsystem() public String getAssetname() {
{ return this.assetname;
return this.isystem; }
}
public void setIsystem(Short isystem) public void setAssetname(String assetname) {
{ this.assetname = assetname;
this.isystem = isystem; }
}
public String getDescription() public Short getIsystem() {
{ return this.isystem;
return this.description; }
}
public void setDescription(String description) public void setIsystem(Short isystem) {
{ this.isystem = isystem;
this.description = description; }
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Depot implements java.io.Serializable public class Depot implements java.io.Serializable {
{ private Long id;
private Long id; private String name;
private String name; private String address;
private String address; private Double warehousing;
private Double warehousing; private Double truckage;
private Double truckage; private Integer type;
private Integer type; private String sort;
private String sort; private String remark;
private String remark;
public Depot() {
public Depot()
{ }
} public Depot(Long id) {
this.id = id;
public Depot(Long id) }
{
this.id = id ; public Depot(String name, String address, Double warehousing, Double truckage, Integer type, String sort, String remark) {
} this.name = name;
this.address = address;
public Depot(String name, String address, Double warehousing, Double truckage, Integer type, String sort, String remark) this.warehousing = warehousing;
{ this.truckage = truckage;
this.name = name; this.type = type;
this.address = address; this.sort = sort;
this.warehousing = warehousing; this.remark = remark;
this.truckage = truckage; }
this.type = type;
this.sort = sort; public Long getId() {
this.remark = remark; return id;
} }
public Long getId() { public void setId(Long id) {
return id; this.id = id;
} }
public void setId(Long id) { public String getName() {
this.id = id; return name;
} }
public String getName() { public void setName(String name) {
return name; this.name = name;
} }
public void setName(String name) { public String getAddress() {
this.name = name; return address;
} }
public String getAddress() { public void setAddress(String address) {
return address; this.address = address;
} }
public void setAddress(String address) { public Double getWarehousing() {
this.address = address; return warehousing;
} }
public Double getWarehousing() { public void setWarehousing(Double warehousing) {
return warehousing; this.warehousing = warehousing;
} }
public void setWarehousing(Double warehousing) { public Double getTruckage() {
this.warehousing = warehousing; return truckage;
} }
public Double getTruckage() { public void setTruckage(Double truckage) {
return truckage; this.truckage = truckage;
} }
public void setTruckage(Double truckage) { public Integer getType() {
this.truckage = truckage; return type;
} }
public Integer getType() { public void setType(Integer type) {
return type; this.type = type;
} }
public void setType(Integer type) { public String getSort() {
this.type = type; return sort;
} }
public String getSort() { public void setSort(String sort) {
return sort; this.sort = sort;
} }
public void setSort(String sort) { public String getRemark() {
this.sort = sort; return remark;
} }
public String getRemark() { public void setRemark(String remark) {
return remark; this.remark = remark;
} }
public void setRemark(String remark) {
this.remark = remark;
}
} }
\ No newline at end of file
...@@ -3,301 +3,298 @@ package com.jsh.model.po; ...@@ -3,301 +3,298 @@ package com.jsh.model.po;
import java.sql.Timestamp; import java.sql.Timestamp;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class DepotHead implements java.io.Serializable public class DepotHead implements java.io.Serializable {
{ private Long Id;
private Long Id; private String Type;
private String Type; private String SubType;
private String SubType; private Depot ProjectId;
private Depot ProjectId; private String DefaultNumber;
private String DefaultNumber; private String Number;
private String Number; private String OperPersonName;
private String OperPersonName; private Timestamp CreateTime;
private Timestamp CreateTime; private Timestamp OperTime;
private Timestamp OperTime; private Supplier OrganId;
private Supplier OrganId; private Person HandsPersonId;
private Person HandsPersonId; private String Salesman; //业务员(可以多个)[2][3]
private String Salesman; //业务员(可以多个)[2][3] private Account AccountId;
private Account AccountId; private Double ChangeAmount;
private Double ChangeAmount; private String AccountIdList; //多账户ID列表 [2][3]
private String AccountIdList; //多账户ID列表 [2][3] private String AccountMoneyList; //多账户金额列表 [{"[2]",22},{"[3]",33}]
private String AccountMoneyList; //多账户金额列表 [{"[2]",22},{"[3]",33}] private Double Discount; //优惠率 0.10
private Double Discount; //优惠率 0.10 private Double DiscountMoney; //优惠金额 10
private Double DiscountMoney; //优惠金额 10 private Double DiscountLastMoney; //优惠后金额 90
private Double DiscountLastMoney; //优惠后金额 90 private Double OtherMoney; //销售或采购费用 100
private Double OtherMoney; //销售或采购费用 100 private String OtherMoneyList; //销售或采购费用涉及项目Id数组(包括快递、招待等)[2][3]
private String OtherMoneyList; //销售或采购费用涉及项目Id数组(包括快递、招待等)[2][3] private String OtherMoneyItem; //销售费用涉及项目(包括快递、招待等) [{"[2]",22},{"[3]",33}]
private String OtherMoneyItem; //销售费用涉及项目(包括快递、招待等) [{"[2]",22},{"[3]",33}] private Integer AccountDay; //结算天数
private Integer AccountDay; //结算天数 private Depot AllocationProjectId;
private Depot AllocationProjectId; private Double TotalPrice;
private Double TotalPrice; private String PayType;
private String PayType; private Boolean Status = false; //单据状态
private Boolean Status = false; //单据状态 private String Remark;
private String Remark;
public DepotHead() {
public DepotHead()
{ }
} public DepotHead(Long Id) {
this.Id = Id;
public DepotHead(Long Id) }
{
this.Id = Id ; public DepotHead(String type, String subType, Depot projectId, String defaultNumber, String number, String operPersonName, Timestamp createTime,
} Timestamp operTime, Supplier organId, Person handsPersonId, String salesman, String accountIdList, String accountMoneyList,
Double discount, Double discountMoney, Double discountLastMoney, Double otherMoney, String otherMoneyItem, Integer accountDay,
public DepotHead(String type, String subType, Depot projectId, String defaultNumber, String number, String operPersonName, Timestamp createTime, Account accountId, Double changeAmount, Depot allocationProjectId, Double totalPrice, String payType, Boolean status, String remark) {
Timestamp operTime, Supplier organId, Person handsPersonId, String salesman, String accountIdList,String accountMoneyList, super();
Double discount, Double discountMoney,Double discountLastMoney, Double otherMoney, String otherMoneyItem,Integer accountDay, Type = type;
Account accountId, Double changeAmount, Depot allocationProjectId, Double totalPrice,String payType, Boolean status, String remark) { SubType = subType;
super(); ProjectId = projectId;
Type = type; DefaultNumber = defaultNumber;
SubType = subType; Number = number;
ProjectId = projectId; OperPersonName = operPersonName;
DefaultNumber = defaultNumber; CreateTime = createTime;
Number = number; OperTime = operTime;
OperPersonName = operPersonName; OrganId = organId;
CreateTime = createTime; HandsPersonId = handsPersonId;
OperTime = operTime; Salesman = salesman;
OrganId = organId; AccountIdList = accountIdList;
HandsPersonId = handsPersonId; AccountMoneyList = accountMoneyList;
Salesman= salesman; Discount = discount;
AccountIdList= accountIdList; DiscountMoney = discountMoney;
AccountMoneyList= accountMoneyList; DiscountLastMoney = discountLastMoney;
Discount= discount; OtherMoney = otherMoney;
DiscountMoney = discountMoney; OtherMoneyItem = otherMoneyItem;
DiscountLastMoney = discountLastMoney; AccountDay = accountDay;
OtherMoney = otherMoney; AccountId = accountId;
OtherMoneyItem = otherMoneyItem; ChangeAmount = changeAmount;
AccountDay = accountDay; AllocationProjectId = allocationProjectId;
AccountId = accountId; TotalPrice = totalPrice;
ChangeAmount = changeAmount; PayType = payType;
AllocationProjectId = allocationProjectId; Status = status;
TotalPrice = totalPrice; Remark = remark;
PayType = payType; }
Status = status;
Remark = remark; public Long getId() {
} return Id;
}
public Long getId() {
return Id; public void setId(Long id) {
} Id = id;
}
public void setId(Long id) {
Id = id; public String getType() {
} return Type;
}
public String getType() {
return Type; public void setType(String type) {
} Type = type;
}
public void setType(String type) {
Type = type; public String getSubType() {
} return SubType;
}
public String getSubType() {
return SubType; public void setSubType(String subType) {
} SubType = subType;
}
public void setSubType(String subType) {
SubType = subType; public Depot getProjectId() {
} return ProjectId;
}
public Depot getProjectId() {
return ProjectId; public void setProjectId(Depot projectId) {
} ProjectId = projectId;
}
public void setProjectId(Depot projectId) {
ProjectId = projectId; public String getDefaultNumber() {
} return DefaultNumber;
}
public String getDefaultNumber() {
return DefaultNumber; public void setDefaultNumber(String defaultNumber) {
} DefaultNumber = defaultNumber;
}
public void setDefaultNumber(String defaultNumber) {
DefaultNumber = defaultNumber; public String getNumber() {
} return Number;
}
public String getNumber() {
return Number; public void setNumber(String number) {
} Number = number;
}
public void setNumber(String number) {
Number = number; public String getOperPersonName() {
} return OperPersonName;
}
public String getOperPersonName() {
return OperPersonName; public void setOperPersonName(String operPersonName) {
} OperPersonName = operPersonName;
}
public void setOperPersonName(String operPersonName) {
OperPersonName = operPersonName; public Timestamp getCreateTime() {
} return CreateTime;
}
public Timestamp getCreateTime() {
return CreateTime; public void setCreateTime(Timestamp createTime) {
} CreateTime = createTime;
}
public void setCreateTime(Timestamp createTime) {
CreateTime = createTime; public Timestamp getOperTime() {
} return OperTime;
}
public Timestamp getOperTime() {
return OperTime; public void setOperTime(Timestamp operTime) {
} OperTime = operTime;
}
public void setOperTime(Timestamp operTime) {
OperTime = operTime; public Supplier getOrganId() {
} return OrganId;
}
public Supplier getOrganId() {
return OrganId; public void setOrganId(Supplier organId) {
} OrganId = organId;
}
public void setOrganId(Supplier organId) {
OrganId = organId; public Person getHandsPersonId() {
} return HandsPersonId;
}
public Person getHandsPersonId() {
return HandsPersonId; public void setHandsPersonId(Person handsPersonId) {
} HandsPersonId = handsPersonId;
}
public void setHandsPersonId(Person handsPersonId) {
HandsPersonId = handsPersonId; public Account getAccountId() {
} return AccountId;
}
public Account getAccountId() {
return AccountId; public void setAccountId(Account accountId) {
} AccountId = accountId;
}
public void setAccountId(Account accountId) {
AccountId = accountId;
}
public Double getChangeAmount() {
return ChangeAmount;
}
public void setChangeAmount(Double changeAmount) { public Double getChangeAmount() {
ChangeAmount = changeAmount; return ChangeAmount;
} }
public Depot getAllocationProjectId() { public void setChangeAmount(Double changeAmount) {
return AllocationProjectId; ChangeAmount = changeAmount;
} }
public void setAllocationProjectId(Depot allocationProjectId) { public Depot getAllocationProjectId() {
AllocationProjectId = allocationProjectId; return AllocationProjectId;
} }
public Double getTotalPrice() { public void setAllocationProjectId(Depot allocationProjectId) {
return TotalPrice; AllocationProjectId = allocationProjectId;
} }
public void setTotalPrice(Double totalPrice) { public Double getTotalPrice() {
TotalPrice = totalPrice; return TotalPrice;
} }
public String getPayType() { public void setTotalPrice(Double totalPrice) {
return PayType; TotalPrice = totalPrice;
} }
public void setPayType(String payType) {
PayType = payType;
}
public String getRemark() {
return Remark;
}
public void setRemark(String remark) {
Remark = remark;
}
public String getSalesman() {
return Salesman;
}
public void setSalesman(String salesman) {
Salesman = salesman;
}
public String getAccountIdList() {
return AccountIdList;
}
public void setAccountIdList(String accountIdList) {
AccountIdList = accountIdList;
}
public String getAccountMoneyList() {
return AccountMoneyList;
}
public void setAccountMoneyList(String accountMoneyList) {
AccountMoneyList = accountMoneyList;
}
public Double getDiscount() {
return Discount;
}
public void setDiscount(Double discount) {
Discount = discount;
}
public Double getDiscountMoney() {
return DiscountMoney;
}
public void setDiscountMoney(Double discountMoney) {
DiscountMoney = discountMoney;
}
public Double getDiscountLastMoney() {
return DiscountLastMoney;
}
public void setDiscountLastMoney(Double discountLastMoney) {
DiscountLastMoney = discountLastMoney;
}
public Double getOtherMoney() {
return OtherMoney;
}
public void setOtherMoney(Double otherMoney) {
OtherMoney = otherMoney;
}
public String getOtherMoneyList() { public String getPayType() {
return OtherMoneyList; return PayType;
} }
public void setOtherMoneyList(String otherMoneyList) { public void setPayType(String payType) {
OtherMoneyList = otherMoneyList; PayType = payType;
} }
public String getOtherMoneyItem() { public String getRemark() {
return OtherMoneyItem; return Remark;
} }
public void setOtherMoneyItem(String otherMoneyItem) { public void setRemark(String remark) {
OtherMoneyItem = otherMoneyItem; Remark = remark;
} }
public Integer getAccountDay() { public String getSalesman() {
return AccountDay; return Salesman;
} }
public void setAccountDay(Integer accountDay) { public void setSalesman(String salesman) {
AccountDay = accountDay; Salesman = salesman;
} }
public Boolean getStatus() { public String getAccountIdList() {
return Status; return AccountIdList;
} }
public void setStatus(Boolean status) { public void setAccountIdList(String accountIdList) {
Status = status; AccountIdList = accountIdList;
} }
public String getAccountMoneyList() {
return AccountMoneyList;
}
public void setAccountMoneyList(String accountMoneyList) {
AccountMoneyList = accountMoneyList;
}
public Double getDiscount() {
return Discount;
}
public void setDiscount(Double discount) {
Discount = discount;
}
public Double getDiscountMoney() {
return DiscountMoney;
}
public void setDiscountMoney(Double discountMoney) {
DiscountMoney = discountMoney;
}
public Double getDiscountLastMoney() {
return DiscountLastMoney;
}
public void setDiscountLastMoney(Double discountLastMoney) {
DiscountLastMoney = discountLastMoney;
}
public Double getOtherMoney() {
return OtherMoney;
}
public void setOtherMoney(Double otherMoney) {
OtherMoney = otherMoney;
}
public String getOtherMoneyList() {
return OtherMoneyList;
}
public void setOtherMoneyList(String otherMoneyList) {
OtherMoneyList = otherMoneyList;
}
public String getOtherMoneyItem() {
return OtherMoneyItem;
}
public void setOtherMoneyItem(String otherMoneyItem) {
OtherMoneyItem = otherMoneyItem;
}
public Integer getAccountDay() {
return AccountDay;
}
public void setAccountDay(Integer accountDay) {
AccountDay = accountDay;
}
public Boolean getStatus() {
return Status;
}
public void setStatus(Boolean status) {
Status = status;
}
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class DepotItem implements java.io.Serializable public class DepotItem implements java.io.Serializable {
{ private Long Id;
private Long Id; private DepotHead HeaderId;
private DepotHead HeaderId; private Material MaterialId;
private Material MaterialId; private String MUnit; //计量单位
private String MUnit; //计量单位 private Double OperNumber;
private Double OperNumber; private Double BasicNumber;
private Double BasicNumber; private Double UnitPrice;
private Double UnitPrice; private Double TaxUnitPrice; //含税单价
private Double TaxUnitPrice; //含税单价 private Double AllPrice;
private Double AllPrice; private String Remark;
private String Remark; private String Img;
private String Img; private Depot DepotId; //仓库ID
private Depot DepotId; //仓库ID private Depot AnotherDepotId; //对方仓库Id
private Depot AnotherDepotId; //对方仓库Id private Double TaxRate; //税率
private Double TaxRate; //税率 private Double TaxMoney; //税额
private Double TaxMoney; //税额 private Double TaxLastMoney; //价税合计
private Double TaxLastMoney; //价税合计 private String OtherField1; //自定义字段1-品名
private String OtherField1; //自定义字段1-品名 private String OtherField2; //自定义字段2-型号
private String OtherField2; //自定义字段2-型号 private String OtherField3; //自定义字段3-制造商
private String OtherField3; //自定义字段3-制造商 private String OtherField4; //自定义字段4
private String OtherField4; //自定义字段4 private String OtherField5; //自定义字段5
private String OtherField5; //自定义字段5 private String MType; //商品类型
private String MType; //商品类型
public DepotItem() {
public DepotItem()
{ }
} public DepotItem(Long Id) {
this.Id = Id;
public DepotItem(Long Id) }
{
this.Id = Id ; public DepotItem(DepotHead headerId, Material materialId, String mUnit,
} Double operNumber, Double basicNumber, Double unitPrice, Double taxUnitPrice, Double allPrice, String remark, String img,
Depot depotId, Depot anotherDepotId, Double taxRate, Double taxMoney, Double taxLastMoney,
public DepotItem(DepotHead headerId, Material materialId, String mUnit, String otherField1, String otherField2, String otherField3, String otherField4, String otherField5, String mType) {
Double operNumber, Double basicNumber, Double unitPrice, Double taxUnitPrice, Double allPrice, String remark, String img, super();
Depot depotId, Depot anotherDepotId, Double taxRate, Double taxMoney, Double taxLastMoney, HeaderId = headerId;
String otherField1, String otherField2, String otherField3, String otherField4, String otherField5, String mType) { MaterialId = materialId;
super(); MUnit = mUnit;
HeaderId = headerId; OperNumber = operNumber;
MaterialId = materialId; BasicNumber = basicNumber;
MUnit = mUnit; UnitPrice = unitPrice;
OperNumber = operNumber; TaxUnitPrice = taxUnitPrice;
BasicNumber = basicNumber; AllPrice = allPrice;
UnitPrice = unitPrice; Remark = remark;
TaxUnitPrice = taxUnitPrice; Img = img;
AllPrice = allPrice; DepotId = depotId;
Remark = remark; AnotherDepotId = anotherDepotId;
Img = img; TaxRate = taxRate;
DepotId = depotId; TaxMoney = taxMoney;
AnotherDepotId = anotherDepotId; TaxLastMoney = taxLastMoney;
TaxRate = taxRate; OtherField1 = otherField1;
TaxMoney = taxMoney; OtherField2 = otherField2;
TaxLastMoney = taxLastMoney; OtherField3 = otherField3;
OtherField1 = otherField1; OtherField4 = otherField4;
OtherField2 = otherField2; OtherField5 = otherField5;
OtherField3 = otherField3; MType = mType;
OtherField4 = otherField4; }
OtherField5 = otherField5;
MType = mType; public Long getId() {
} return Id;
}
public Long getId() {
return Id; public void setId(Long id) {
} Id = id;
}
public void setId(Long id) {
Id = id; public DepotHead getHeaderId() {
} return HeaderId;
}
public DepotHead getHeaderId() {
return HeaderId; public void setHeaderId(DepotHead headerId) {
} HeaderId = headerId;
}
public void setHeaderId(DepotHead headerId) {
HeaderId = headerId; public Material getMaterialId() {
} return MaterialId;
}
public Material getMaterialId() {
return MaterialId; public void setMaterialId(Material materialId) {
} MaterialId = materialId;
}
public void setMaterialId(Material materialId) {
MaterialId = materialId; public String getMUnit() {
} return MUnit;
}
public String getMUnit() {
return MUnit; public void setMUnit(String MUnit) {
} this.MUnit = MUnit;
}
public void setMUnit(String MUnit) {
this.MUnit = MUnit; public Double getTaxUnitPrice() {
} return TaxUnitPrice;
}
public Double getTaxUnitPrice() {
return TaxUnitPrice; public void setTaxUnitPrice(Double taxUnitPrice) {
} TaxUnitPrice = taxUnitPrice;
}
public void setTaxUnitPrice(Double taxUnitPrice) {
TaxUnitPrice = taxUnitPrice; public Double getOperNumber() {
} return OperNumber;
}
public Double getOperNumber() {
return OperNumber; public void setOperNumber(Double operNumber) {
} OperNumber = operNumber;
}
public void setOperNumber(Double operNumber) {
OperNumber = operNumber; public Double getBasicNumber() {
} return BasicNumber;
}
public Double getBasicNumber() {
return BasicNumber; public void setBasicNumber(Double basicNumber) {
} BasicNumber = basicNumber;
}
public void setBasicNumber(Double basicNumber) {
BasicNumber = basicNumber; public Double getUnitPrice() {
} return UnitPrice;
}
public Double getUnitPrice() {
return UnitPrice; public void setUnitPrice(Double unitPrice) {
} UnitPrice = unitPrice;
}
public void setUnitPrice(Double unitPrice) {
UnitPrice = unitPrice; public Double getAllPrice() {
} return AllPrice;
}
public Double getAllPrice() {
return AllPrice; public void setAllPrice(Double allPrice) {
} AllPrice = allPrice;
}
public void setAllPrice(Double allPrice) {
AllPrice = allPrice; public String getRemark() {
} return Remark;
}
public String getRemark() {
return Remark; public void setRemark(String remark) {
} Remark = remark;
}
public void setRemark(String remark) {
Remark = remark; public String getImg() {
} return Img;
}
public String getImg() {
return Img; public void setImg(String img) {
} Img = img;
}
public void setImg(String img) {
Img = img; public Depot getDepotId() {
} return DepotId;
}
public Depot getDepotId() {
return DepotId; public void setDepotId(Depot depotId) {
} DepotId = depotId;
}
public void setDepotId(Depot depotId) {
DepotId = depotId; public Depot getAnotherDepotId() {
} return AnotherDepotId;
}
public Depot getAnotherDepotId() {
return AnotherDepotId;
}
public void setAnotherDepotId(Depot anotherDepotId) { public void setAnotherDepotId(Depot anotherDepotId) {
AnotherDepotId = anotherDepotId; AnotherDepotId = anotherDepotId;
} }
public Double getTaxRate() { public Double getTaxRate() {
return TaxRate; return TaxRate;
} }
public void setTaxRate(Double taxRate) { public void setTaxRate(Double taxRate) {
TaxRate = taxRate; TaxRate = taxRate;
} }
public Double getTaxMoney() { public Double getTaxMoney() {
return TaxMoney; return TaxMoney;
} }
public void setTaxMoney(Double taxMoney) { public void setTaxMoney(Double taxMoney) {
TaxMoney = taxMoney; TaxMoney = taxMoney;
} }
public Double getTaxLastMoney() { public Double getTaxLastMoney() {
return TaxLastMoney; return TaxLastMoney;
} }
public void setTaxLastMoney(Double taxLastMoney) { public void setTaxLastMoney(Double taxLastMoney) {
TaxLastMoney = taxLastMoney; TaxLastMoney = taxLastMoney;
} }
public String getOtherField1() { public String getOtherField1() {
return OtherField1; return OtherField1;
} }
public void setOtherField1(String otherField1) { public void setOtherField1(String otherField1) {
OtherField1 = otherField1; OtherField1 = otherField1;
} }
public String getOtherField2() { public String getOtherField2() {
return OtherField2; return OtherField2;
} }
public void setOtherField2(String otherField2) { public void setOtherField2(String otherField2) {
OtherField2 = otherField2; OtherField2 = otherField2;
} }
public String getOtherField3() { public String getOtherField3() {
return OtherField3; return OtherField3;
} }
public void setOtherField3(String otherField3) { public void setOtherField3(String otherField3) {
OtherField3 = otherField3; OtherField3 = otherField3;
} }
public String getOtherField4() { public String getOtherField4() {
return OtherField4; return OtherField4;
} }
public void setOtherField4(String otherField4) { public void setOtherField4(String otherField4) {
OtherField4 = otherField4; OtherField4 = otherField4;
} }
public String getOtherField5() { public String getOtherField5() {
return OtherField5; return OtherField5;
} }
public void setOtherField5(String otherField5) { public void setOtherField5(String otherField5) {
OtherField5 = otherField5; OtherField5 = otherField5;
} }
public String getMType() { public String getMType() {
return MType; return MType;
} }
public void setMType(String MType) { public void setMType(String MType) {
this.MType = MType; this.MType = MType;
} }
} }
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Functions implements java.io.Serializable public class Functions implements java.io.Serializable {
{ private Long Id;
private Long Id; private String Number;
private String Number; private String Name;
private String Name; private String PNumber;
private String PNumber; private String URL;
private String URL; private Boolean State;
private Boolean State; private String Sort;
private String Sort; private Boolean Enabled;
private Boolean Enabled; private String Type;
private String Type; private String PushBtn;
private String PushBtn;
public Functions() {
public Functions()
{ }
} public Long getId() {
return Id;
public Long getId() { }
return Id;
} public void setId(Long id) {
Id = id;
public void setId(Long id) { }
Id = id;
} public String getNumber() {
return Number;
public String getNumber() { }
return Number;
} public void setNumber(String number) {
Number = number;
public void setNumber(String number) { }
Number = number;
} public String getName() {
return Name;
public String getName() { }
return Name;
} public void setName(String name) {
Name = name;
public void setName(String name) { }
Name = name;
} public String getPNumber() {
return PNumber;
public String getPNumber() { }
return PNumber;
} public void setPNumber(String pNumber) {
PNumber = pNumber;
public void setPNumber(String pNumber) { }
PNumber = pNumber;
} public String getURL() {
return URL;
public String getURL() { }
return URL;
} public void setURL(String uRL) {
URL = uRL;
public void setURL(String uRL) { }
URL = uRL;
} public Boolean getState() {
return State;
public Boolean getState() { }
return State;
} public void setState(Boolean state) {
State = state;
public void setState(Boolean state) { }
State = state;
} public String getSort() {
return Sort;
public String getSort() { }
return Sort;
} public void setSort(String sort) {
Sort = sort;
public void setSort(String sort) { }
Sort = sort;
} public Boolean getEnabled() {
return Enabled;
public Boolean getEnabled() { }
return Enabled;
} public void setEnabled(Boolean enabled) {
Enabled = enabled;
public void setEnabled(Boolean enabled) { }
Enabled = enabled;
} public String getType() {
return Type;
public String getType() { }
return Type;
} public void setType(String type) {
Type = type;
public void setType(String type) { }
Type = type;
} public String getPushBtn() {
return PushBtn;
public String getPushBtn() { }
return PushBtn;
} public void setPushBtn(String pushBtn) {
PushBtn = pushBtn;
public void setPushBtn(String pushBtn) { }
PushBtn = pushBtn;
}
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class InOutItem implements java.io.Serializable public class InOutItem implements java.io.Serializable {
{
private Long Id; private Long Id;
private String Name; private String Name;
private String Type; private String Type;
private String Remark; private String Remark;
public InOutItem() public InOutItem() {
{
} }
public InOutItem(Long Id) public InOutItem(Long Id) {
{
this.Id = Id; this.Id = Id;
} }
...@@ -24,43 +21,35 @@ public class InOutItem implements java.io.Serializable ...@@ -24,43 +21,35 @@ public class InOutItem implements java.io.Serializable
Remark = remark; Remark = remark;
} }
public void setId(Long id) public Long getId() {
{
Id = id;
}
public Long getId()
{
return Id; return Id;
} }
public void setName(String name) public void setId(Long id) {
{ Id = id;
Name = name;
} }
public String getName() public String getName() {
{
return Name; return Name;
} }
public void setType(String type) public void setName(String name) {
{ Name = name;
Type = type;
} }
public String getType() public String getType() {
{
return Type; return Type;
} }
public void setRemark(String remark) public void setType(String type) {
{ Type = type;
Remark = remark;
} }
public String getRemark() public String getRemark() {
{
return Remark; return Remark;
} }
public void setRemark(String remark) {
Remark = remark;
}
} }
...@@ -3,52 +3,46 @@ package com.jsh.model.po; ...@@ -3,52 +3,46 @@ package com.jsh.model.po;
import java.sql.Timestamp; import java.sql.Timestamp;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Logdetails implements java.io.Serializable public class Logdetails implements java.io.Serializable {
{
private Long id;
private Long id; private Basicuser user;
private Basicuser user; private String operation;
private String operation; private String clientIp;
private String clientIp; private Timestamp createtime;
private Timestamp createtime; private Short status;
private Short status; private String contentdetails;
private String contentdetails; private String remark;
private String remark;
public Logdetails() {
public Logdetails()
{ }
} public Logdetails(Long id) {
this.id = id;
public Logdetails(Long id) }
{
this.id = id; public Logdetails(Basicuser user, String operation, String clientIp,
} Timestamp createtime, Short status, String contentdetails,
String remark) {
public Logdetails(Basicuser user, String operation, String clientIp, this.user = user;
Timestamp createtime, Short status, String contentdetails, this.operation = operation;
String remark) this.clientIp = clientIp;
{ this.createtime = createtime;
this.user = user; this.status = status;
this.operation = operation; this.contentdetails = contentdetails;
this.clientIp = clientIp; this.remark = remark;
this.createtime = createtime; }
this.status = status;
this.contentdetails = contentdetails; public Long getId() {
this.remark = remark; return this.id;
} }
public Long getId() public void setId(Long id) {
{ this.id = id;
return this.id; }
}
public Basicuser getUser() {
public void setId(Long id)
{
this.id = id;
}
public Basicuser getUser() {
return user; return user;
} }
...@@ -56,64 +50,52 @@ public class Logdetails implements java.io.Serializable ...@@ -56,64 +50,52 @@ public class Logdetails implements java.io.Serializable
this.user = user; this.user = user;
} }
public String getOperation() public String getOperation() {
{ return this.operation;
return this.operation; }
}
public void setOperation(String operation) {
public void setOperation(String operation) this.operation = operation;
{ }
this.operation = operation;
} public String getClientIp() {
return this.clientIp;
public String getClientIp() }
{
return this.clientIp; public void setClientIp(String clientIp) {
} this.clientIp = clientIp;
}
public void setClientIp(String clientIp)
{ public Timestamp getCreatetime() {
this.clientIp = clientIp; return this.createtime;
} }
public Timestamp getCreatetime() public void setCreatetime(Timestamp createtime) {
{ this.createtime = createtime;
return this.createtime; }
}
public Short getStatus() {
public void setCreatetime(Timestamp createtime) return this.status;
{ }
this.createtime = createtime;
} public void setStatus(Short status) {
this.status = status;
public Short getStatus() }
{
return this.status; public String getContentdetails() {
} return this.contentdetails;
}
public void setStatus(Short status)
{ public void setContentdetails(String contentdetails) {
this.status = status; this.contentdetails = contentdetails;
} }
public String getContentdetails() public String getRemark() {
{ return this.remark;
return this.contentdetails; }
}
public void setRemark(String remark) {
public void setContentdetails(String contentdetails) this.remark = remark;
{ }
this.contentdetails = contentdetails;
}
public String getRemark()
{
return this.remark;
}
public void setRemark(String remark)
{
this.remark = remark;
}
} }
\ No newline at end of file
...@@ -3,310 +3,287 @@ package com.jsh.model.po; ...@@ -3,310 +3,287 @@ package com.jsh.model.po;
import java.util.Map; import java.util.Map;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Material implements java.io.Serializable public class Material implements java.io.Serializable {
{ private Long Id;
private Long Id; private MaterialCategory materialCategory;
private MaterialCategory materialCategory; private String Name;
private String Name; private String Mfrs;
private String Mfrs; private Double Packing;
private Double Packing; private Double SafetyStock;
private Double SafetyStock; private String Model;
private String Model; private String Standard;
private String Standard; private String Color;
private String Color; private String Unit;
private String Unit;
private Double RetailPrice; private Double RetailPrice;
private Double LowPrice; private Double LowPrice;
private Double PresetPriceOne; private Double PresetPriceOne;
private Double PresetPriceTwo; private Double PresetPriceTwo;
private Unit UnitId; private Unit UnitId;
private String FirstOutUnit; private String FirstOutUnit;
private String FirstInUnit; private String FirstInUnit;
private String PriceStrategy; private String PriceStrategy;
private String Remark; private String Remark;
private Boolean Enabled; private Boolean Enabled;
private String OtherField1; private String OtherField1;
private String OtherField2; private String OtherField2;
private String OtherField3; private String OtherField3;
//----------以下属性导入exel表格使用-------------------- //----------以下属性导入exel表格使用--------------------
/** /**
* 类型 right--正确 warn--警告 wrong--错误 * 类型 right--正确 warn--警告 wrong--错误
*/ */
private Map<Integer,String> cellInfo; private Map<Integer, String> cellInfo;
/** /**
* 行号 * 行号
*/ */
private Integer rowLineNum; private Integer rowLineNum;
private String safetyStockStr; private String safetyStockStr;
public Material() public Material() {
{
}
}
public Material(Long Id) {
public Material(Long Id) this.Id = Id;
{ }
this.Id = Id;
} public Material(MaterialCategory materialCategory, String name, String mfrs, Double packing,
Double safetyStock, String model, String standard, String color, String unit, String remark,
public Material(MaterialCategory materialCategory, String name, String mfrs, Double packing, Double retailPrice, Double lowPrice, Double presetPriceOne, Double presetPriceTwo,
Double safetyStock, String model, String standard, String color, String unit, String remark, Unit unitId, String firstOutUnit, String firstInUnit, String priceStrategy, Boolean enabled,
Double retailPrice, Double lowPrice, Double presetPriceOne, Double presetPriceTwo, String otherField1, String otherField2, String otherField3) {
Unit unitId, String firstOutUnit, String firstInUnit, String priceStrategy, Boolean enabled, super();
String otherField1, String otherField2, String otherField3) { this.materialCategory = materialCategory;
super(); Name = name;
this.materialCategory = materialCategory; Mfrs = mfrs;
Name = name; Packing = packing;
Mfrs = mfrs; SafetyStock = safetyStock;
Packing = packing; Model = model;
SafetyStock = safetyStock; Standard = standard;
Model = model; Color = color;
Standard = standard; Unit = unit;
Color = color;
Unit = unit;
RetailPrice = retailPrice; RetailPrice = retailPrice;
LowPrice = lowPrice; LowPrice = lowPrice;
PresetPriceOne = presetPriceOne; PresetPriceOne = presetPriceOne;
PresetPriceTwo = presetPriceTwo; PresetPriceTwo = presetPriceTwo;
Remark = remark; Remark = remark;
UnitId = unitId; UnitId = unitId;
FirstOutUnit = firstOutUnit; FirstOutUnit = firstOutUnit;
FirstInUnit = firstInUnit; FirstInUnit = firstInUnit;
PriceStrategy = priceStrategy; PriceStrategy = priceStrategy;
Enabled = enabled; Enabled = enabled;
OtherField1 = otherField1; OtherField1 = otherField1;
OtherField2 = otherField2; OtherField2 = otherField2;
OtherField3 = otherField3; OtherField3 = otherField3;
} }
public Long getId() public Long getId() {
{ return Id;
return Id; }
}
public void setId(Long id) {
public void setId(Long id) Id = id;
{ }
Id = id;
} public MaterialCategory getMaterialCategory() {
return materialCategory;
public MaterialCategory getMaterialCategory() }
{
return materialCategory; public void setMaterialCategory(MaterialCategory materialCategory) {
} this.materialCategory = materialCategory;
}
public void setMaterialCategory(MaterialCategory materialCategory)
{ public String getName() {
this.materialCategory = materialCategory; return Name;
} }
public String getName() public void setName(String name) {
{ Name = name;
return Name; }
}
public String getModel() {
public void setName(String name) return Model;
{ }
Name = name;
} public void setModel(String model) {
Model = model;
public String getModel() }
{
return Model; public String getStandard() {
} return Standard;
public void setModel(String model)
{
Model = model;
}
public String getStandard() {
return Standard;
}
public void setStandard(String standard) {
Standard = standard;
}
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() public void setStandard(String standard) {
{ Standard = standard;
}
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 Double getRetailPrice() {
return RetailPrice; return RetailPrice;
} }
public void setLowPrice(Double lowPrice) public void setRetailPrice(Double retailPrice) {
{ RetailPrice = retailPrice;
LowPrice = lowPrice;
} }
public Double getLowPrice() public Double getLowPrice() {
{
return LowPrice; return LowPrice;
} }
public void setPresetPriceOne(Double presetPriceOne) public void setLowPrice(Double lowPrice) {
{ LowPrice = lowPrice;
PresetPriceOne = presetPriceOne;
} }
public Double getPresetPriceOne() public Double getPresetPriceOne() {
{
return PresetPriceOne; return PresetPriceOne;
} }
public void setPresetPriceTwo(Double presetPriceTwo) public void setPresetPriceOne(Double presetPriceOne) {
{ PresetPriceOne = presetPriceOne;
PresetPriceTwo = presetPriceTwo;
} }
public Double getPresetPriceTwo() public Double getPresetPriceTwo() {
{
return PresetPriceTwo; return PresetPriceTwo;
} }
public String getRemark() public void setPresetPriceTwo(Double presetPriceTwo) {
{ PresetPriceTwo = presetPriceTwo;
return Remark; }
}
public void setRemark(String remark) public String getRemark() {
{ return Remark;
Remark = remark; }
}
public String getMfrs() { public void setRemark(String remark) {
return Mfrs; Remark = remark;
} }
public void setMfrs(String mfrs) { public String getMfrs() {
Mfrs = mfrs; return Mfrs;
} }
public Double getPacking() { public void setMfrs(String mfrs) {
return Packing; Mfrs = mfrs;
} }
public void setPacking(Double packing) { public Double getPacking() {
Packing = packing; return Packing;
} }
public Double getSafetyStock() { public void setPacking(Double packing) {
return SafetyStock; Packing = packing;
} }
public void setSafetyStock(Double safetyStock) { public Double getSafetyStock() {
SafetyStock = safetyStock; return SafetyStock;
} }
public Unit getUnitId() { public void setSafetyStock(Double safetyStock) {
return UnitId; SafetyStock = safetyStock;
} }
public void setUnitId(Unit unitId) { public Unit getUnitId() {
UnitId = unitId; return UnitId;
} }
public String getFirstOutUnit() { public void setUnitId(Unit unitId) {
return FirstOutUnit; UnitId = unitId;
} }
public void setFirstOutUnit(String firstOutUnit) { public String getFirstOutUnit() {
FirstOutUnit = firstOutUnit; return FirstOutUnit;
} }
public String getFirstInUnit() { public void setFirstOutUnit(String firstOutUnit) {
return FirstInUnit; FirstOutUnit = firstOutUnit;
} }
public void setFirstInUnit(String firstInUnit) { public String getFirstInUnit() {
FirstInUnit = firstInUnit; return FirstInUnit;
} }
public String getPriceStrategy() { public void setFirstInUnit(String firstInUnit) {
return PriceStrategy; FirstInUnit = firstInUnit;
} }
public void setPriceStrategy(String priceStrategy) { public String getPriceStrategy() {
PriceStrategy = priceStrategy; return PriceStrategy;
} }
public Boolean getEnabled() { public void setPriceStrategy(String priceStrategy) {
return Enabled; PriceStrategy = priceStrategy;
} }
public void setEnabled(Boolean enabled) { public Boolean getEnabled() {
Enabled = enabled; return Enabled;
} }
public String getOtherField1() { public void setEnabled(Boolean enabled) {
return OtherField1; Enabled = enabled;
} }
public String getOtherField1() {
return OtherField1;
}
public void setOtherField1(String otherField1) {
OtherField1 = otherField1;
}
public String getOtherField3() {
return OtherField3;
}
public void setOtherField1(String otherField1) { public void setOtherField3(String otherField3) {
OtherField1 = otherField1; OtherField3 = otherField3;
} }
public String getOtherField3() { public String getOtherField2() {
return OtherField3; return OtherField2;
} }
public void setOtherField3(String otherField3) { public void setOtherField2(String otherField2) {
OtherField3 = otherField3; OtherField2 = otherField2;
} }
public String getOtherField2() { public Map<Integer, String> getCellInfo() {
return OtherField2; return cellInfo;
} }
public void setOtherField2(String otherField2) { public void setCellInfo(Map<Integer, String> cellInfo) {
OtherField2 = otherField2; this.cellInfo = cellInfo;
} }
public Map<Integer, String> getCellInfo() { public Integer getRowLineNum() {
return cellInfo; return rowLineNum;
} }
public void setCellInfo(Map<Integer, String> cellInfo) {
this.cellInfo = cellInfo;
}
public Integer getRowLineNum() {
return rowLineNum;
}
public void setRowLineNum(Integer rowLineNum) { public void setRowLineNum(Integer rowLineNum) {
this.rowLineNum = rowLineNum; this.rowLineNum = rowLineNum;
} }
public String getSafetyStockStr() { public String getSafetyStockStr() {
return safetyStockStr; return safetyStockStr;
} }
public void setSafetyStockStr(String safetyStockStr) { public void setSafetyStockStr(String safetyStockStr) {
this.safetyStockStr = safetyStockStr; this.safetyStockStr = safetyStockStr;
} }
} }
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class MaterialCategory implements java.io.Serializable public class MaterialCategory implements java.io.Serializable {
{ private Long Id;
private Long Id; private String Name;
private String Name; private Short CategoryLevel;
private Short CategoryLevel; private MaterialCategory materialCategory;
private MaterialCategory materialCategory;
public MaterialCategory() {
public MaterialCategory()
{ }
} public MaterialCategory(Long Id) {
this.Id = Id;
public MaterialCategory(Long Id) }
{
this.Id = Id; public MaterialCategory(String name, Short categoryLevel,
} MaterialCategory materialCategory) {
Name = name;
public MaterialCategory(String name, Short categoryLevel, CategoryLevel = categoryLevel;
MaterialCategory materialCategory) { this.materialCategory = materialCategory;
Name = name; }
CategoryLevel = categoryLevel;
this.materialCategory = materialCategory; public Long getId() {
} return Id;
}
public Long getId() {
return Id; public void setId(Long id) {
} Id = id;
}
public void setId(Long id) {
Id = id; public String getName() {
} return Name;
}
public String getName() {
return Name; public void setName(String name) {
} Name = name;
}
public void setName(String name) {
Name = name; public Short getCategoryLevel() {
} return CategoryLevel;
}
public Short getCategoryLevel() {
return CategoryLevel; public void setCategoryLevel(Short categoryLevel) {
} CategoryLevel = categoryLevel;
}
public void setCategoryLevel(Short categoryLevel) {
CategoryLevel = categoryLevel; public MaterialCategory getMaterialCategory() {
} return materialCategory;
}
public MaterialCategory getMaterialCategory() {
return materialCategory; public void setMaterialCategory(MaterialCategory materialCategory) {
} this.materialCategory = materialCategory;
}
public void setMaterialCategory(MaterialCategory materialCategory) {
this.materialCategory = materialCategory;
}
} }
\ No newline at end of file
...@@ -2,65 +2,64 @@ package com.jsh.model.po; ...@@ -2,65 +2,64 @@ package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class MaterialProperty implements java.io.Serializable { public class MaterialProperty implements java.io.Serializable {
private Long id; private Long id;
private String nativeName; private String nativeName;
private Boolean enabled; private Boolean enabled;
private String sort; private String sort;
private String anotherName; private String anotherName;
public MaterialProperty() { public MaterialProperty() {
} }
public MaterialProperty(Long id) public MaterialProperty(Long id) {
{ this.id = id;
this.id = id; }
}
public MaterialProperty(String nativeName, Boolean enabled,String sort, String anotherName) { public MaterialProperty(String nativeName, Boolean enabled, String sort, String anotherName) {
nativeName = nativeName; nativeName = nativeName;
enabled = enabled; enabled = enabled;
sort = sort; sort = sort;
anotherName = anotherName; anotherName = anotherName;
} }
public Long getId() { public Long getId() {
return id; return id;
} }
public void setId(Long id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
public String getNativeName() { public String getNativeName() {
return nativeName; return nativeName;
} }
public void setNativeName(String nativeName) { public void setNativeName(String nativeName) {
this.nativeName = nativeName; this.nativeName = nativeName;
} }
public Boolean getEnabled() { public Boolean getEnabled() {
return enabled; return enabled;
} }
public void setEnabled(Boolean enabled) { public void setEnabled(Boolean enabled) {
this.enabled = enabled; this.enabled = enabled;
} }
public String getSort() { public String getSort() {
return sort; return sort;
} }
public void setSort(String sort) { public void setSort(String sort) {
this.sort = sort; this.sort = sort;
} }
public String getAnotherName() { public String getAnotherName() {
return anotherName; return anotherName;
} }
public void setAnotherName(String anotherName) { public void setAnotherName(String anotherName) {
this.anotherName = anotherName; this.anotherName = anotherName;
} }
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Person implements java.io.Serializable public class Person implements java.io.Serializable {
{ private Long Id;
private Long Id; private String Type;
private String Type; private String Name;
private String Name;
public Person() {
public Person()
{ }
} public Person(Long Id) {
this.Id = Id;
public Person(Long Id) }
{
this.Id = Id; public Person(String type, String name) {
} Type = type;
Name = name;
public Person(String type, String name) { }
Type = type;
Name = name; public Long getId() {
} return Id;
}
public Long getId() {
return Id; public void setId(Long id) {
} Id = id;
}
public void setId(Long id) {
Id = id; public String getType() {
} return Type;
}
public String getType() {
return Type; public void setType(String type) {
} Type = type;
}
public void setType(String type) {
Type = type; public String getName() {
} return Name;
}
public String getName() {
return Name; public void setName(String name) {
} Name = name;
}
public void setName(String name) {
Name = name;
}
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Role implements java.io.Serializable public class Role implements java.io.Serializable {
{ private Long Id;
private Long Id; private String Name;
private String Name;
public Role() {
public Role()
{ }
} public Long getId() {
return Id;
public Long getId() { }
return Id;
} public void setId(Long id) {
Id = id;
public void setId(Long id) { }
Id = id;
} public String getName() {
return Name;
public String getName() { }
return Name;
} public void setName(String name) {
Name = name;
public void setName(String name) { }
Name = name;
}
} }
\ No newline at end of file
...@@ -3,321 +3,307 @@ package com.jsh.model.po; ...@@ -3,321 +3,307 @@ package com.jsh.model.po;
import java.util.Map; import java.util.Map;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Supplier implements java.io.Serializable public class Supplier implements java.io.Serializable {
{ private Long id = 0l;
private Long id =0l; private String supplier = "";
private String supplier = ""; private String type = "";
private String type = ""; private String contacts = "";
private String contacts = ""; private String phonenum = "";
private String phonenum = ""; private String fax = "";
private String fax = ""; private String telephone = "";
private String telephone = ""; private String email = "";
private String email = ""; private String address = "";
private String address = ""; private Double advanceIn = 0d;
private Double advanceIn = 0d; private String taxNum = "";
private String taxNum = ""; private String bankName = "";
private String bankName = ""; private String accountNumber = "";
private String accountNumber = ""; private Double taxRate = 0d;
private Double taxRate = 0d;
private Double BeginNeedGet = 0d; private Double BeginNeedGet = 0d;
private Double BeginNeedPay = 0d; private Double BeginNeedPay = 0d;
private Double AllNeedGet = 0d; private Double AllNeedGet = 0d;
private Double AllNeedPay = 0d; private Double AllNeedPay = 0d;
private Short isystem = 1; private Short isystem = 1;
private String description = ""; private String description = "";
private Boolean enabled = true; private Boolean enabled = true;
//----------以下属性导入exel表格使用-------------------- //----------以下属性导入exel表格使用--------------------
/** /**
* 类型 right--正确 warn--警告 wrong--错误 * 类型 right--正确 warn--警告 wrong--错误
*/ */
private Map<Integer,String> cellInfo; private Map<Integer, String> cellInfo;
/** /**
* 行号 * 行号
*/ */
private Integer rowLineNum; private Integer rowLineNum;
private String advanceInStr; private String advanceInStr;
private String beginNeedGetStr; private String beginNeedGetStr;
private String beginNeedPayStr; private String beginNeedPayStr;
private String taxRateStr; private String taxRateStr;
private String enabledStr; private String enabledStr;
public Supplier() public Supplier() {
{
}
}
public Supplier(Long id) {
public Supplier(Long id) this.id = id;
{ }
this.id = id;
} public Supplier(String supplier, String type, String contacts, String phonenum,
String fax, String telephone, String email, String address, Short isystem, String description,
public Supplier(String supplier, String type, String contacts, String phonenum, Boolean enabled, Double advanceIn, String taxNum, String bankName, String accountNumber, Double taxRate,
String fax,String telephone, String email, String address, Short isystem, String description, Double beginNeedGet, Double beginNeedPay, Double allNeedGet, Double allNeedPay) {
Boolean enabled, Double advanceIn, String taxNum,String bankName,String accountNumber, Double taxRate, super();
Double beginNeedGet,Double beginNeedPay,Double allNeedGet,Double allNeedPay) { this.supplier = supplier;
super(); this.type = type;
this.supplier = supplier; this.contacts = contacts;
this.type = type; this.phonenum = phonenum;
this.contacts = contacts; this.fax = fax;
this.phonenum = phonenum; this.telephone = telephone;
this.fax = fax; this.address = address;
this.telephone = telephone; this.email = email;
this.address = address;
this.email = email;
this.BeginNeedGet = beginNeedGet; this.BeginNeedGet = beginNeedGet;
this.BeginNeedPay = beginNeedPay; this.BeginNeedPay = beginNeedPay;
this.AllNeedGet = allNeedGet; this.AllNeedGet = allNeedGet;
this.AllNeedPay = allNeedPay; this.AllNeedPay = allNeedPay;
this.isystem = isystem; this.isystem = isystem;
this.description = description; this.description = description;
this.enabled = enabled; this.enabled = enabled;
this.advanceIn = advanceIn; this.advanceIn = advanceIn;
this.taxNum = taxNum; this.taxNum = taxNum;
this.bankName = bankName; this.bankName = bankName;
this.accountNumber = accountNumber; this.accountNumber = accountNumber;
this.taxRate = taxRate; this.taxRate = taxRate;
} }
public Long getId() public Long getId() {
{ return id;
return id; }
}
public void setId(Long id) {
public void setId(Long id) this.id = id;
{ }
this.id = id;
} public String getSupplier() {
return supplier;
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() 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 Double getBeginNeedGet() {
return BeginNeedGet; return BeginNeedGet;
} }
public void setBeginNeedPay(Double beginNeedPay) public void setBeginNeedGet(Double beginNeedGet) {
{ BeginNeedGet = beginNeedGet;
BeginNeedPay = beginNeedPay;
} }
public Double getBeginNeedPay() public Double getBeginNeedPay() {
{
return BeginNeedPay; return BeginNeedPay;
} }
public void setAllNeedGet(Double allNeedGet) public void setBeginNeedPay(Double beginNeedPay) {
{ BeginNeedPay = beginNeedPay;
AllNeedGet = allNeedGet;
} }
public Double getAllNeedGet() public Double getAllNeedGet() {
{
return AllNeedGet; return AllNeedGet;
} }
public void setAllNeedPay(Double allNeedPay) public void setAllNeedGet(Double allNeedGet) {
{ AllNeedGet = allNeedGet;
AllNeedPay = allNeedPay;
} }
public Double getAllNeedPay() public Double getAllNeedPay() {
{
return AllNeedPay; return AllNeedPay;
} }
public Short getIsystem() { public void setAllNeedPay(Double allNeedPay) {
return isystem; AllNeedPay = allNeedPay;
} }
public void setIsystem(Short isystem) { public Short getIsystem() {
this.isystem = isystem; return isystem;
} }
public String getDescription() { public void setIsystem(Short isystem) {
return description; this.isystem = isystem;
} }
public void setDescription(String description) { public String getDescription() {
this.description = description; return description;
} }
public Boolean getEnabled() { public void setDescription(String description) {
return enabled; this.description = description;
} }
public void setEnabled(Boolean enabled) { public Boolean getEnabled() {
this.enabled = enabled; return enabled;
} }
public Double getAdvanceIn() { public void setEnabled(Boolean enabled) {
return advanceIn; this.enabled = enabled;
} }
public void setAdvanceIn(Double advanceIn) { public Double getAdvanceIn() {
this.advanceIn = advanceIn; return advanceIn;
} }
public String getFax() { public void setAdvanceIn(Double advanceIn) {
return fax; this.advanceIn = advanceIn;
} }
public void setFax(String fax) { public String getFax() {
this.fax = fax; return fax;
} }
public void setFax(String fax) {
this.fax = fax;
}
public String getTelephone() { public String getTelephone() {
return telephone; return telephone;
} }
public void setTelephone(String telephone) { public void setTelephone(String telephone) {
this.telephone = telephone; this.telephone = telephone;
} }
public String getAddress() { public String getAddress() {
return address; return address;
} }
public void setAddress(String address) { public void setAddress(String address) {
this.address = address; this.address = address;
} }
public String getTaxNum() { public String getTaxNum() {
return taxNum; return taxNum;
} }
public void setTaxNum(String taxNum) { public void setTaxNum(String taxNum) {
this.taxNum = taxNum; this.taxNum = taxNum;
} }
public String getBankName() { public String getBankName() {
return bankName; return bankName;
} }
public void setBankName(String bankName) { public void setBankName(String bankName) {
this.bankName = bankName; this.bankName = bankName;
} }
public String getAccountNumber() { public String getAccountNumber() {
return accountNumber; return accountNumber;
} }
public void setAccountNumber(String accountNumber) { public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber; this.accountNumber = accountNumber;
} }
public Double getTaxRate() { public Double getTaxRate() {
return taxRate; return taxRate;
} }
public void setTaxRate(Double taxRate) { public void setTaxRate(Double taxRate) {
this.taxRate = taxRate; this.taxRate = taxRate;
} }
public Map<Integer, String> getCellInfo() { public Map<Integer, String> getCellInfo() {
return cellInfo; return cellInfo;
} }
public void setCellInfo(Map<Integer, String> cellInfo) { public void setCellInfo(Map<Integer, String> cellInfo) {
this.cellInfo = cellInfo; this.cellInfo = cellInfo;
} }
public Integer getRowLineNum() { public Integer getRowLineNum() {
return rowLineNum; return rowLineNum;
} }
public void setRowLineNum(Integer rowLineNum) { public void setRowLineNum(Integer rowLineNum) {
this.rowLineNum = rowLineNum; this.rowLineNum = rowLineNum;
} }
public String getAdvanceInStr() { public String getAdvanceInStr() {
return advanceInStr; return advanceInStr;
} }
public void setAdvanceInStr(String advanceInStr) { public void setAdvanceInStr(String advanceInStr) {
this.advanceInStr = advanceInStr; this.advanceInStr = advanceInStr;
} }
public String getBeginNeedGetStr() { public String getBeginNeedGetStr() {
return beginNeedGetStr; return beginNeedGetStr;
} }
public void setBeginNeedGetStr(String beginNeedGetStr) { public void setBeginNeedGetStr(String beginNeedGetStr) {
this.beginNeedGetStr = beginNeedGetStr; this.beginNeedGetStr = beginNeedGetStr;
} }
public String getBeginNeedPayStr() { public String getBeginNeedPayStr() {
return beginNeedPayStr; return beginNeedPayStr;
} }
public void setBeginNeedPayStr(String beginNeedPayStr) { public void setBeginNeedPayStr(String beginNeedPayStr) {
this.beginNeedPayStr = beginNeedPayStr; this.beginNeedPayStr = beginNeedPayStr;
} }
public String getTaxRateStr() { public String getTaxRateStr() {
return taxRateStr; return taxRateStr;
} }
public void setTaxRateStr(String taxRateStr) { public void setTaxRateStr(String taxRateStr) {
this.taxRateStr = taxRateStr; this.taxRateStr = taxRateStr;
} }
public String getEnabledStr() { public String getEnabledStr() {
return enabledStr; return enabledStr;
} }
public void setEnabledStr(String enabledStr) { public void setEnabledStr(String enabledStr) {
this.enabledStr = enabledStr; this.enabledStr = enabledStr;
} }
} }
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class SystemConfig implements java.io.Serializable public class SystemConfig implements java.io.Serializable {
{ private Long id;
private Long id; private String type;
private String type; private String name;
private String name; private String value;
private String value; private String description;
private String description;
public Long getId() {
public Long getId() { return id;
return id; }
}
public void setId(Long id) {
public void setId(Long id) { this.id = id;
this.id = id; }
}
public String getType() {
public String getType() { return type;
return type; }
}
public void setType(String type) {
public void setType(String type) { this.type = type;
this.type = type; }
}
public String getName() {
public String getName() { return name;
return name; }
}
public void setName(String name) {
public void setName(String name) { this.name = name;
this.name = name; }
}
public String getValue() {
public String getValue() { return value;
return value; }
}
public void setValue(String value) {
public void setValue(String value) { this.value = value;
this.value = value; }
}
public String getDescription() {
public String getDescription() { return description;
return description; }
}
public void setDescription(String description) {
public void setDescription(String description) { this.description = description;
this.description = description; }
}
} }
\ No newline at end of file
package com.jsh.model.po; package com.jsh.model.po;
@SuppressWarnings("serial") @SuppressWarnings("serial")
public class Unit implements java.io.Serializable public class Unit implements java.io.Serializable {
{ private Long id;
private Long id; private String UName;
private String UName;
public Unit() public Unit() {
{
} }
public Unit(Long id) { public Unit(Long id) {
this.id = id; this.id = id;
} }
public Unit(String UName) public Unit(String UName) {
{ this.UName = UName;
this.UName = UName; }
}
public Long getId() { public Long getId() {
return id; return id;
} }
public void setId(Long id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
public String getUName() { public String getUName() {
return UName; return UName;
} }
public void setUName(String UName) { public void setUName(String UName) {
this.UName = UName; this.UName = UName;
} }
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment