feat: Integrate Data Connect and Implement Staff List View Directory
This commit is contained in:
@@ -7,6 +7,7 @@ enum ApplicationStatus {
|
||||
CHECKED_OUT
|
||||
LATE
|
||||
NO_SHOW
|
||||
COMPLETED
|
||||
}
|
||||
|
||||
enum ApplicationOrigin {
|
||||
|
||||
@@ -33,7 +33,7 @@ type Order @table(name: "orders") {
|
||||
business: Business! @ref(fields: "businessId", references: "id")
|
||||
|
||||
orderType: OrderType!
|
||||
location: String
|
||||
#location: String
|
||||
status: OrderStatus! @default(expr: "'DRAFT'")
|
||||
duration: OrderDuration
|
||||
lunchBreak: Int
|
||||
@@ -44,7 +44,8 @@ type Order @table(name: "orders") {
|
||||
shifts: Any @col(dataType: "jsonb")
|
||||
|
||||
requested: Int
|
||||
hub: String
|
||||
teamHubId: UUID!
|
||||
teamHub: TeamHub! @ref(fields: "teamHubId", references: "id")
|
||||
|
||||
date: Timestamp
|
||||
|
||||
|
||||
@@ -28,6 +28,12 @@ type Shift @table(name: "shifts") {
|
||||
locationAddress: String
|
||||
latitude: Float
|
||||
longitude: Float
|
||||
placeId: String
|
||||
city: String
|
||||
state: String
|
||||
street: String
|
||||
country: String
|
||||
|
||||
description: String
|
||||
|
||||
status: ShiftStatus
|
||||
|
||||
@@ -11,15 +11,66 @@ enum TaxFormType {
|
||||
W4
|
||||
}
|
||||
|
||||
enum MaritalStatus{
|
||||
SINGLE
|
||||
MARRIED
|
||||
HEAD
|
||||
}
|
||||
|
||||
enum CitizenshipStatus{
|
||||
CITIZEN
|
||||
NONCITIZEN
|
||||
PERMANENT_RESIDENT
|
||||
ALIEN
|
||||
}
|
||||
|
||||
type TaxForm @table(name: "tax_forms") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
|
||||
formType: TaxFormType!
|
||||
title: String!
|
||||
subtitle: String
|
||||
description: String
|
||||
firstName: String!
|
||||
lastName: String!
|
||||
mInitial: String
|
||||
oLastName:String
|
||||
dob: Timestamp
|
||||
socialSN: Int!
|
||||
email: String
|
||||
phone: String
|
||||
address: String!
|
||||
city: String
|
||||
apt: String
|
||||
state: String
|
||||
zipCode: String
|
||||
|
||||
# form W-4
|
||||
marital: MaritalStatus
|
||||
|
||||
multipleJob: Boolean @default(expr: "false")
|
||||
|
||||
childrens: Int
|
||||
otherDeps: Int
|
||||
totalCredits: Float @default(expr: "0")
|
||||
|
||||
otherInconme: Float @default(expr: "0")
|
||||
deductions: Float @default(expr: "0")
|
||||
extraWithholding: Float @default(expr: "0")
|
||||
|
||||
# form I-9
|
||||
|
||||
citizen: CitizenshipStatus
|
||||
|
||||
uscis: String
|
||||
passportNumber: String
|
||||
countryIssue: String
|
||||
|
||||
prepartorOrTranslator: Boolean @default(expr: "false")
|
||||
|
||||
# both forms
|
||||
signature:String
|
||||
date: Timestamp
|
||||
|
||||
status: TaxFormStatus!
|
||||
staffId: UUID!
|
||||
formData: Any
|
||||
|
||||
createdAt: Timestamp @default(expr: "request.time")
|
||||
updatedAt: Timestamp @default(expr: "request.time")
|
||||
|
||||
@@ -5,10 +5,18 @@ type TeamHub @table(name: "team_hubs") {
|
||||
team: Team! @ref(fields: "teamId", references: "id")
|
||||
|
||||
hubName: String!
|
||||
|
||||
address: String!
|
||||
placeId: String
|
||||
latitude: Float
|
||||
longitude: Float
|
||||
|
||||
city: String
|
||||
state: String
|
||||
street: String
|
||||
country: String
|
||||
zipCode: String
|
||||
|
||||
managerName: String
|
||||
isActive: Boolean! @default(expr: "true")
|
||||
departments: Any
|
||||
|
||||
Reference in New Issue
Block a user