| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- namespace common\models;
- /**
- * This is the model class for table "xhDrawCash".
- *
- * @property string $id
- * @property string $thirdSerialNumber 第三方流水号,支付宝流水号
- * @property int $merchantId 商户id
- * @property string $amount 提现金额
- * @property string $balance 余额
- * @property int $checkStatus 审核状态 0 待审 1审核通过 2驳回
- * @property int $status 提现状态,0处理中 1完成
- * @property int $addTime 添加时间,时间戳格式
- * @property string $createTime 创建时间
- * @property string $updateTime
- */
- class xhDrawCash extends xhBaseModel
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'xhDrawCash';
- }
-
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'createTime'], 'required'],
- [['merchantId', 'checkStatus', 'status', 'addTime'], 'integer'],
- [['amount', 'balance'], 'number'],
- [['createTime', 'updateTime'], 'safe'],
- [['id', 'thirdSerialNumber'], 'string', 'max' => 100],
- [['id'], 'unique'],
- ];
- }
-
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'thirdSerialNumber' => 'Third Serial Number',
- 'merchantId' => 'Merchant ID',
- 'amount' => 'Amount',
- 'balance' => 'Balance',
- 'checkStatus' => 'Check Status',
- 'status' => 'Status',
- 'addTime' => 'Add Time',
- 'createTime' => 'Create Time',
- 'updateTime' => 'Update Time',
- ];
- }
- }
|