Sha256: fd5d5f0c5a1d7a3386e60ab4c9b211b7b92b11ed591e8063b566ff333193d9eb

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

class Skr.Models.SkuVendor extends Skr.Models.Base


    props:
        id:        {type:"integer"}
        sku_id:    {type:"integer"}
        vendor_id: {type:"integer"}
        list_price:{type:"bigdec"}
        part_code: {type:"string"}
        is_active: {type:"boolean", default:true}
        uom_size:  {type:"integer", "default":"1"}
        uom_code:  {type:"string", "default":"EA"}
        cost:      {type:"bigdec"}

    associations:
        sku:      { model: "Sku" }
        vendor:   { model: "Vendor" }
        sku_locs: { collection: "SkuLoc" }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stockor-0.5.0 client/skr/models/SkuVendor.coffee
stockor-0.4.0 client/skr/models/SkuVendor.coffee
stockor-0.3.0 client/skr/models/SkuVendor.coffee
stockor-0.2 client/skr/models/SkuVendor.coffee