package com.matrix.system.hive.bean; import com.matrix.core.pojo.EntityDTO; import com.matrix.core.tools.DateUtil; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; import java.util.List; /** * * * @date 2016-07-25 09:31 */ public class SysOutStore extends EntityDTO { private static final long serialVersionUID = 1L; private Long id; /** * 门店id */ private Long shopId; /** * 配料师员工 */ private Long staffId; private String outStoreNo; /** * 出库时间 */ @DateTimeFormat(pattern= DateUtil.DATE_FORMAT_MM) private Date time; /** * 服务单id */ private Long serviceId; private Long companyId; /** * 出库类型 消耗产品出库 家居产品出库 */ private String type; /** * 订单id */ private Long orderId; /** * 审核状态 */ private String checkStatus; // 扩展属性 /** * 服务单编号 * */ private String serviceNo; /** * 门店名称 */ private String shopName; /** * 配料师名称 */ private String staffName; /** * 备注 * */ private String remark; /** * 明细集合 */ private List outStoreItems; /** * 用于对时间的查询 */ private Date startTime; private Date endTime; public String getOutStoreNo() { return outStoreNo; } public void setOutStoreNo(String outStoreNo) { this.outStoreNo = outStoreNo; } public Date getStartTime() { return startTime; } public void setStartTime(Date startTime) { this.startTime = startTime; } public Date getEndTime() { return endTime; } public void setEndTime(Date endTime) { this.endTime = endTime; } public String getType() { return type; } public void setType(String type) { this.type = type; } public Long getOrderId() { return orderId; } public void setOrderId(Long orderId) { this.orderId = orderId; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getShopId() { return shopId; } public void setShopId(Long shopId) { this.shopId = shopId; } public Long getStaffId() { return staffId; } public void setStaffId(Long staffId) { this.staffId = staffId; } public Date getTime() { return time; } public void setTime(Date time) { this.time = time; } public Long getServiceId() { return serviceId; } public void setServiceId(Long serviceId) { this.serviceId = serviceId; } public String getShopName() { return shopName; } public void setShopName(String shopName) { this.shopName = shopName; } public String getSuName() { return staffName; } public void setStaffName(String staffName) { this.staffName = staffName; } public String getServiceNo() { return serviceNo; } public void setServiceNo(String serviceNo) { this.serviceNo = serviceNo; } public List getOutStoreItems() { return outStoreItems; } public void setOutStoreItems(List outStoreItems) { this.outStoreItems = outStoreItems; } public String getCheckStatus() { return checkStatus; } public void setCheckStatus(String checkStatus) { this.checkStatus = checkStatus; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public Long getCompanyId() { return companyId; } public void setCompanyId(Long companyId) { this.companyId = companyId; } @Override public String toString() { return "SysOutStore [id=" + id + ", shopId=" + shopId + ", staffId=" + staffId + ", time=" + time + ", serviceId=" + serviceId + ", type=" + type + ", orderId=" + orderId + ", checkStatus=" + checkStatus + ", serviceNo=" + serviceNo + ", shopName=" + shopName + ", staffName=" + staffName + ", outStoreItems=" + outStoreItems + ", startTime=" + startTime + ", endTime=" + endTime + "]"; } }