All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dahuatech.icc.brm.enums.CommonEnum Maven / Gradle / Ivy

The newest version!
/*
 *
 *  *********************** 版权声明 ***********************************
 *
 *  版权所有:浙江大华技术股份有限公司
 *  ©CopyRight DahuaTech 2019
 *
 *  *********************************************************************
 *
 */
package com.dahuatech.icc.brm.enums;

import java.util.Arrays;
import java.util.List;

public enum CommonEnum {

    //状态
    FROZEN(2, "冻结"),
    COMMON(1, "正常"),
    DELETE(0, "已删除"),
            ;
    public static final List NORMALS = Arrays.asList(CommonEnum.COMMON,CommonEnum.FROZEN);
    private Integer id;
    private String name;

    CommonEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

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

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy