package dao const DeliveryAddressDefaultYes = 1 //默认 const DeliveryAddressDefaultNo = 2 //不默认 const DeliveryAddressTypeStore = 1 type Address struct { Id int64 `json:"id" gorm:"id"` TargetId int64 `json:"target_id" gorm:"target_id"` // 对象ID District string `json:"district" gorm:"district"` // 地区 DistrictIds string `json:"district_ids" gorm:"district_ids"` // 地区IDS Default int32 `json:"default" gorm:"default"` // 默认:1为默认,2为不默认 Address string `json:"address" gorm:"address"` // 地址 SaleId int64 `json:"sale_id" gorm:"sale_id"` // 销售ID GroupId int64 `json:"group_id" gorm:"group_id"` // 分组ID Name string `json:"name" gorm:"name"` // 收货人姓名 Mobile string `json:"mobile" gorm:"mobile"` // 收货人手机 Type int32 `json:"type" gorm:"type"` // 类型 1门店 , 2销售,3为用户 Status int32 `json:"status" gorm:"status"` // 状态,1是正常,2为申请,3为一审核,4为二审核中,5为拒绝申请,6为审核失败,7为删除 Reason string `json:"reason" gorm:"reason"` NewContent string `json:"new_content" gorm:"new_content"` // 编辑后的内容 TypeName string `json:"type_name" gorm:"type_name"` // 类型名 AdminId int64 `json:"admin_id" gorm:"admin_id"` AdminName string `json:"admin_name" gorm:"admin_name"` }