Model_CouponModel - Laterality/yummy-dishes-REST GitHub Wiki

CouponModel에 대해 설명하는 문서입니다.


정의

_id
string
식별자
coupon_num
string
쿠폰 번호
date_reg
date
쿠폰 등록일자
date_expiration
date
쿠폰 만료일자
message
string
쿠폰 내용
available
boolean
쿠폰 사용 가능여부
owner
UserModel

Example

{
	"_id": "5993cce589d47e657b885ba3",
	"coupon_num": "1234-5678-9123",
	"date_reg": "2017-08-15T15:05:47.469Z",
	"date_expiration": "2017-08-15T15:05:47.469Z",
	"message": "D/C 20% for time sale menu",
	"available": true
}
⚠️ **GitHub.com Fallback** ⚠️