package shop.alien.store.util;

/**
 * 通用常量配置
 * @author zhangchen
 * @since 2025/7/1
 */
public class CommonConstant {

    /**
     * 是否删除，0：未删除，2：已删除
     */
    public static final Integer DELETE_FLAG_UNDELETE = 0;
    public static final Integer DELETE_FLAG_DELETED = 1;

    /**
     * 优惠券类型，1-代金券  2-团购（套餐）
     */
    public static final Integer LIFE_COUPON_TYPE = 1;
    public static final Integer LIFE_GROUP_TYPE = 2;

    /**
     * 优惠券状态，-1：待审核，-2：审核不通过，0：未使用，1：使用中，2：暂停，3：已结束
     */
    public static final Integer LIFE_COUPON_STATUS_PENDING_APPROVAL = -1;
    public static final Integer LIFE_COUPON_STATUS_REJECTED = -2;
    public static final Integer LIFE_COUPON_STATUS_UNUSED = 0;
    public static final Integer LIFE_COUPON_STATUS_USING = 1;
    public static final Integer LIFE_COUPON_STATUS_PAUSE = 2;
    public static final Integer LIFE_COUPON_STATUS_END = 3;

    /**
     * 新建/更新返回值，0：失败，1：成功
     */
    public static final Integer ERROR_CODE_VALID_PARAMS = 1;
    public static final Integer ERROR_CODE_INVALID_PARAMS = 0;

    /**
     * 标签类型 1:套餐, 2:门店
     */
    public static final String LABEL_TYPE_MENU = "1";
    public static final String LABEL_TYPE_SHOP = "2";

    /**
     * 图片类型，0:其他, 1:入口图, 2:相册, 3:菜品, 4:环境, 5:价目表, 6:推荐菜, 7:菜单, 8:用户评论, 9:商家申诉,10:商家头像,11:店铺轮播图,12:联名卡图片,13:动态折扣，14：营业执照，15：合同照片,17:打卡广场小人图片 18: 二手商品发布图片, 19:二手商品与用户举报图片
     */
    public static final Integer STORE_IMG_OTHER = 1;
    public static final Integer STORE_IMG_ALBUM = 2;

    public static final String STORE_DICT_TYPENAME = "storeArea,businessStatus,week,specialDate,business_section,fine_food";

    /**
     * 门店经营许可证到期状态管理 0:已到期 1:即将到期 2:未到期
     */
    public static final String FOOD_LICENCE_EXPIRE_STATUS = "0";
    public static final String FOOD_LICENCE_ABOUT_TO_EXPIRE_STATUS = "1";
    public static final String FOOD_LICENCE_NOT_EXPIRED_STATUS = "2";

    /**
     * 员工状态：0-待审核 1-审核通过 2-审核拒绝
     */
    public static final String STAFF_STATUS_PENDING = "0";
    public static final String STAFF_STATUS_APPROVED = "1";
    public static final String STAFF_STATUS_REJECTED = "2";

    /**
     * 置顶状态：0-未置顶 1-已置顶
     */
    public static final Integer TOP_STATUS_NOT_TOP = 0;
    public static final Integer TOP_STATUS_TOP = 1;

    /**
     * 默认分页大小
     */
    public static final Integer DEFAULT_PAGE_SIZE = 10;
    public static final Integer DEFAULT_PAGE_NUM = 1;

    /**
     * 最大分页大小（防止查询过多数据）
     */
    public static final Integer MAX_PAGE_SIZE = 100;

    /**
     * 演出审核状态：1-审核通过
     */
    public static final Integer PERFORMANCE_REVIEW_STATUS_APPROVED = 1;

    /**
     * 演出上线状态：1-上线
     */
    public static final Integer PERFORMANCE_ONLINE_STATUS_ONLINE = 1;

    /**
     * 演出频次：0-单次 1-每天定时 2-每周定时
     */
    public static final String PERFORMANCE_FREQUENCY_SINGLE = "0";
    public static final String PERFORMANCE_FREQUENCY_DAILY = "1";
    public static final String PERFORMANCE_FREQUENCY_WEEKLY = "2";

    /**
     * 点赞类型：1-评论 2-社区动态 3-活动 4-推荐菜 5-店铺打卡 6-二手商品 7-律师评分 8-点赞员工,9-点赞店铺,11-评价，12-评论
     */
    public static final String LIKE_TYPE_COMMENT = "1";
    public static final String LIKE_TYPE_DYNAMICS = "2";
    public static final String LIKE_TYPE_ACTIVITY = "3";
    public static final String LIKE_TYPE_MENU = "4";
    public static final String LIKE_TYPE_CLOCK_IN = "5";
    public static final String LIKE_TYPE_SECOND_GOODS = "6";
    public static final String LIKE_TYPE_LAWYER_SCORE = "7";
    public static final String LIKE_TYPE_STAFF = "8";
    public static final String LIKE_TYPE_STORE = "9";
    public static final String RATING_LIKE = "11";
    public static final String COMMENT_LIKE = "12";
    public static final String DYNAMIC_LIKE = "13";
    public static final String CLOCK_IN_LIKE = "14";
    public static final String SECOND_HAND_LIKE = "15";
    public static final String STORE_DYNAMIC_LIKE = "16";


    /**
     * 上线状态，0：上线，2：下线
     */
    public static final Integer ONLINE_STATUS = 0;
    public static final Integer OFFLINE_STATUS = 1;
}
