SupplychainItemCreateRequest.java 8.14 KB
/**
 * @(#)SupplychainItemCreateRequest.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.BaseRequest;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by 沈振家 on 2016-10-10 11:11:43.
 * @author 沈振家
 */
public class SupplychainItemCreateRequest extends BaseRequest {
    
    /**
     * 供应方承租人ID 
     */
    @NotNull(message = "供应方承租人ID不能为空")
    private  Long   supplyTenantId;
    
    /**
     * 供应方物料Id 
     */
    
    private  Long   supplyItemId;
    
    /**
     * 供应方物料名称 
     */
    
    @Length(min=0, max=100, message = "供应方物料名称长度不合法")
    private  String   supplyItemName;
    
    /**
     * 供应方物料编码 
     */
    
    @Length(min=0, max=100, message = "供应方物料编码长度不合法")
    private  String   supplyItemNumber;
    
    /**
     * 供应方物料规格代码 
     */
    
    @Length(min=0, max=100, message = "供应方物料规格代码长度不合法")
    private  String   supplyItemSpecCode;
    
    /**
     * 供应方物料规格名称 
     */
    
    @Length(min=0, max=100, message = "供应方物料规格名称长度不合法")
    private  String   supplyItemSpecName;
    
    /**
     * 供应方商品Id 
     */
    
    private  Long   supplyCommodityId;
    
    /**
     * 需求方承租人ID 
     */
    @NotNull(message = "需求方承租人ID不能为空")
    private  Long   demandTenantId;
    
    /**
     * 需求方物料Id 
     */
    
    private  Long   demandItemId;
    
    /**
     * 需求方物料名称 
     */
    
    @Length(min=0, max=100, message = "需求方物料名称长度不合法")
    private  String   demandItemName;
    
    /**
     * 需求方物料编码 
     */
    
    @Length(min=0, max=100, message = "需求方物料编码长度不合法")
    private  String   demandItemNumber;
    
    /**
     * 需求方物料规格代码 
     */
    
    @Length(min=0, max=100, message = "需求方物料规格代码长度不合法")
    private  String   demandItemSpecCode;
    
    /**
     * 需求方物料规格名称 
     */
    
    @Length(min=0, max=100, message = "需求方物料规格名称长度不合法")
    private  String   demandItemSpecName;
    
    /**
     * 需求方商品Id 
     */
    
    private  Long   demandCommodityId;
    
    /**
     * 供应方是否开放 
     */
    
    private  Boolean   supplyIsActive;
    
    /**
     * 供应方开放时间 
     */
    
    private  Date   supplyActiveTime;
    
    /**
     * 供应方开放用户Id 
     */
    
    private  Long   supplyActiveUserId;
    
    /**
     * 供应方开放用户名称 
     */
    
    @Length(min=0, max=100, message = "供应方开放用户名称长度不合法")
    private  String   supplyActiveUserName;
    
    /**
     * 需求方是否开放 
     */
    
    private  Boolean   demandIsActive;
    
    /**
     * 需求方开放时间 
     */
    
    private  Date   demandActiveTime;
    
    /**
     * 需求方开放用户Id 
     */
    
    private  Long   demandActiveUserId;
    
    /**
     * 需求方开放用户名称 
     */
    
    @Length(min=0, max=100, message = "需求方开放用户名称长度不合法")
    private  String   demandActiveUserName;
    

    
    public Long getSupplyTenantId() {
    return this.supplyTenantId;
    }

    public void setSupplyTenantId(Long  supplyTenantId) {
    this.supplyTenantId = supplyTenantId;
    }
    
    public Long getSupplyItemId() {
    return this.supplyItemId;
    }

    public void setSupplyItemId(Long  supplyItemId) {
    this.supplyItemId = supplyItemId;
    }
    
    public String getSupplyItemName() {
    return this.supplyItemName;
    }

    public void setSupplyItemName(String  supplyItemName) {
    this.supplyItemName = supplyItemName;
    }
    
    public String getSupplyItemNumber() {
    return this.supplyItemNumber;
    }

