ReceiptModel constructor

ReceiptModel({
  1. int id = 0,
  2. bool status = true,
  3. String? description,
  4. required int branchId,
  5. int? serialNo,
  6. required int typeId,
})

Implementation

ReceiptModel({
  super.id = 0,
  this.status = true,
  this.description,
  required this.branchId,
  this.serialNo,
  required this.typeId,
})  : globalNo = 0,
      createAt = DateTime.now(),
      sessionId = 0,
      userId = 0;