merge with august_spring
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Promotion < ApplicationRecord
|
||||
validates_presence_of :promo_code,:promo_start_date,:promo_end_date,:promo_start_hour,:promo_end_hour,:promo_day,:promo_type,:original_product,:min_qty
|
||||
validates_presence_of :promo_code,:promo_start_date,:promo_end_date,:promo_start_hour,:promo_end_hour,:promo_type,:original_product,:min_qty
|
||||
|
||||
has_many :promotion_products
|
||||
|
||||
|
||||
Reference in New Issue
Block a user