<?php

namespace app\model;

class AnnouncementModel extends BaseModel
{

    protected $name = 'announcement';

    const STATUS_ON = '1';
    const STATUS_OFF = '2';
    const STATUS_MAP = [
        self::STATUS_ON => '上架',
        self::STATUS_OFF => '下架',
    ];

    const IS_DELETE_NO = 1;
    const IS_DELETE_YES = 2;
}