package com.nq.enums; public enum UserRecordTypeEnum { type_1("充值金额",1L), type_2("提款金额",2L), type_3("购买所花金额",3L), type_4("出售股票所盈利金额",4L), ; private String desc; private Long typeFlag; UserRecordTypeEnum(String desc, Long typeFlag) { this.desc = desc; this.typeFlag = typeFlag; } public String getDesc() { return desc; } public void setDesc(String desc) { this.desc = desc; } public Long getTypeFlag() { return typeFlag; } public void setTypeFlag(Long typeFlag) { this.typeFlag = typeFlag; } }