<?php
/*
* This file is part of the CouponPro42 Plugin
*
* Copyright (C) 2022 Diezon.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Plugin\CouponPro42\Entity\Master;
use Eccube\Entity\Master\AbstractMasterEntity;
use Doctrine\ORM\Mapping as ORM;
/**
* CouponKind
*
* @ORM\Table(name="mtb_coupon_kind")
* @ORM\InheritanceType("SINGLE_TABLE")
* @ORM\DiscriminatorColumn(name="discriminator_type", type="string", length=255)
* @ORM\HasLifecycleCallbacks()
* @ORM\Entity(repositoryClass="Plugin\CouponPro42\Repository\Master\CouponKindRepository")
* @ORM\Cache(usage="NONSTRICT_READ_WRITE")
*/
class CouponKind extends AbstractMasterEntity
{
/**
* 値引.
*/
const DISCOUNT_PRICE = 1;
/**
* 割引
*/
const DISCOUNT_RATE = 2;
/**
* 送料無料
*/
const FREE_DELIVERY_FEE = 3;
}