| | |
| | | package com.ld.igds.data; |
| | | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import com.ld.igds.models.Depot; |
| | | import lombok.Data; |
| | | |
| | | import javax.persistence.Column; |
| | |
| | | |
| | | @PropertyDef(label = "仓库状态", description = "与库存表关联,通过库存变更") |
| | | private String depotStatus; |
| | | |
| | | |
| | | public SimpleDepot() { |
| | | } |
| | | |
| | | public SimpleDepot(String id, String companyId, String deptId, String name, String buildingId, String granaryId, String depotType, String depotStatus) { |
| | | this.id = id; |
| | | this.companyId = companyId; |
| | | this.deptId = deptId; |
| | | this.name = name; |
| | | this.buildingId = buildingId; |
| | | this.granaryId = granaryId; |
| | | this.depotType = depotType; |
| | | this.depotStatus = depotStatus; |
| | | } |
| | | |
| | | public SimpleDepot(Depot depot) { |
| | | this.id = depot.getId(); |
| | | this.companyId = depot.getCompanyId(); |
| | | this.deptId = depot.getDeptId(); |
| | | this.name = depot.getName(); |
| | | this.buildingId = depot.getBuildingId(); |
| | | this.granaryId = depot.getGranaryId(); |
| | | this.depotType = depot.getDepotType(); |
| | | this.depotStatus = depot.getDepotStatus(); |
| | | } |
| | | |
| | | } |