Package br.com.intersys.systextil.dto
Record Class LoteInternoDto
java.lang.Object
java.lang.Record
br.com.intersys.systextil.dto.LoteInternoDto
public record LoteInternoDto(int seqLoteInterno, String numeroLoteFornecedor, CNPJ fornecedor, CodProduto produto, double qtdeLote, Date fabricacaoLote, Date validadeLote, Date dataCriacao)
extends Record
DTO referente a tabela
supr_062- Author:
- Gustavo Antonius
-
Constructor Summary
ConstructorsConstructorDescriptionLoteInternoDto(int seqLoteInterno, String numeroLoteFornecedor, CNPJ fornecedor, CodProduto produto, double qtdeLote, Date fabricacaoLote, Date validadeLote, Date dataCriacao) Creates an instance of aLoteInternoDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataCriacaorecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefabricacaoLoterecord component.Returns the value of thefornecedorrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thenumeroLoteFornecedorrecord component.produto()Returns the value of theprodutorecord component.doubleqtdeLote()Returns the value of theqtdeLoterecord component.intReturns the value of theseqLoteInternorecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalidadeLoterecord component.
-
Constructor Details
-
LoteInternoDto
public LoteInternoDto(int seqLoteInterno, String numeroLoteFornecedor, CNPJ fornecedor, CodProduto produto, double qtdeLote, Date fabricacaoLote, Date validadeLote, Date dataCriacao) Creates an instance of aLoteInternoDtorecord class.- Parameters:
seqLoteInterno- the value for theseqLoteInternorecord componentnumeroLoteFornecedor- the value for thenumeroLoteFornecedorrecord componentfornecedor- the value for thefornecedorrecord componentproduto- the value for theprodutorecord componentqtdeLote- the value for theqtdeLoterecord componentfabricacaoLote- the value for thefabricacaoLoterecord componentvalidadeLote- the value for thevalidadeLoterecord componentdataCriacao- the value for thedataCriacaorecord component
-
-
Method Details
-
seqLoteInterno
public int seqLoteInterno()Returns the value of theseqLoteInternorecord component.- Returns:
- the value of the
seqLoteInternorecord component
-
numeroLoteFornecedor
Returns the value of thenumeroLoteFornecedorrecord component.- Returns:
- the value of the
numeroLoteFornecedorrecord component
-
fornecedor
Returns the value of thefornecedorrecord component.- Returns:
- the value of the
fornecedorrecord component
-
produto
Returns the value of theprodutorecord component.- Returns:
- the value of the
produtorecord component
-
qtdeLote
public double qtdeLote()Returns the value of theqtdeLoterecord component.- Returns:
- the value of the
qtdeLoterecord component
-
fabricacaoLote
Returns the value of thefabricacaoLoterecord component.- Returns:
- the value of the
fabricacaoLoterecord component
-
validadeLote
Returns the value of thevalidadeLoterecord component.- Returns:
- the value of the
validadeLoterecord component
-
dataCriacao
Returns the value of thedataCriacaorecord component.- Returns:
- the value of the
dataCriacaorecord component
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
-