更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -2,7 +2,6 @@ package models
|
||||
|
||||
import "time"
|
||||
|
||||
// TenantCrmCustomer 客户管理表: yz_tenant_crm_customer
|
||||
type TenantCrmCustomer struct {
|
||||
ID uint64 `orm:"column(id);pk;auto" json:"id"`
|
||||
TenantID string `orm:"column(tenant_id);size(64)" json:"tenant_id"`
|
||||
@@ -24,7 +23,7 @@ type TenantCrmCustomer struct {
|
||||
RegisterTime *time.Time `orm:"column(register_time);type(date);null" json:"register_time"`
|
||||
ExpireTime *time.Time `orm:"column(expire_time);type(date);null" json:"expire_time"`
|
||||
Status string `orm:"column(status);size(20);default(1)" json:"status"`
|
||||
IsDraft int8 `orm:"column(is_draft);default(0)" json:"is_draft"` // 0-正式 1-草稿
|
||||
IsDraft int8 `orm:"column(is_draft);default(0)" json:"is_draft"`
|
||||
Remark string `orm:"column(remark);type(text);null" json:"remark"`
|
||||
InvoiceTitle string `orm:"column(invoice_title);size(100)" json:"invoice_title"`
|
||||
TaxNumber string `orm:"column(tax_number);size(50)" json:"tax_number"`
|
||||
@@ -32,16 +31,15 @@ type TenantCrmCustomer struct {
|
||||
BankAccount string `orm:"column(bank_account);size(50)" json:"bank_account"`
|
||||
RegisteredAddress string `orm:"column(registered_address);size(255)" json:"registered_address"`
|
||||
RegisteredPhone string `orm:"column(registered_phone);size(50)" json:"registered_phone"`
|
||||
// 公海相关:in_pool=1 表示客户在公海中(租户共享,无个人负责人)
|
||||
InPool int8 `orm:"column(in_pool);default(0)" json:"in_pool"` // 是否在公海:0-否 1-是
|
||||
OwnerUserID string `orm:"column(owner_user_id);size(64);null" json:"owner_user_id"` // 当前负责人ID,公海中为空
|
||||
OwnerUserName string `orm:"column(owner_user_name);size(128);null" json:"owner_user_name"` // 当前负责人姓名
|
||||
LastOwnerName string `orm:"column(last_owner_name);size(128);null" json:"last_owner_name"` // 移入公海前的原负责人
|
||||
PoolInTime *time.Time `orm:"column(pool_in_time);type(datetime);null" json:"pool_in_time"` // 进入公海时间
|
||||
PoolReason string `orm:"column(pool_reason);size(200);null" json:"pool_reason"` // 移入公海原因
|
||||
CreateUserID string `orm:"column(create_user_id);size(64);null" json:"create_user_id"` // 创建人用户ID,用于删除权限校验
|
||||
CreditLimit float64 `orm:"column(credit_limit);type(decimal);digits(18);decimals(2);default(0)" json:"credit_limit"` // 信用额度,0=不限
|
||||
PaymentDays int `orm:"column(payment_days);default(0)" json:"payment_days"` // 账期天数
|
||||
InPool int8 `orm:"column(in_pool);default(0)" json:"in_pool"`
|
||||
OwnerUserID string `orm:"column(owner_user_id);size(64);null" json:"owner_user_id"`
|
||||
OwnerUserName string `orm:"column(owner_user_name);size(128);null" json:"owner_user_name"`
|
||||
LastOwnerName string `orm:"column(last_owner_name);size(128);null" json:"last_owner_name"`
|
||||
PoolInTime *time.Time `orm:"column(pool_in_time);type(datetime);null" json:"pool_in_time"`
|
||||
PoolReason string `orm:"column(pool_reason);size(200);null" json:"pool_reason"`
|
||||
CreateUserID string `orm:"column(create_user_id);size(64);null" json:"create_user_id"`
|
||||
CreditLimit float64 `orm:"column(credit_limit);type(decimal);digits(18);decimals(2);default(0)" json:"credit_limit"`
|
||||
PaymentDays int `orm:"column(payment_days);default(0)" json:"payment_days"`
|
||||
CreateTime time.Time `orm:"column(create_time);auto_now_add;type(datetime)" json:"create_time"`
|
||||
UpdateTime time.Time `orm:"column(update_time);auto_now;type(datetime)" json:"update_time"`
|
||||
DeleteTime *time.Time `orm:"column(delete_time);type(datetime);null" json:"delete_time"`
|
||||
|
||||
Reference in new issue
Block a user