SupplychainOpenItemUpdateRequest.java 3.02 KB
/**
 * @(#)SupplychainOpenItemUpdateRequest.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 org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;


/**
 * Created by 沈振家 on 2016-10-10 11:11:44.
 * @author 沈振家
 */
public class SupplychainOpenItemUpdateRequest extends BaseUpdateRequest {
    
    /**
     * 主键 
     */
    @NotNull(message = "主键不能为空")
    private  Long   id;
    
    /**
     * 物料Id 
     */
    
    private  Long   itemId;
    
    /**
     * 物料名称 
     */
    
    @Length(min=0, max=100, message = "物料名称长度不合法")
    private  String   itemName;
    
    /**
     * 物料编码 
     */
    
    @Length(min=0, max=100, message = "物料编码长度不合法")
    private  String   itemNumber;
    
    /**
     * 物料规格代码 
     */
    
    @Length(min=0, max=100, message = "物料规格代码长度不合法")
    private  String   itemSpecCode;
    
    /**
     * 物料规格名称 
     */
    
    @Length(min=0, max=100, message = "物料规格名称长度不合法")
    private  String   itemSpecName;
    
    /**
     * 是否生效 
     */
    
    private  Boolean   isActive;

    /**
     * 是否更新供应链
     */
    private Boolean updatesupplychain;
    

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

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

    public void setItemId(Long  itemId) {
    this.itemId = itemId;
    }
    
    public String getItemName() {
    return this.itemName;
    }

    public void setItemName(String  itemName) {
    this.itemName = itemName;
    }
    
    public String getItemNumber() {
    return this.itemNumber;
    }

    public void setItemNumber(String  itemNumber) {
    this.itemNumber = itemNumber;
    }
    
    public String getItemSpecCode() {
    return this.itemSpecCode;
    }

    public void setItemSpecCode(String  itemSpecCode) {
    this.itemSpecCode = itemSpecCode;
    }
    
    public String getItemSpecName() {
    return this.itemSpecName;
    }

    public void setItemSpecName(String  itemSpecName) {
    this.itemSpecName = itemSpecName;
    }
    
    public Boolean getIsActive() {
    return this.isActive;
    }

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

    public Boolean getUpdatesupplychain() {
        return updatesupplychain;
    }

    public void setUpdatesupplychain(Boolean updatesupplychain) {
        this.updatesupplychain = updatesupplychain;
    }
}