client/skr/models/GlPeriod.coffee in stockor-0.1.9 vs client/skr/models/GlPeriod.coffee in stockor-0.2
- old
+ new
@@ -1,9 +1,7 @@
class Skr.Models.GlPeriod extends Skr.Models.Base
-
props:
- id: {"type":"integer","required":true}
- year: {"type":"integer","required":true}
- period: {"type":"integer","required":true}
- is_locked:{"type":"boolean","required":true,"default":"false"}
-
+ id: {type:"integer"}
+ year: {type:"integer", required: true}
+ period: {type:"integer", required: true}
+ is_locked:{type:"boolean", default:false}