SupplychainRoomUpdateRequest.java 4.6 KB
/**
 * @(#)SupplychainRoomUpdateRequest.java
 *
 * Copyright (c) 2014-2014  苏州犀牛网络科技有限公司 版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.xiniunet.lecunstomization.request;

import com.xiniunet.framework.base.BaseUpdateRequest;
import com.xiniunet.lecunstomization.domain.SupplychainRoomOwnerTypeEnum;
import com.xiniunet.lecunstomization.domain.SupplychainRoomTypeEnum;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;


/**
 * Created by 沈振家 on 2016-10-10 21:51:52.
 *
 * @author 沈振家
 */
public class SupplychainRoomUpdateRequest extends BaseUpdateRequest {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 供应链Id
     */

    private Long supplychainNetworkId;

    /**
     * 店铺Id
     */

    private Long storeId;

    /**
     * 店铺名称
     */

    @Length(min = 0, max = 100, message = "店铺名称长度不合法")
    private String storeName;

    /**
     * 经营单元Id
     */

    private Long operatingUnitId;

    /**
     * 经营单元名称
     */

    @Length(min = 0, max = 100, message = "经营单元名称长度不合法")
    private String operatingUnitName;

    /**
     * 库房id
     */

    private Long storeHouseId;

    /**
     * 仓库名称
     */

    @Length(min = 0, max = 100, message = "仓库名称长度不合法")
    private String storeHouseName;

    /**
     * 库房Id
     */

    private Long storeRoomId;

    /**
     * 库房名称
     */

    @Length(min = 0, max = 100, message = "库房名称长度不合法")
    private String storeRoomName;

    /**
     * 库房类型
     */

    @Length(min = 0, max = 100, message = "库房类型长度不合法")
    private SupplychainRoomTypeEnum type;

    /**
     * 货物所属类型
     */

    @Length(min = 0, max = 100, message = "货物所属类型长度不合法")
    private SupplychainRoomOwnerTypeEnum ownerType;

    /**
     * 是否有效
     */

    private Boolean isActive;


    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSupplychainNetworkId() {
        return this.supplychainNetworkId;
    }

    public void setSupplychainNetworkId(Long supplychainNetworkId) {
        this.supplychainNetworkId = supplychainNetworkId;
    }

    public Long getStoreId() {
        return this.storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return this.storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Long getOperatingUnitId() {
        return this.operatingUnitId;
    }

    public void setOperatingUnitId(Long operatingUnitId) {
        this.operatingUnitId = operatingUnitId;
    }

    public String getOperatingUnitName() {
        return this.operatingUnitName;
    }

    public void setOperatingUnitName(String operatingUnitName) {
        this.operatingUnitName = operatingUnitName;
    }

    public Long getStoreHouseId() {
        return this.storeHouseId;
    }

    public void setStoreHouseId(Long storeHouseId) {
        this.storeHouseId = storeHouseId;
    }

    public String getStoreHouseName() {
        return this.storeHouseName;
    }

    public void setStoreHouseName(String storeHouseName) {
        this.storeHouseName = storeHouseName;
    }

    public Long getStoreRoomId() {
        return this.storeRoomId;
    }

    public void setStoreRoomId(Long storeRoomId) {
        this.storeRoomId = storeRoomId;
    }

    public String getStoreRoomName() {
        return this.storeRoomName;
    }

    public void setStoreRoomName(String storeRoomName) {
        this.storeRoomName = storeRoomName;
    }

    public SupplychainRoomTypeEnum getType() {
        return type;
    }

    public void setType(SupplychainRoomTypeEnum type) {
        this.type = type;
    }

    public SupplychainRoomOwnerTypeEnum getOwnerType() {
        return ownerType;
    }

    public void setOwnerType(SupplychainRoomOwnerTypeEnum ownerType) {
        this.ownerType = ownerType;
    }

    public Boolean getIsActive() {
        return this.isActive;
    }

    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }


}