lendingStation: add remarks

pull/35/head
leonnicolas 4 years ago
parent e34e544629
commit dbb30369af
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -40,6 +40,12 @@ export class LoanPeriod {
}) })
generalRemark: string; generalRemark: string;
@Column({
nullable: true,
type: 'text'
})
holidays: string;
/** /**
* validity for loanPeriods * validity for loanPeriods
*/ */
@ -120,6 +126,11 @@ export class LendingStation implements Lockable {
}) })
organisationId: number; organisationId: number;
@Column({
nullable: true
})
remark: string;
@Column({ @Column({
nullable: true, nullable: true,
type: 'timestamp' type: 'timestamp'

@ -876,6 +876,7 @@ export default gql`
"Total amount of cargoBikes currently assigned to the lending station" "Total amount of cargoBikes currently assigned to the lending station"
numCargoBikes: Int! numCargoBikes: Int!
organisation: Organisation organisation: Organisation
remark: String
isLocked: Boolean! isLocked: Boolean!
isLockedByMe: Boolean! isLockedByMe: Boolean!
"null if not locked by other user" "null if not locked by other user"
@ -893,6 +894,7 @@ export default gql`
address: AddressCreateInput! address: AddressCreateInput!
loanPeriod: LoanPeriodInput loanPeriod: LoanPeriodInput
organisationId: ID organisationId: ID
remark: String
} }
""" """
@ -906,6 +908,7 @@ export default gql`
address: AddressUpdateInput address: AddressUpdateInput
loanPeriod: LoanPeriodInput loanPeriod: LoanPeriodInput
organisationId: ID organisationId: ID
remark: String
keepLock: Boolean keepLock: Boolean
} }
@ -914,6 +917,7 @@ export default gql`
""" """
type LoanPeriod { type LoanPeriod {
generalRemark: String generalRemark: String
holidays: String
mo: String mo: String
tu: String tu: String
we: String we: String
@ -928,6 +932,7 @@ export default gql`
""" """
input LoanPeriodInput { input LoanPeriodInput {
generalRemark: String generalRemark: String
holidays: String
mo: String mo: String
tu: String tu: String
we: String we: String

Loading…
Cancel
Save