<?php
namespace App\Models;


/**
 * Class Dictionary
 * @package App\Models
 * 项目通用字典及文案
 */
class Dictionary
{
    public const O_PAY_STATUS_UNPAY = 0; //未支付
    public const O_PAY_STATUS_WAIT = 1; //待确认
    public const O_PAY_STATUS_PAYED = 2; //已支付

    public const YES = 1; //是
    public const NO = 0; //否

    public const CHANNEL_WX = 1; //wx
    public const CHANNEL_WX_PUB = 2; //wx_pub
    public const CHANNEL_WX_LITE = 3; //wx_lite
    public const CHANNEL_WX_ALIPAY = 10; //alipay

    public const SOURCE_LIFE = 1; //生活圈
    public const SOURCE_MAIN = 2; //主端


    public const PAY_TYPE_IN = 1; //入账
    public const PAY_TYPE_OUT = 2; //出账

    public const PAY_SUB_TYPE_WX = 1; //微信手续费
    public const PAY_SUB_TYPE_SYS_IN = 3; //平台营收
    public const PAY_SUB_TYPE_M_IN = 4; //商家收入
    public const PAY_SUB_TYPE_C_IN = 5; //团长收入

    public const PAY_SUB_TYPE_SYS_OUT = 21; //平台补贴
    public const PAY_SUB_TYPE_M_OUT = 22; //商家补贴

    public const ACCOUNT_TYPE_C = 1; //用户
    public const ACCOUNT_TYPE_M = 2; //商户
    public const ACCOUNT_TYPE_SS = 3; //平台（平台收入+平台补贴）
    public const ACCOUNT_TYPE_ST = 4; //平台交易总账+三方手续费


    public const REFUND_ORDER_STATUS_UNDO = 0; //未退款
    public const REFUND_ORDER_STATUS_SEND = 1; //待确认
    public const REFUND_ORDER_STATUS_OK = 2; //已退款

    public const SEND_ACCOUNT_STATUS_UNDO = 0; //未通知
    public const SEND_ACCOUNT_STATUS_DONE = 1; //已通知

}
