define(['js/data/Entity', 'sprd/entity/Price', 'sprd/model/PrintType', 'sprd/entity/Color'], function(Entity, Price, PrintType, Color) {
    return Entity.inherit('sprd.entity.Offset', {
        defaults: {
            width: 0,
            height: 0,

            tags: ""
        },

        schema: {
            width: Number,
            height: Number,

            tags: String,

            colors: [Color],
            printTypes: [PrintType],

            price: Price
        }
    })
});
@@ -21,131 +21,44 @@
 ity'
-, 'sprd/entity/Price', 'sprd/model/PrintType', 'sprd/entity/Color'%5D, function(Entity, Price, PrintType, Color) %7B%0A    return
+%5D, function(Entity) %7B%0A    var Size =
  Ent
@@ -175,15 +175,17 @@
     
-tags
+unit
 : %22
+mm
 %22%0A  
@@ -267,17 +267,16 @@
 Number,%0A
-%0A
         
@@ -283,20 +283,20 @@
     
-tags
+unit
 : String
 ,%0A%0A 
@@ -291,18 +291,16 @@
 : String
-,%0A
 %0A       
@@ -304,108 +304,64 @@
     
-    colors: %5BColor%5D,%0A            printTypes: %5BPrintType%5D,%0A%0A            price: Price%0A        %7D%0A    %7D)
+%7D%0A    %7D);%0A%0A    Size.empty = new Size();%0A%0A    return Size
 %0A%7D);

update schema and defaults of size