PageRenderTime 121ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/SampleApplication/ColdBox3/model/artist/Art.cfc

http://github.com/bobsilverberg/ValidateThisColdBoxPlugin
ColdFusion CFScript | 20 lines | 10 code | 2 blank | 8 comment | 0 complexity | da76ad5bb8d6af876360b496c3345a65 MD5 | raw file
 1/**
 2* I am a Art Persisted Entity
 3* @output false
 4* @table ART
 5* @persistent true
 6*/
 7component
 8{
 9	// identifier
10	property name="ArtID" fieldtype="id" generator="native" ; 
11		
12	// properties
13	property name="ArtName" ;
14	property name="Description" ;
15	property name="Price" ;
16	property name="LargeImage" ;
17	property name="IsSold" ;
18	
19	property name="Artist" fieldtype="many-to-one" fkcolumn="ArtistID" cfc="Artist";	
20}