Commit e85498f6 authored by 季圣华's avatar 季圣华
Browse files

升级代码结构,采用Maven来管理jar包(10)

parent 11f18afa
package com.jsh.dao.materials;
import com.jsh.base.BaseIDAO;
import com.jsh.util.JshException;
import com.jsh.model.po.DepotHead;
import com.jsh.model.po.UserBusiness;
import com.jsh.util.PageUtil;
public interface DepotHeadIDAO extends BaseIDAO<DepotHead>
{
/*
* 获取MaxId
*/
void find(PageUtil<DepotHead> pageUtil,String maxid) throws JshException;
}
package com.jsh.dao.materials;
import org.hibernate.Query;
import com.jsh.base.BaseDAO;
import com.jsh.util.JshException;
import com.jsh.model.po.DepotHead;
import com.jsh.model.po.DepotItem;
import com.jsh.util.PageUtil;
import com.jsh.util.SearchConditionUtil;
public class DepotItemDAO extends BaseDAO<DepotItem> implements DepotItemIDAO
{
/**
* 设置dao映射基类
* @return
*/
@Override
public Class<DepotItem> getEntityClass()
{
return DepotItem.class;
}
@SuppressWarnings("unchecked")
@Override
public void findByType(PageUtil<DepotItem> pageUtil,String type,Long MId,String MonthTime,Boolean isPrev) throws JshException
{
//多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便
Query query;
if(isPrev) {
query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery("select sum(OperNumber) as OperNumber from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='" + type +"' and MaterialId ="+ MId + " and jsh_depothead.OperTime <'"+ MonthTime +"-01 00:00:00' " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch()));
}
else {
query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery("select sum(OperNumber) as OperNumber from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='" + type +"' and MaterialId ="+ MId + " and jsh_depothead.OperTime >='"+ MonthTime +"-01 00:00:00' and jsh_depothead.OperTime <='"+ MonthTime +"-31 00:00:00' " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch()));
}
pageUtil.setTotalCount(query.list().size());
pageUtil.setPageList(query.list());
}
@SuppressWarnings("unchecked")
@Override
public void buyOrSale(PageUtil<DepotItem> pageUtil,String type, String subType,Long MId,String MonthTime, String sumType) throws JshException
{
//多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便
Query query;
if(sumType.equals("Number")) {
query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery("select sum(OperNumber) as OperNumber from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='" + type +"' and subType='" + subType +"' and MaterialId ="+ MId + " and jsh_depothead.OperTime >='"+ MonthTime +"-01 00:00:00' and jsh_depothead.OperTime <='"+ MonthTime +"-31 00:00:00' " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch()));
}
else {
query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery("select sum(AllPrice) as AllPrice from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='" + type +"' and subType='" + subType +"' and MaterialId ="+ MId + " and jsh_depothead.OperTime >='"+ MonthTime +"-01 00:00:00' and jsh_depothead.OperTime <='"+ MonthTime +"-31 00:00:00' " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch()));
}
pageUtil.setTotalCount(query.list().size());
pageUtil.setPageList(query.list());
}
}
package com.jsh.dao.materials;
import com.jsh.base.BaseIDAO;
import com.jsh.util.JshException;
import com.jsh.model.po.DepotHead;
import com.jsh.model.po.DepotItem;
import com.jsh.util.PageUtil;
public interface DepotItemIDAO extends BaseIDAO<DepotItem>
{
void findByType(PageUtil<DepotItem> pageUtil,String type,Long MId, String MonthTime,Boolean isPrev) throws JshException;
void buyOrSale(PageUtil<DepotItem> pageUtil,String type, String subType,Long MId, String MonthTime, String sumType) throws JshException;
}
package com.jsh.dao.materials;
import com.jsh.base.BaseDAO;
import com.jsh.model.po.MaterialCategory;
public class MaterialCategoryDAO extends BaseDAO<MaterialCategory> implements MaterialCategoryIDAO
{
/**
* 设置dao映射基类
* @return
*/
@Override
public Class<MaterialCategory> getEntityClass()
{
return MaterialCategory.class;
}
}
package com.jsh.dao.materials;
import com.jsh.base.BaseIDAO;
import com.jsh.model.po.MaterialCategory;
public interface MaterialCategoryIDAO extends BaseIDAO<MaterialCategory>
{
}
package com.jsh.dao.materials;
import com.jsh.base.BaseDAO;
import com.jsh.model.po.Material;
public class MaterialDAO extends BaseDAO<Material> implements MaterialIDAO
{
/**
* 设置dao映射基类
* @return
*/
@Override
public Class<Material> getEntityClass()
{
return Material.class;
}
}
package com.jsh.dao.materials;
import com.jsh.base.BaseIDAO;
import com.jsh.model.po.Material;
public interface MaterialIDAO extends BaseIDAO<Material>
{
}
package com.jsh.dao.materials;
import com.jsh.base.BaseDAO;
import com.jsh.model.po.Person;
public class PersonDAO extends BaseDAO<Person> implements PersonIDAO
{
/**
* 设置dao映射基类
* @return
*/
@Override
public Class<Person> getEntityClass()
{
return Person.class;
}
}
package com.jsh.dao.materials;
import com.jsh.base.BaseIDAO;
import com.jsh.model.po.Person;
public interface PersonIDAO extends BaseIDAO<Person>
{
}
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;
}
}
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;
}
}
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;
}
}
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;
}
}
\ No newline at end of file
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;
}
}
\ No newline at end of file
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;
}
}
\ No newline at end of file
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;
}
}
\ No newline at end of file
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;
}
}
\ No newline at end of file
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;
}
}
\ No newline at end of file
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;
}
}
\ No newline at end of file
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;
}
}
\ 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