create first working communication
This commit is contained in:
@@ -5,10 +5,10 @@ namespace Mine\SeekerBundle\Entity;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* GridRow
|
||||
* GridCol
|
||||
*
|
||||
* @ORM\Table(name="grid_row")
|
||||
* @ORM\Entity(repositoryClass="Mine\SeekerBundle\Repository\GridRowRepository")
|
||||
* @ORM\Table(name="grid_col")
|
||||
* @ORM\Entity(repositoryClass="Mine\SeekerBundle\Repository\GridColRepository")
|
||||
*/
|
||||
class GridCol
|
||||
{
|
||||
@@ -22,129 +22,24 @@ class GridCol
|
||||
private $id;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="col0", type="integer", nullable=true)
|
||||
* @ORM\Column(name="col", type="string", length=1, nullable=false)
|
||||
*/
|
||||
private $col0;
|
||||
private $col;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
* @var GridRow
|
||||
*
|
||||
* @ORM\Column(name="col1", type="integer", nullable=true)
|
||||
* @ORM\ManyToOne(targetEntity="Mine\SeekerBundle\Entity\GridRow", inversedBy="gridCol", cascade={"persist"})
|
||||
* @ORM\JoinColumn(name="grid_col", referencedColumnName="id", onDelete="CASCADE")
|
||||
*/
|
||||
private $col1;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col2", type="integer", nullable=true)
|
||||
*/
|
||||
private $col2;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col3", type="integer", nullable=true)
|
||||
*/
|
||||
private $col3;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col4", type="integer", nullable=true)
|
||||
*/
|
||||
private $col4;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col5", type="integer", nullable=true)
|
||||
*/
|
||||
private $col5;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col6", type="integer", nullable=true)
|
||||
*/
|
||||
private $col6;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col7", type="integer", nullable=true)
|
||||
*/
|
||||
private $col7;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col8", type="integer", nullable=true)
|
||||
*/
|
||||
private $col8;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col9", type="integer", nullable=true)
|
||||
*/
|
||||
private $col9;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col10", type="integer", nullable=true)
|
||||
*/
|
||||
private $col10;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col11", type="integer", nullable=true)
|
||||
*/
|
||||
private $col11;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col12", type="integer", nullable=true)
|
||||
*/
|
||||
private $col12;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col13", type="integer", nullable=true)
|
||||
*/
|
||||
private $col13;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col14", type="integer", nullable=true)
|
||||
*/
|
||||
private $col14;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*
|
||||
* @ORM\Column(name="col15", type="integer", nullable=true)
|
||||
*/
|
||||
private $col15;
|
||||
|
||||
/**
|
||||
* @var Grid
|
||||
*
|
||||
* @ORM\ManyToOne(targetEntity="Mine\SeekerBundle\Entity\Grid", inversedBy="gridRow")
|
||||
*/
|
||||
private $gridRow;
|
||||
|
||||
private $gridCol;
|
||||
|
||||
/**
|
||||
* Get id
|
||||
*
|
||||
* @return int
|
||||
* @return integer
|
||||
*/
|
||||
public function getId()
|
||||
{
|
||||
@@ -152,410 +47,50 @@ class GridCol
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col0
|
||||
* Set col
|
||||
*
|
||||
* @param integer $col0
|
||||
* @param integer $col
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol0($col0)
|
||||
public function setCol($col)
|
||||
{
|
||||
$this->col0 = $col0;
|
||||
$this->col = $col;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col0
|
||||
* Get col
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol0()
|
||||
public function getCol()
|
||||
{
|
||||
return $this->col0;
|
||||
return $this->col;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col1
|
||||
* Set gridCol
|
||||
*
|
||||
* @param integer $col1
|
||||
* @param GridRow $gridCol
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol1($col1)
|
||||
public function setGridCol(GridRow $gridCol = null)
|
||||
{
|
||||
$this->col1 = $col1;
|
||||
$this->gridCol = $gridCol;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col1
|
||||
* Get gridCol
|
||||
*
|
||||
* @return integer
|
||||
* @return GridRow
|
||||
*/
|
||||
public function getCol1()
|
||||
public function getGridCol()
|
||||
{
|
||||
return $this->col1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col2
|
||||
*
|
||||
* @param integer $col2
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol2($col2)
|
||||
{
|
||||
$this->col2 = $col2;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col2
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol2()
|
||||
{
|
||||
return $this->col2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col3
|
||||
*
|
||||
* @param integer $col3
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol3($col3)
|
||||
{
|
||||
$this->col3 = $col3;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col3
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol3()
|
||||
{
|
||||
return $this->col3;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col4
|
||||
*
|
||||
* @param integer $col4
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol4($col4)
|
||||
{
|
||||
$this->col4 = $col4;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col4
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol4()
|
||||
{
|
||||
return $this->col4;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col5
|
||||
*
|
||||
* @param integer $col5
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol5($col5)
|
||||
{
|
||||
$this->col5 = $col5;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col5
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol5()
|
||||
{
|
||||
return $this->col5;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col6
|
||||
*
|
||||
* @param integer $col6
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol6($col6)
|
||||
{
|
||||
$this->col6 = $col6;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col6
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol6()
|
||||
{
|
||||
return $this->col6;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col7
|
||||
*
|
||||
* @param integer $col7
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol7($col7)
|
||||
{
|
||||
$this->col7 = $col7;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col7
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol7()
|
||||
{
|
||||
return $this->col7;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col8
|
||||
*
|
||||
* @param integer $col8
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol8($col8)
|
||||
{
|
||||
$this->col8 = $col8;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col8
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol8()
|
||||
{
|
||||
return $this->col8;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col9
|
||||
*
|
||||
* @param integer $col9
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol9($col9)
|
||||
{
|
||||
$this->col9 = $col9;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col9
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol9()
|
||||
{
|
||||
return $this->col9;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col10
|
||||
*
|
||||
* @param integer $col10
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol10($col10)
|
||||
{
|
||||
$this->col10 = $col10;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col10
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol10()
|
||||
{
|
||||
return $this->col10;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col11
|
||||
*
|
||||
* @param integer $col11
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol11($col11)
|
||||
{
|
||||
$this->col11 = $col11;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col11
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol11()
|
||||
{
|
||||
return $this->col11;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col12
|
||||
*
|
||||
* @param integer $col12
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol12($col12)
|
||||
{
|
||||
$this->col12 = $col12;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col12
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol12()
|
||||
{
|
||||
return $this->col12;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col13
|
||||
*
|
||||
* @param integer $col13
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol13($col13)
|
||||
{
|
||||
$this->col13 = $col13;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col13
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol13()
|
||||
{
|
||||
return $this->col13;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col14
|
||||
*
|
||||
* @param integer $col14
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol14($col14)
|
||||
{
|
||||
$this->col14 = $col14;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col14
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol14()
|
||||
{
|
||||
return $this->col14;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set col15
|
||||
*
|
||||
* @param integer $col15
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setCol15($col15)
|
||||
{
|
||||
$this->col15 = $col15;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get col15
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getCol15()
|
||||
{
|
||||
return $this->col15;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set gridRow
|
||||
*
|
||||
* @param Grid $gridRow
|
||||
*
|
||||
* @return GridCol
|
||||
*/
|
||||
public function setGridRow(Grid $gridRow = null)
|
||||
{
|
||||
$this->gridRow = $gridRow;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get gridRow
|
||||
*
|
||||
* @return Grid
|
||||
*/
|
||||
public function getGridRow()
|
||||
{
|
||||
return $this->gridRow;
|
||||
return $this->gridCol;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user