EmployeeCreditTransactionCreateRequest.java 3.03 KB
/*
 * @(#)EmployeeCreditTransactionCreateRequest.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 EmployeeCreditTransactionCreateRequest extends BaseRequest {
    
    /**
     * 类型
     * 
     */
    
    @Length(min=0, max=100, message = "类型长度不合法")
    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 priorCredit;
    
    /**
     * 本次交易额度
     * 
     */
    
    private Double credit;
    
    /**
     * 新的额度
     * 
     */
    
    private Double postCredit;
    

    
    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 getPriorCredit() {
        return priorCredit;
    }

    public void setPriorCredit(Double priorCredit) {
        this.priorCredit = priorCredit;
    }
    
    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }
    
    public Double getPostCredit() {
        return postCredit;
    }

    public void setPostCredit(Double postCredit) {
        this.postCredit = postCredit;
    }
    
}