Documentation

ClientCredit
in package
implements JsonSerializable

Class ClientCredit

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\ClientCreditRepository")

ORM\HasLifecycleCallbacks

()

ORM\Table

(name="government_credit")

Table of Contents

Interfaces

JsonSerializable

Constants

COUNTRY_LIST  = [\Vatjar\Data\EntityInterface\Country::ID_OF_IT, \Vatjar\Data\EntityInterface\Country::ID_OF_PL, \Vatjar\Data\EntityInterface\Country::ID_OF_FR, \Vatjar\Data\EntityInterface\Country::ID_OF_ES]

Properties

$autogenarated  : bool
$changeTime  : DateTime
$clientId  : int|null
$countryId  : int|null
$create_time  : DateTime
$credit  : string
$creditTypeId  : int|null
$id  : Uuid
$insertedById  : int|null
$isDeleted  : bool
$yearMonth  : string

Methods

getClientId()  : int
getCountryId()  : int
getCreatetime()  : DateTime|null
getCredit()  : float
getCreditTypeId()  : int|null
getId()  : Uuid
getInsertedById()  : int|null
getIsDeleted()  : bool
getYearMonth()  : string
getYearMonthWithHyphen()  : string
isAutogenarated()  : bool
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
setAutogenarated()  : void
setClientId()  : void
setCountryId()  : void
setCreateTime()  : void
setCredit()  : void
setCreditTypeId()  : void
setInsertedById()  : void
setIsDeleted()  : mixed
setYearMonth()  : void
updateChangeTime()  : mixed

Constants

COUNTRY_LIST

public mixed COUNTRY_LIST = [\Vatjar\Data\EntityInterface\Country::ID_OF_IT, \Vatjar\Data\EntityInterface\Country::ID_OF_PL, \Vatjar\Data\EntityInterface\Country::ID_OF_FR, \Vatjar\Data\EntityInterface\Country::ID_OF_ES]

Properties

$autogenarated

private bool $autogenarated
Tags
ORM\Column

(name="autogenarated", type="boolean")

$changeTime

private DateTime $changeTime
Tags
ORM\Column

(name="change_time", type="datetime")

$clientId

private int|null $clientId
Tags
ORM\Column

(name="client_id", type="integer")

$countryId

private int|null $countryId
Tags
ORM\Column

(name="country_id", type="integer")

$create_time

private DateTime $create_time
Tags
ORM\Column

(name="create_time", type="datetime")

$credit

private string $credit = '0.00'
Tags
ORM\Column

(name="credit", type="string")

$creditTypeId

private int|null $creditTypeId
Tags
ORM\Column

(name="credit_type_id", type="integer")

$id

private Uuid $id
Tags
ORM\Id

()

ORM\Column

(type="uuid_binary", length=10, unique=true, name="id")

ORM\GeneratedValue

(strategy="CUSTOM")

ORM\CustomIdGenerator

(class=\Ramsey\Uuid\Doctrine\UuidGenerator::class)

$insertedById

private int|null $insertedById
Tags
ORM\Column

(name="inserted_by", type="integer")

$isDeleted

private bool $isDeleted = false
Tags
ORM\Column

(name="deleted", type="boolean")

$yearMonth

private string $yearMonth
Tags
ORM\Column

(name="ym", type="string")

Methods

getClientId()

public getClientId() : int
Return values
int

getCountryId()

public getCountryId() : int
Return values
int

getCreatetime()

public getCreatetime() : DateTime|null
Return values
DateTime|null

getCredit()

public getCredit() : float
Return values
float

getCreditTypeId()

public getCreditTypeId() : int|null
Return values
int|null

getInsertedById()

public getInsertedById() : int|null
Return values
int|null

getIsDeleted()

public getIsDeleted() : bool
Return values
bool

getYearMonth()

public getYearMonth() : string
Return values
string

getYearMonthWithHyphen()

public getYearMonthWithHyphen() : string
Return values
string

isAutogenarated()

public isAutogenarated() : bool
Return values
bool

setAutogenarated()

public setAutogenarated(bool $autogenarated) : void
Parameters
$autogenarated : bool

setClientId()

public setClientId(int|null $clientId) : void
Parameters
$clientId : int|null

setCountryId()

public setCountryId(int|null $countryId) : void
Parameters
$countryId : int|null

setCreateTime()

public setCreateTime(DateTime|null $create_time) : void
Parameters
$create_time : DateTime|null

setCredit()

public setCredit(float|null $credit) : void
Parameters
$credit : float|null

setCreditTypeId()

public setCreditTypeId(int|null $creditTypeId) : void
Parameters
$creditTypeId : int|null

setInsertedById()

public setInsertedById(int|null $insertedById) : void
Parameters
$insertedById : int|null

setIsDeleted()

public setIsDeleted(bool $isDeleted) : mixed
Parameters
$isDeleted : bool

setYearMonth()

public setYearMonth(string $yearMonth) : void
Parameters
$yearMonth : string

updateChangeTime()

public updateChangeTime() : mixed
Tags
ORM\PrePersist

()

access

private


        
On this page

Search results