fix
wangpengfei
2023-08-25 3369456ac6de01e8703a9b38537406ec7c550bc5
model/salesLeads.go
@@ -9,7 +9,8 @@
type (
   SalesLeads struct {
      Id              int                  `json:"id" gorm:"column:id;primary_key;AUTO_INCREMENT"`
      Name            string               `json:"name" gorm:"column:name;unique;type:varchar(255);comment:公司名称"`
      Name            string               `json:"name" gorm:"column:name;uniqueIndex:name_isDeleted_idx;;type:varchar(255);comment:公司名称"`
      IsDeleted       bool                 `json:"-" gorm:"column:is_deleted;uniqueIndex:name_isDeleted_idx;type:tinyint(1);comment:是否删除"`
      Number          string               `json:"number" gorm:"column:number;type:varchar(255);comment:销售线索编号"`
      ContactName     string               `json:"contact_name" gorm:"column:contact_name;type:varchar(255);comment:联系人姓名"`
      ContactPhone    string               `json:"contact_phone" gorm:"column:contact_phone;type:varchar(255);comment:联系人电话"`