92 lines
6.0 KiB
Go
92 lines
6.0 KiB
Go
package dao
|
|
|
|
type Express struct {
|
|
Id int64 `json:"id" gorm:"id"` // ID
|
|
Name string `json:"name" gorm:"name"` // 名称
|
|
TransitId uint8 `json:"transit_id" gorm:"transit_id"` // 快递公司,1为顺丰,2为京东,3为。。。
|
|
AppCode string `json:"app_code" gorm:"app_code"` // app 代码
|
|
AppSecretKey string `json:"app_secret_key" gorm:"app_secret_key"` // app 密钥
|
|
AppUrl string `json:"app_url" gorm:"app_url"` // 接口地址
|
|
CardNumber string `json:"card_number" gorm:"card_number"` // 月结卡号
|
|
PdfCode string `json:"pdf_code" gorm:"pdf_code"` // pdf文件编码
|
|
Province string `json:"province" gorm:"province"` // 省
|
|
City string `json:"city" gorm:"city"` // 市
|
|
County string `json:"county" gorm:"county"` // 县/区
|
|
Address string `json:"address" gorm:"address"` // 地址
|
|
CompanyName string `json:"company_name" gorm:"company_name"` // 公司名
|
|
Contact string `json:"contact" gorm:"contact"` // 联系人
|
|
Mobile string `json:"mobile" gorm:"mobile"` // 联系人手机号
|
|
Other string `json:"other" gorm:"other"` // 基它数据
|
|
Status uint8 `json:"status" gorm:"status"` // 状态,1为正常,2为禁用
|
|
Reason string `json:"reason" gorm:"reason"` // 原因
|
|
AdminId int64 `json:"admin_id" gorm:"admin_id"` // 操作人ID
|
|
AdminName string `json:"admin_name" gorm:"admin_name"` // 操作人姓名
|
|
}
|
|
type ExpressInfo struct {
|
|
Id int64 `json:"id" gorm:"id"` // ID
|
|
Name string `json:"name" gorm:"name"` // 名称
|
|
TransitId uint8 `json:"transit_id" gorm:"transit_id"` // 快递公司,1为顺丰,2为京东,3为。。。
|
|
AppCode string `json:"app_code" gorm:"app_code"` // app 代码
|
|
AppSecretKey string `json:"app_secret_key" gorm:"app_secret_key"` // app 密钥
|
|
AppUrl string `json:"app_url" gorm:"app_url"` // 接口地址
|
|
CardNumber string `json:"card_number" gorm:"card_number"` // 月结卡号
|
|
PdfCode string `json:"pdf_code" gorm:"pdf_code"` // pdf文件编码
|
|
Province string `json:"province" gorm:"province"` // 省
|
|
City string `json:"city" gorm:"city"` // 市
|
|
County string `json:"county" gorm:"county"` // 县/区
|
|
Address string `json:"address" gorm:"address"` // 地址
|
|
CompanyName string `json:"company_name" gorm:"company_name"` // 公司名
|
|
Contact string `json:"contact" gorm:"contact"` // 联系人
|
|
Mobile string `json:"mobile" gorm:"mobile"` // 联系人手机号
|
|
Other string `json:"other" gorm:"other"` // 基它数据
|
|
Status uint8 `json:"status" gorm:"status"` // 状态,1为正常,2为禁用
|
|
Reason string `json:"reason" gorm:"reason"` // 原因
|
|
}
|
|
|
|
type ExpressNames struct {
|
|
Id int64 `json:"id" gorm:"id"` // ID
|
|
Name string `json:"name" gorm:"name"` // 名称
|
|
}
|
|
|
|
type ExpressStatus struct {
|
|
Id int64 `json:"id" gorm:"id"` // ID
|
|
Status uint8 `json:"status" gorm:"status"` // 状态,1为正常,2为禁用
|
|
Reason string `json:"reason" gorm:"reason"` // 原因
|
|
AdminId int64 `json:"admin_id" gorm:"admin_id"` // 操作人ID
|
|
AdminName string `json:"admin_name" gorm:"admin_name"` // 操作人姓名
|
|
}
|
|
|
|
type ExpressSend struct {
|
|
Id int `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT;comment:ID" json:"id"`
|
|
Name string `gorm:"column:name;type:varchar(255);comment:名称;NOT NULL" json:"name"`
|
|
TransitId uint8 `gorm:"column:transit_id;type:tinyint(4);comment:快递公司,1为顺丰,2为京东,3为。。。;NOT NULL" json:"transit_id"`
|
|
AppCode string `gorm:"column:app_code;type:varchar(255);comment:app 代码;NOT NULL" json:"app_code"`
|
|
AppSecretKey string `gorm:"column:app_secret_key;type:varchar(255);comment:app 密钥;NOT NULL" json:"app_secret_key"`
|
|
AppUrl string `gorm:"column:app_url;type:varchar(255);comment:接口地址;NOT NULL" json:"app_url"`
|
|
PdfCode string `gorm:"column:pdf_code;type:varchar(255);comment:pdf文件编码;NOT NULL" json:"pdf_code"`
|
|
CardNumber string `gorm:"column:card_number;type:varchar(255);comment:月结卡号;NOT NULL" json:"card_number"`
|
|
Province string `gorm:"column:province;type:varchar(255);comment:省;NOT NULL" json:"province"`
|
|
City string `gorm:"column:city;type:varchar(255);comment:市;NOT NULL" json:"city"`
|
|
Other string `gorm:"column:other;type:text;comment:基它数据" json:"other"`
|
|
County string `gorm:"column:county;type:varchar(255);comment:县/区;NOT NULL" json:"county"`
|
|
Address string `gorm:"column:address;type:varchar(255);comment:地址;NOT NULL" json:"address"`
|
|
CompanyName string `gorm:"column:company_name;type:varchar(255);comment:公司名;NOT NULL" json:"company_name"`
|
|
Contact string `gorm:"column:contact;type:varchar(255);comment:联系人;NOT NULL" json:"contact"`
|
|
Mobile string `gorm:"column:mobile;type:varchar(255);comment:联系人手机号;NOT NULL" json:"mobile"`
|
|
}
|
|
|
|
type ExpressQueryItems struct {
|
|
AcceptAddress string `json:"acceptAddress"`
|
|
AcceptTime string `json:"acceptTime"`
|
|
FirstStatusCode string `json:"firstStatusCode"`
|
|
FirstStatusName string `json:"firstStatusName"`
|
|
OpCode string `json:"opCode"`
|
|
Remark string `json:"remark"`
|
|
SecondaryStatusCode string `json:"secondaryStatusCode"`
|
|
SecondaryStatusName string `json:"secondaryStatusName"`
|
|
OperatorName string `json:"operatorName"`
|
|
OperationTitle string `json:"operationTitle"`
|
|
AllInfo string `json:"allInfo"`
|
|
LastMd5 string `json:"lastMd5"`
|
|
}
|