| 123456789101112131415161718192021222324252627282930 | package entityimport "gopkg.in/guregu/null.v3"type DiscountTicketType struct {	Id       int    `db:"id"`	TypeName string `db:"type_name"`}type DiscountActParams struct {	Mobile string `json:"mobile"`	Pid    int    `json:"pid"`}type DiscountReceiveParams struct {	Mobile string `json:"mobile"`	Id     int    `json:"id"`}// 20230215 t_dicount_activity 表type DiscountActDB struct {	Id           int         `db:"id" json:"id"`	Name         string      `db:"name" json:"name"`	EndTime      string      `db:"end_time" json:"end_time"`	Value        int         `db:"value" json:"value"`	TypeId       int         `db:"type_id" json:"type_id"`	UseMaxValue  null.Int    `db:"use_max_value" json:"use_max_value"`	BindProducts null.String `db:"bind_products" json:"bind_products"`	Count        int         `db:"count" json:"count"`}
 |