1
This commit is contained in:
13
model/app_model/print_bill.go
Normal file
13
model/app_model/print_bill.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package app_model
|
||||
|
||||
import "time"
|
||||
|
||||
// PrintBill 打印机账户
|
||||
type PrintBill struct {
|
||||
ID int `orm:"column(id)" json:"id" db:"id"`
|
||||
CreatedAt time.Time `json:"created_at" db:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at" db:"updated_at"`
|
||||
PrintNo string `orm:"type(varchar);size(32);index" json:"print_no" db:"print_no"` // 打印机编号
|
||||
PrintBalance int64 `orm:"type(int);size(16)" json:"print_balance" db:"print_balance"` // 账户余额
|
||||
UserId string `orm:"type(varchar);size(125)" json:"user_id" db:"user_id"` // 打印机所属用户
|
||||
}
|
||||
Reference in New Issue
Block a user