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;
@Column({
nullable: true,
type: 'text'
})
holidays: string;
/**
* validity for loanPeriods
*/
@ -120,6 +126,11 @@ export class LendingStation implements Lockable {
})
organisationId: number;
@Column({
nullable: true
})
remark: string;
@Column({
nullable: true,
type: 'timestamp'

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

Loading…
Cancel
Save