namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
use yii\db\ActiveRecord; | use yii\db\ActiveRecord; | ||||
use common\models\User; | use common\models\User; | ||||
use common\models\Order; | use common\models\Order; | ||||
* @property integer $id_producer | * @property integer $id_producer | ||||
* @property string $mean_payement | * @property string $mean_payement | ||||
*/ | */ | ||||
class CreditHistory extends ActiveRecord | |||||
class CreditHistory extends ActiveRecordCommon | |||||
{ | { | ||||
const TYPE_INITIAL_CREDIT = 'initial-credit'; | const TYPE_INITIAL_CREDIT = 'initial-credit'; |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
use common\models\DeveloppementPriorite; | use common\models\DeveloppementPriorite; | ||||
/** | /** | ||||
* @property string $status | * @property string $status | ||||
* @property double $time_estimate | * @property double $time_estimate | ||||
*/ | */ | ||||
class Development extends \yii\db\ActiveRecord | |||||
class Development extends ActiveRecordCommon | |||||
{ | { | ||||
const STATUS_OPEN = 'open'; | const STATUS_OPEN = 'open'; | ||||
const STATUS_CLOSED = 'closed'; | const STATUS_CLOSED = 'closed'; |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
use common\models\Producer; | use common\models\Producer; | ||||
/** | /** | ||||
* @property integer $id_user | * @property integer $id_user | ||||
* @property integer $id_development | * @property integer $id_development | ||||
*/ | */ | ||||
class DevelopmentPriority extends \yii\db\ActiveRecord | |||||
class DevelopmentPriority extends ActiveRecordCommon | |||||
{ | { | ||||
const PRIORITY_HIGH = 'high'; | const PRIORITY_HIGH = 'high'; |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
use common\models\Order; | use common\models\Order; | ||||
use common\models\Distribution; | use common\models\Distribution; | ||||
* @property string $date | * @property string $date | ||||
* @property integer $actif | * @property integer $actif | ||||
*/ | */ | ||||
class Distribution extends \yii\db\ActiveRecord | |||||
class Distribution extends ActiveRecordCommon | |||||
{ | { | ||||
/** | /** | ||||
* @inheritdoc | * @inheritdoc |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
/** | /** | ||||
* This is the model class for table "facture". | * This is the model class for table "facture". | ||||
* @property string $date_payment | * @property string $date_payment | ||||
* @property string $mean_payment | * @property string $mean_payment | ||||
*/ | */ | ||||
class Invoice extends \yii\db\ActiveRecord | |||||
class Invoice extends ActiveRecordCommon | |||||
{ | { | ||||
/** | /** |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
use common\models\PointVente; | use common\models\PointVente; | ||||
use common\models\Production; | use common\models\Production; | ||||
* @property integer $id_point_vente | * @property integer $id_point_vente | ||||
* @property integer $livraison | * @property integer $livraison | ||||
*/ | */ | ||||
class PointSaleDistribution extends \yii\db\ActiveRecord | |||||
class PointSaleDistribution extends ActiveRecordCommon | |||||
{ | { | ||||
var $points_sale_distribution; | var $points_sale_distribution; |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
use common\helpers\Departments; | use common\helpers\Departments; | ||||
use yii\helpers\Html; | use yii\helpers\Html; | ||||
* @property string $postcode | * @property string $postcode | ||||
* @property string $city | * @property string $city | ||||
*/ | */ | ||||
class Producer extends \yii\db\ActiveRecord | |||||
class Producer extends ActiveRecordCommon | |||||
{ | { | ||||
/** | /** | ||||
* @inheritdoc | * @inheritdoc |
namespace common\models; | namespace common\models; | ||||
use Yii ; | |||||
use yii\base\Object; | use yii\base\Object; | ||||
use Yii; | |||||
use common\components\ActiveRecordCommon ; | |||||
/** | /** | ||||
* This is the model class for table "production_produit". | * This is the model class for table "production_produit". | ||||
* @property integer $id_product | * @property integer $id_product | ||||
* @property integer $actif | * @property integer $actif | ||||
*/ | */ | ||||
class ProductDistribution extends \yii\db\ActiveRecord | |||||
class ProductDistribution extends ActiveRecordCommon | |||||
{ | { | ||||
/** | /** |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
use common\models\Producer; | use common\models\Producer; | ||||
use common\models\PointSale; | use common\models\PointSale; | ||||
use common\models\PointSaleUser; | use common\models\PointSaleUser; |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
/** | /** | ||||
* This is the model class for table "point_vente_user". | * This is the model class for table "point_vente_user". | ||||
* @property integer $id_point_vente | * @property integer $id_point_vente | ||||
* @property integer $id_user | * @property integer $id_user | ||||
*/ | */ | ||||
class UserPointSale extends \yii\db\ActiveRecord | |||||
class UserPointSale extends ActiveRecordCommon | |||||
{ | { | ||||
/** | /** |
namespace common\models; | namespace common\models; | ||||
use Yii; | use Yii; | ||||
use common\components\ActiveRecordCommon ; | |||||
/** | /** | ||||
* This is the model class for table "user_etablissement". | * This is the model class for table "user_etablissement". | ||||
* @property boolean $actif | * @property boolean $actif | ||||
* @property boolean $favoris | * @property boolean $favoris | ||||
*/ | */ | ||||
class UserProducer extends \yii\db\ActiveRecord | |||||
class UserProducer extends ActiveRecordCommon | |||||
{ | { | ||||
/** | /** |