PurchaseOrderInfoForOutBound.php 561 B

123456789101112131415161718192021222324
  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 from_type_zero = 0; // 采购单
  15. const from_type_one = 1; // 盘点单
  16. const from_type = [
  17. self::from_type_zero,
  18. self::from_type_one,
  19. ];
  20. }