<?php
/**
* @version EC=CUBE4.1
* @copyright 株式会社 翔 kakeru.co.jp
* @author
* 2022年04月26日作成
*
* app/Customize/Validator/Quantity.php
*
*
* サンプルをチェックする
*
*
* C= C= C= ┌(;・_・)┘トコトコ
******************************************************/
namespace Customize\Validator;
use Symfony\Component\Validator\Constraint;
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class Quantity extends Constraint
{
public $ClassId;
public $Limit;
public $StockLimit;
public $Flg;
public $CartType;
public function __construct($options = null)
{
# $this->message = $options['message'] ?? '';
$this->ClassId = $options['CalssId'] ?? null;
$this->Limit = $options['Limit'] ?? null;
$this->StockLimit = $options['StockLimit'] ?? null;
$this->Flg = $options['Flg'] ?? null;
$this->CartType = $options['CrtType'] ?? null;
parent::__construct($options);
}
}