Sha256: e1e11dbd09afe6266f85891020b0e9f087e50e238ef8e860fe306e0aa1477362

Contents?: true

Size: 727 Bytes

Versions: 3

Compression:

Stored size: 727 Bytes

Contents

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


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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stockor-0.1.9 client/skr/models/SkuVendor.coffee
stockor-0.1.8 client/skr/models/SkuVendor.coffee
stockor-0.1.7 client/skr/models/SkuVendor.coffee