Open DeBaFig opened 2 years ago
usando a formatação do blueprint para gerar os model: models: User_complete: ddd_phone: integer phone: integer address: string:100 cep: integer email_verified_at: timestamp cpf: integer status: boolean facebook: string instagram: avatar: string hasMany: Item
Category: title: string:50
Subcategory: title: string:50 hasMany: Category
Photo: photo_image: string create_at: timestamp
Item: title: unique integer description: nullable string:255 address: nullable string:150 reference_link: string min_price: integer max_price: integer publish_at: timestamp quantity: integer new: enum:Novo,Usado negociate: boolean status: enum:Ativo,Excluído,Pausado default:'ativo' purpose: enum:comprar,alugar relationships: hasMany: Photo
usando a formatação do blueprint para gerar os model: models: User_complete: ddd_phone: integer phone: integer address: string:100 cep: integer email_verified_at: timestamp cpf: integer status: boolean facebook: string instagram: avatar: string hasMany: Item
Category: title: string:50
Subcategory: title: string:50 hasMany: Category
Photo: photo_image: string create_at: timestamp
Item: title: unique integer description: nullable string:255 address: nullable string:150 reference_link: string min_price: integer max_price: integer publish_at: timestamp quantity: integer new: enum:Novo,Usado negociate: boolean status: enum:Ativo,Excluído,Pausado default:'ativo' purpose: enum:comprar,alugar relationships: hasMany: Photo