How should I reference two tables with one id?

前端 未结 0 1369
眼角桃花
眼角桃花 2020-12-18 20:41

I have a Company model and I have a Customer model. Both can be leads. How so I made a Lead model which has a LeadID

type LeadType int

const (
    CompanyLea         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题