package models
import org.squeryl.KeyedEntity
import org.squeryl.dsl._
case class Atach(lob:Array[Byte], contentType:String, fileName:String, grpName:String, partId:Long=0, notifyId:Long=0, replyId:Long=0) extends KeyedEntity[Long]{
  val id:Long=0

  lazy val part: ManyToOne[Part] = PartsListDb.partsAtache.right(this)

}
