wms工厂仓库类书写

yun-zuoyi
Silliter 7 years ago
parent 8dbcbd17be
commit 96fcb8ab4e

@ -3,6 +3,7 @@ package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean; import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -15,6 +16,7 @@ import javax.persistence.Table;
* @CreateDate : 2018-09-04 15:58 * @CreateDate : 2018-09-04 15:58
* @Modify: * @Modify:
**/ **/
@Data
@Entity @Entity
@Table(name="factory_store") @Table(name="factory_store")
@Api("工厂仓库") @Api("工厂仓库")
@ -27,40 +29,4 @@ public class FactoryStore extends BaseBean {
@Column(name="store_name") @Column(name="store_name")
@ApiParam("仓库名称") @ApiParam("仓库名称")
public String storeName; public String storeName;
public FactoryStore() {
}
public FactoryStore(String storeCode, String storeName) {
this.storeCode = storeCode;
this.storeName = storeName;
}
public String getStoreCode() {
return storeCode;
}
public void setStoreCode(String storeCode) {
this.storeCode = storeCode;
}
public String getStoreName() {
return storeName;
}
public void setStoreName(String storeName) {
this.storeName = storeName;
}
@Override
public String toString() {
return "FactoryStore{" +
"storeCode='" + storeCode + '\'' +
", storeName='" + storeName + '\'' +
", id=" + id +
", isValid=" + isValid +
", createDate='" + createDatetime + '\'' +
", modifyDate='" + modifyDatetime + '\'' +
'}';
}
} }

Loading…
Cancel
Save