package com.goafanti.common.model;

import com.goafanti.common.constant.ErrorConstants;
import com.goafanti.common.utils.Param;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.Date;

/**
 * expense_config_details
 * @author
 */
public class ExpenseConfigDetails implements Serializable {
    private Integer id;

    /**
     * 1=财务复审，2=董事长审核，3=财务总监，4=集团副总，5=出纳
     */
    private Integer type;

    /**
     * 管理员编号
     */
    @NotEmpty(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
    @Param(name = "管理员编号")
    private String aid;

    /**
     * 部门编号
     */
    private String depId;

    /**
     * 管理员名称编号牌
     */
    private String adminName;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

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

    public Integer getType() {
        return type;
    }

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

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getDepId() {
        return depId;
    }

    public void setDepId(String depId) {
        this.depId = depId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
