create order
This commit is contained in:
23
lib/features/orders/domain/entities/payment_term.dart
Normal file
23
lib/features/orders/domain/entities/payment_term.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
/// Payment Term Entity
|
||||
///
|
||||
/// Represents a payment term template option from the API.
|
||||
library;
|
||||
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
/// Payment Term Entity
|
||||
class PaymentTerm extends Equatable {
|
||||
/// Payment term name (e.g., "Thanh toán hoàn toàn", "Thanh toán trả trước")
|
||||
final String name;
|
||||
|
||||
/// Custom description (e.g., "Thanh toán ngay được chiết khấu 2%")
|
||||
final String customDescription;
|
||||
|
||||
const PaymentTerm({
|
||||
required this.name,
|
||||
required this.customDescription,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object?> get props => [name, customDescription];
|
||||
}
|
||||
Reference in New Issue
Block a user