@@ -25,7 +25,7 @@ export class Address {
|
||||
/**
|
||||
* The address's description.
|
||||
*/
|
||||
@Column()
|
||||
@Column({nullable: true})
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
description?: string;
|
||||
@@ -43,7 +43,7 @@ export class Address {
|
||||
* The address's second line.
|
||||
* Containing optional information.
|
||||
*/
|
||||
@Column()
|
||||
@Column({nullable: true})
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
address2?: string;
|
||||
|
||||
Reference in New Issue
Block a user