    public void setSupplyItemNumber(String  supplyItemNumber) {
    this.supplyItemNumber = supplyItemNumber;
    }
    
    public String getSupplyItemSpecCode() {
    return this.supplyItemSpecCode;
    }

    public void setSupplyItemSpecCode(String  supplyItemSpecCode) {
    this.supplyItemSpecCode = supplyItemSpecCode;
    }
    
    public String getSupplyItemSpecName() {
    return this.supplyItemSpecName;
    }

    public void setSupplyItemSpecName(String  supplyItemSpecName) {
    this.supplyItemSpecName = supplyItemSpecName;
    }
    
    public Long getSupplyCommodityId() {
    return this.supplyCommodityId;
    }

    public void setSupplyCommodityId(Long  supplyCommodityId) {
    this.supplyCommodityId = supplyCommodityId;
    }
    
    public Long getDemandTenantId() {
    return this.demandTenantId;
    }

    public void setDemandTenantId(Long  demandTenantId) {
    this.demandTenantId = demandTenantId;
    }
    
    public Long getDemandItemId() {
    return this.demandItemId;
    }

    public void setDemandItemId(Long  demandItemId) {
    this.demandItemId = demandItemId;
    }
    
    public String getDemandItemName() {
    return this.demandItemName;
    }

    public void setDemandItemName(String  demandItemName) {
    this.demandItemName = demandItemName;
    }
    
    public String getDemandItemNumber() {
    return this.demandItemNumber;
    }

    public void setDemandItemNumber(String  demandItemNumber) {
    this.demandItemNumber = demandItemNumber;
    }
    
    public String getDemandItemSpecCode() {
    return this.demandItemSpecCode;
    }

    public void setDemandItemSpecCode(String  demandItemSpecCode) {
    this.demandItemSpecCode = demandItemSpecCode;
    }
    
    public String getDemandItemSpecName() {
    return this.demandItemSpecName;
    }

    public void setDemandItemSpecName(String  demandItemSpecName) {
    this.demandItemSpecName = demandItemSpecName;
    }
    
    public Long getDemandCommodityId() {
    return this.demandCommodityId;
    }

    public void setDemandCommodityId(Long  demandCommodityId) {
    this.demandCommodityId = demandCommodityId;
    }
    
    public Boolean getSupplyIsActive() {
    return this.supplyIsActive;
    }

    public void setSupplyIsActive(Boolean  supplyIsActive) {
    this.supplyIsActive = supplyIsActive;
    }
    
    public Date getSupplyActiveTime() {
    return this.supplyActiveTime;
    }

    public void setSupplyActiveTime(Date  supplyActiveTime) {
    this.supplyActiveTime = supplyActiveTime;
    }
    
    public Long getSupplyActiveUserId() {
    return this.supplyActiveUserId;
    }

    public void setSupplyActiveUserId(Long  supplyActiveUserId) {
    this.supplyActiveUserId = supplyActiveUserId;
    }
    
    public String getSupplyActiveUserName() {
    return this.supplyActiveUserName;
    }

    public void setSupplyActiveUserName(String  supplyActiveUserName) {
    this.supplyActiveUserName = supplyActiveUserName;
    }
    
    public Boolean getDemandIsActive() {
    return this.demandIsActive;
    }

    public void setDemandIsActive(Boolean  demandIsActive) {
    this.demandIsActive = demandIsActive;
    }
    
    public Date getDemandActiveTime() {
    return this.demandActiveTime;
    }

    public void setDemandActiveTime(Date  demandActiveTime) {
    this.demandActiveTime = demandActiveTime;
    }
    
    public Long getDemandActiveUserId() {
    return this.demandActiveUserId;
    }

    public void setDemandActiveUserId(Long  demandActiveUserId) {
    this.demandActiveUserId = demandActiveUserId;
    }
    
    public String getDemandActiveUserName() {
    return this.demandActiveUserName;
    }

    public void setDemandActiveUserName(String  demandActiveUserName) {
    this.demandActiveUserName = demandActiveUserName;
    }
    

}