<s> """<STR_LIT>""" <EOL> import model_v8 as model <EOL> class LineItem ( model . Entity ) : <EOL> description = model . NonBlank ( ) <EOL> weight = model . Quantity ( ) <EOL> price = model . Quantity ( ) <EOL> def __init__ ( self , description , weight , price ) : <EOL> self . description = description <EOL> self . weight = weight <EOL> self . price = price <EOL> def subtotal ( self ) : <EOL> return self . weight * self . price </s>
