| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace App\Module\UrausSys\Models;
- use App\Module\UrausSys\Enums\RECEIVE_ADDRESS_STATUS;
- use UCore\ModelCore;
- use Illuminate\Database\Eloquent\SoftDeletes;
- /**
- * 收款账户 , 平台的
- * ReceiveAddress
- * ReceiveAddressController
- *
- * field start
- * @property int $id
- * @property string $name 地址
- * @property int $status 状态
- * @property string $address 地址
- * @property \Carbon\Carbon $created_at 创建时间
- * @property \Carbon\Carbon $updated_at 更新时间
- * @property \Carbon\Carbon $deleted_at 删除时间
- * field end
- *
- */
- class ReceiveAddress extends ModelCore
- {
- use SoftDeletes;
- /**
- * @var string
- */
- protected $table = 'receive_address';
- // attrlist start
- protected $fillable = [
- 'id',
- 'name',
- 'status',
- 'address',
- ];
- // attrlist end
- protected $casts =[
- 'status' => RECEIVE_ADDRESS_STATUS::class,
- ];
- }
|