You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
581 B
27 lines
581 B
4 years ago
|
package order
|
||
|
|
||
|
type Letterhead struct {
|
||
|
ID uint `json:"id"`
|
||
|
// UID 用户id
|
||
|
UID uint `json:"uid"`
|
||
|
// Type 1公司 2个人
|
||
|
Type uint `json:"type"`
|
||
|
// Name 名称
|
||
|
Name string `json:"name"`
|
||
|
// Taxnum 税号
|
||
|
Taxnum string `json:"taxnum"`
|
||
|
// Address 地址
|
||
|
Address string `json:"address"`
|
||
|
// Phone 电话
|
||
|
Phone string `json:"phone"`
|
||
|
// Bank 银行账号
|
||
|
Bank string `json:"bank"`
|
||
|
// Default 1默认
|
||
|
Default int `json:"default"`
|
||
|
}
|
||
|
|
||
|
// TableName sets the insert table name for this struct type
|
||
|
func (r *Letterhead) TableName() string {
|
||
|
return "recook_user_letterhead"
|
||
|
}
|