EmployeeCreditCreateRequest.java 3.16 KB
/*
 * @(#)EmployeeCreditCreateRequest.java
 *
 * Copyright (c) 2014-2017  funiu 版权所有
 * 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.wosaicustomization.request;

import com.xiniunet.framework.base.BaseRequest;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 创建员工额度授权的请求.
 * @author xuchang
 */
public class EmployeeCreditCreateRequest extends BaseRequest {
    
    /**
     * 类型 AREA 区域,CITY 城市,BD 业务拓展员
     * 
     */
    
    @Length(min=0, max=100, message = "类型 AREA 区域,CITY 城市,BD 业务拓展员长度不合法")
    private String type;
    
    /**
     * 员工ID
     * 
     */
    
    private Long employeeId;
    
    /**
     * 员工名称
     * 
     */
    
    @Length(min=0, max=100, message = "员工名称长度不合法")
    private String employeeName;
    
    /**
     * 部门ID
     * 
     */
    
    private Long organizationId;
    
    /**
     * 部门名称
     * 
     */
    
    @Length(min=0, max=100, message = "部门名称长度不合法")
    private String organizationName;
    
    /**
     * 初始化额度
     * 
     */
    
    private Double initCredit;
    
    /**
     * 当前额度(剩余额度)
     * 
     */
    
    private Double currentCredit;
    
    /**
     * 冻结额度
     * 
     */
    
    private Double frozenCredit;
    

    
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    
    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }
    
    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }
    
    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }
    
    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }
    
    public Double getInitCredit() {
        return initCredit;
    }

    public void setInitCredit(Double initCredit) {
        this.initCredit = initCredit;
    }
    
    public Double getCurrentCredit() {
        return currentCredit;
    }

    public void setCurrentCredit(Double currentCredit) {
        this.currentCredit = currentCredit;
    }
    
    public Double getFrozenCredit() {
        return frozenCredit;
    }

    public void setFrozenCredit(Double frozenCredit) {
        this.frozenCredit = frozenCredit;
    }
    
}