PurchaseOrderInfoForOutBound.php 589 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. class PurchaseOrderInfoForOutBound extends Model
  5. {
  6. protected $table = "purchase_order_info_for_outbound"; //指定表
  7. const CREATED_AT = null;
  8. const UPDATED_AT = null;
  9. protected $dateFormat = 'U';
  10. const is_not_use = 0;
  11. const is_use = 1;
  12. const type_one = 1;
  13. const prefix = 'CGCk';
  14. const prefix2 = 'SJZL';
  15. const from_type_zero = 0; // 采购单
  16. const from_type_one = 1; // 盘点单
  17. const from_type = [
  18. self::from_type_zero,
  19. self::from_type_one,
  20. ];
  21. }