new field and enums values for break in shiftrole
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
enum BreakDuration {
|
||||
MIN_10
|
||||
MIN_15
|
||||
MIN_30
|
||||
MIN_45
|
||||
MIN_60
|
||||
NO_BREAK
|
||||
}
|
||||
|
||||
@@ -25,6 +28,7 @@ type ShiftRole @table(name: "shift_roles", key: ["shiftId", "roleId"]) {
|
||||
department: String
|
||||
uniform: String
|
||||
breakType: BreakDuration
|
||||
isBreakPaid: Boolean @default(expr: "false")
|
||||
totalValue: Float
|
||||
|
||||
createdAt: Timestamp @default(expr: "request.time")
|
||||
|
||||
Reference in New Issue
Block a user