package com.hzs.common.core.enums;/**
 * @Description:
 * @Author: yuhui
 * @Time: 2023/6/16 10:53
 * @Classname: ESortType
 * @PackageName: com.hzs.common.core.enums
 */

import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 *@BelongsProject: hzs_cloud
 *@BelongsPackage: com.hzs.common.core.enums
 *@Author: yh
 *@CreateTime: 2023-06-16  10:53
 *@Description:
 *@Version: 1.0
 */
@AllArgsConstructor
@Getter
public enum ESortType {

    /**
     * 倒序
     */
    DESC("desc", 0, "倒序"),

    /**
     * 正序
     */
    ASC("asc", 1, "正序");

    /**
     * 实际值
     */
    private final String value;
    /**
     * 实际值（数字型）
     */
    private final int intValue;
    /**
     * 显示标签
     */
    private final String label;

}
