rent_set_meal.go 769 B

1234567891011121314151617181920
  1. package rentComputer
  2. // RentSetMeal 套餐表
  3. type RentSetMeal struct {
  4. Id uint `json:"id"` //ID
  5. UpdateTime string `json:"update_time"` // 更新时间
  6. CreateTime string `json:"create_time"` // 创建时间
  7. Name string `json:"name"` //套餐名称
  8. Remark string `json:"remark"` //备注
  9. RentPrice float64 `json:"rent_price"` //价格标准
  10. PriceType int `json:"price_type"` //套餐类型 0:天卡 1:周卡 2:月卡
  11. RentPriceDay float64 `json:"rent_price_day"` //折算天租金
  12. ShopId uint `json:"shop_id"` //供应商ID
  13. //ShopName string `json:"shop_name"` //供应商名
  14. }
  15. func (RentSetMeal) TableName() string {
  16. return "rent_set_meal"
  17. }