1404/11/04- first

This commit is contained in:
2026-01-24 17:45:54 +03:30
commit edf1824229
554 changed files with 59581 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
export interface File {
created_at?: string
ext?: string
has_thumb?: boolean
id?: number
original_name?: string
size?: number
src?: string
title?: string
type?: string
updated_at?: string
user_id?: number
}
+9
View File
@@ -0,0 +1,9 @@
export interface Item {
value: string
key: boolean | number
}
export interface FunctionItem {
name: string
function: string
}
+36
View File
@@ -0,0 +1,36 @@
import withdraw from "@/router/routes/withdraw";
import type {Withdraw} from "@/model/wallet";
export interface Accounting {
startDate:string
endDate:string
fullPriceM1:number
fullPriceM2:number
fullPriceKaermozd:number
fullPriceSood:number
orderCount:number
Gifts:string
GiftsPrise:number
sumAll:number
}
export interface TotalAccounting{
id: number
customer_id: number
order_id: null
customer_to_id: number
user_id: number
wallet: null
transaction_id: null
cash: number
note: string
type: number
gold: number
balance_cash: number
balance_gold: number
withdraw_id: number
updated_at: string
deleted_at: null
created_at: string
withdraw?: Withdraw
}
+25
View File
@@ -0,0 +1,25 @@
export interface AddId {
id: number
}
export interface Bill {
state?: number
prepayment?: number
adjustment?: number
workQuality?: number
forcedEvents?: number
materialEntryRestrictions?: number
enactNewRules?: number
delaysInAnnouncing?: number
technicalSpecifications?: number
delaysInWorkshopDelivery?: number
delaysInPurchasing?: number
agreementSuspension?: number
newWork?: number
other?: number
illegal?: number
billPresentationDate?: number
billHandlingDate?: number
billCommunicateDate?: number
description?: number
}
+17
View File
@@ -0,0 +1,17 @@
import type { Customer } from '@/model/customer'
export interface Card {
id?: number
cart_number?: string
shaba_number?: string
bank_name?: string
account_number?: string
sts?: number
sts_str?: string
customer?: Customer
}
export interface cardSts {
id: number
sts: number
}
+17
View File
@@ -0,0 +1,17 @@
export interface Province {
code: string
has_children: boolean
id: number
level: number
parent_id: number
title: string
}
export interface City {
code: string
has_children: boolean
id: number
level: number
parent_id: number
title: string
}
+6
View File
@@ -0,0 +1,6 @@
export interface Const {
key?: number | string | undefined
const_id?: number | undefined
title_fa?: string | undefined
value?: string | undefined
}
+37
View File
@@ -0,0 +1,37 @@
import type { User } from '@/model/user'
import type { Wallet } from '@/model/wallet'
export interface AddId {
id: number
}
export interface Customer {
id: number
fname: string
lname: string
name: string
mobile: string
password: string
avatar_id: number
active: boolean
// email: string
birth_date: string
created_at: string
gram: number
shop_name: string
phone_number: string
referral_to_id: string
referral_id: string
referral: Customer
city: string
province: string
wallet: Wallet
n_code: string | number
last_seen_at:string
profit_amount: number
add_user_limit: number
trade_active: boolean
type_str: string
gold: number
// print_name: string
}
+41
View File
@@ -0,0 +1,41 @@
export interface Dashboard {
new_customer_major?: number
new_customer_single?: number
all_customer_major?: number
all_customer_single?: number
archive_customer_major?: number
archive_customer_single?: number
all_gold?: number
all_gold_single?: number
price?: Price
}
export interface Price {
id?: number
title_fa?: string
value?: number
created_at?: string
updated_at?: string
update_date?: string
value_json?: ValuePrice[]
}
export interface ValuePrice {
key?: number
low?: string
high?: string
price?: string
numbertitle?: string
change?: string
category?: string
created_at?: string
}
export interface Charts {
buySellChart?: Chart
customerSellChart?: Chart
singleSellChart?: Chart
}
export interface Chart {
price: number
obj: any[]
}
+4
View File
@@ -0,0 +1,4 @@
export interface FilterSelect {
label: string
value: string | number | boolean
}
+14
View File
@@ -0,0 +1,14 @@
export interface Funds {
id: number
owner:number
cash:number
gold:number
fund_id:number
created_at:string
updated_at:string
fund:Fund
}
export interface Fund{
id:number
title:string
}
+12
View File
@@ -0,0 +1,12 @@
export interface UserLoginState {
id?: number
mobile?: string
password?: string
provider: string
token?: string
}
export interface Token {
id: number
access_token: string
}
+31
View File
@@ -0,0 +1,31 @@
import type { Customer } from '@/model/customer'
export interface Order {
amount?: number
created_at?: string
customer?: Customer
customer_id?: number
description?: number
direction?: number
fee?: number
id?: number
payment_sts?: number
price?: number
price_original?: number
sts?: number
total_fee?: number
total_price?: number
goldCash?: number
goldValue?: number
total_price_original?: number
updated_at?: string
pay_at?: string
difference?: string
total_price_liman?: number
}
export interface OrderSts {
order_id?: number
sts?: number
offer_price?: number
offer_mesghal_price?: number
}
+9
View File
@@ -0,0 +1,9 @@
export interface OthersPrices {
sell: number
buy: number
price_last: number
henzagold: number
Ounce: number
milli: number
tala_ir: number
}
+19
View File
@@ -0,0 +1,19 @@
export interface Permission {
user_type: number | undefined
section_id?: number
section?: string
rid: any
}
export interface UserPermission {
user_id: number | undefined
section_id?: number
section?: string
rid: any
}
export interface TreeData {
children?: TreeData[] //| string
title: string
key?: string
}
+9
View File
@@ -0,0 +1,9 @@
export interface Price {
price?: number
}
export interface last {
sell: number
buy: number
price_last: number
}
+12
View File
@@ -0,0 +1,12 @@
import type {Order} from "@/model/order";
export interface PriceChart{
id: number
price: number
date_at: string
time_at: string
user_id: null
created_at: number
updated_at: number
order: Order[]
}
+13
View File
@@ -0,0 +1,13 @@
export interface PriceTriggers{
id?: number
customer_id: number
target_price: number
price_condition: string
action: string
direction: null
is_active: boolean
triggered_at?: string
created_at: string
updated_at: string
deleted_at: null
}
+55
View File
@@ -0,0 +1,55 @@
import type { User } from '@/model/user'
import type { Wallet } from '@/model/wallet'
export interface AddId {
id: number
}
export interface Product{
id: number,
amount: number,
percent_fee_buy: number,
cash_fee_buy: number,
percent_fee_sell: number,
cash_fee_sell: number
group_type: string
unit: string
active: boolean
created_at: string
open_buy: boolean
open_sell: boolean
show: boolean
title: string
updated_at: string
methodOption: number
prices: MethodePrices[]
price: number
reading_method: string
weight: number
auto_open_at: string
auto_close_at: string
}
export interface MethodePrices {
id: string
name: string
price: number
profit: number
}
export interface SetActiveTime {
auto_open_at: string
auto_close_at: string
}
export interface Balance {
cashBalance: number
cashBalanceOfKalhor: number
cashBalanceOfLiman: number
goldBalance: number
goldBalanceOfKalhor: number
goldBalanceOfLiman: number
mazanehBalance: number
mazanehBalanceOfKalhor: number
income_money: number
mazanehBalanceOfLiman: number
}
+21
View File
@@ -0,0 +1,21 @@
export interface Referrals{
id:number
fname:string
lname:string
name:string
active:boolean
mobile:string
avatar_id:null
last_seen_at:string
default_address_id:null
sts:null
type:number
total_transaction:number
orders_count:number
birth_date:null
shop_name:null
phone_number:string
city:string
province:string
n_code:string
}
+8
View File
@@ -0,0 +1,8 @@
import type { User } from '@/model/user'
import type { Wallet } from '@/model/wallet'
export interface Sms {
numbers: string[]
message: string
single?: string[]
}
+20
View File
@@ -0,0 +1,20 @@
export interface TableEngineOutput<T> {
rows: T[]
query: {
filters: []
filtersOpt: null | any
key: any | null
limit: number
page: number
search: string
select: any | null
sort: any | null
total: number
}
}
export interface TableEngineInput {
page: number
limit: number
filters: any[]
}
+25
View File
@@ -0,0 +1,25 @@
import type { User } from '@/model/user'
export interface Transaction {
active: boolean
balance_cash: number
balance_gold: number
caj: string
cash: number
created_at: string
customer_id: number
expire_at: string
fund_id: number
gold: number
hash: string
id: number
note: number
order_id: number
transaction_type: string
type: number
type_str: string
updated_at: string
value: number
wallet: number
customer: User
}
+23
View File
@@ -0,0 +1,23 @@
import type { Const } from '@/model/const'
export interface User {
active?: boolean
avatar_id?: string
created_at?: string
fname?: string
password?: string
repassword?: string
id?: number
last_seen_at?: string
lname?: string
mobile?: number
name?: string
sts?: number
token_sms?: string
user_type?: string
send_sms?:boolean
}
export interface AddId {
id: number
}
+43
View File
@@ -0,0 +1,43 @@
import type { User } from '@/model/user'
export interface Wallet {
owner: number
id: number
gold: number
cash: number
customer: User
}
export interface Withdraw {
id?: number
customer_id?: number
user_id?: number
cash?: number
gold?: number
tracked_number?: number
date_at?: string
sts?: number
created_at?: string
updated_at?: string
sts_str?: string
daj?: string
customer?: User
}
export interface Charge {
value?: number
note?: string
customer_id?: number
}
export interface WithdrawStatus {
icon: string
bgColor: string
color: string
}
export interface SendWeight {
weights: number[]
withdraw_id: number
customer_id: number
}