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

com.moon.data.Available Maven / Gradle / Ivy

package com.moon.data;

import com.moon.core.enums.EnumDescriptor;
import org.hibernate.annotations.Where;

/**
 * 是否有效、可用等
 * 

* 这里用于逻辑删除 * * @author moonsky */ public enum Available implements EnumDescriptor { /** * 否 */ NO, /** * 是 */ YES, ; /** * @see Where#clause() */ public final static String WHERE_IDX = " available=1 "; /** * @see Where#clause() */ public final static String WHERE_STR = " available='YES' "; @Override public String getText() { return name(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy