Commit 09f7f57e by Jaxon

style: 格式化 @aus/lib

1 parent bbb010f2
Showing 103 changed files with 1250 additions and 1334 deletions
/* eslint-disable */
export class CascaderOption {} export class CascaderOption {}
export class ESignPartAConfig { export class ESignPartAConfig {
partAName: string;
partAIdentityCode: string;
partAAddress: string; partAAddress: string;
partAContactMobile: string; partAContactMobile: string;
...@@ -13,4 +9,8 @@ export class ESignPartAConfig { ...@@ -13,4 +9,8 @@ export class ESignPartAConfig {
* 法人身份证号码 * 法人身份证号码
*/ */
partAIdCardCode: string; partAIdCardCode: string;
partAIdentityCode: string;
partAName: string;
} }
export class Oplog { export class Oplog {
/** /**
* ID * 参数内容
*/ */
logId: number; argsContent: string;
/** /**
* 日志名称 * 创建时间
*/ */
oplogName: string; createTime: string;
/** /**
* 方法名 * IP地址
*/ */
methodName: string; ipAddress: string;
/** /**
* 日志描述 * ID
*/ */
remark: string; logId: number;
/** /**
* IP地址 * 方法名
*/ */
ipAddress: string; methodName: string;
/** /**
* 用户名 * 日志名称
*/ */
userName: string; oplogName: string;
/** /**
* 参数内容 * 日志描述
*/ */
argsContent: string; remark: string;
/** /**
* 返回内容 * 返回内容
...@@ -40,7 +40,7 @@ export class Oplog { ...@@ -40,7 +40,7 @@ export class Oplog {
returnContent: string; returnContent: string;
/** /**
* 创建时间 * 用户名
*/ */
createTime: string; userName: string;
} }
/* eslint-disable */
export class ResponseEntity<T> {} export class ResponseEntity<T> {}
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -15,33 +13,33 @@ export class AccountDateStat { ...@@ -15,33 +13,33 @@ export class AccountDateStat {
*/ */
activeCount: number; activeCount: number;
/** /**
* 新增注册 * 参拍车商
*/
newCount: number;
/**
* 个人车商
*/
personCount: number;
/**
* 企业车商
*/ */
companyCount: number; bidCount: number;
/** /**
* 待审核车商 * 待审核车商
*/ */
certificatingCount: number; certificatingCount: number;
/** /**
* 参拍车商 * 企业车商
*/ */
bidCount: number; companyCount: number;
/** /**
* 中拍车商 * 中拍车商
*/ */
dealCount: number; dealCount: number;
/** /**
* 新增注册
*/
newCount: number;
/**
* 新增中拍车商 * 新增中拍车商
*/ */
newDealCount: number; newDealCount: number;
/**
* 个人车商
*/
personCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Account } from "../../account/entity/Account";
// region 前端扩展导入包
import { Account_AccountType } from "../../account/entity/Account";
import { Account_CertifiedState } from "../../account/entity/Account";
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
// region 前端扩展导入包
import { Account_AccountType, Account_CertifiedState } from "../../account/entity/Account";
// endregion // endregion
/** /**
...@@ -14,27 +11,19 @@ export class AccountInfo { ...@@ -14,27 +11,19 @@ export class AccountInfo {
*/ */
accountId: number; accountId: number;
/** /**
* 头像
*/
avatar: FileInfo;
/**
*/ */
accountName: string; accountName: string;
/** /**
*/ */
nickName: string; accountType: Account_AccountType;
/**
*/
mobile: string;
/**
*/
openId: string;
/** /**
* 头像
*/ */
token: string; avatar: FileInfo;
/** /**
* 认证状态
*/ */
message: string; certifiedState: Account_CertifiedState;
/** /**
*/ */
cityCode: string; cityCode: string;
...@@ -43,15 +32,16 @@ export class AccountInfo { ...@@ -43,15 +32,16 @@ export class AccountInfo {
idCard: string; idCard: string;
/** /**
*/ */
accountType: Account_AccountType; message: string;
/** /**
* 认证状态
*/ */
certifiedState: Account_CertifiedState; mobile: string;
/** /**
* 余额
*/ */
surplus: number; nickName: string;
/**
*/
openId: string;
/** /**
* 登录状态码 * 登录状态码
*/ */
...@@ -60,6 +50,13 @@ export class AccountInfo { ...@@ -60,6 +50,13 @@ export class AccountInfo {
* 是否是超级用户 * 是否是超级用户
*/ */
supper: boolean; supper: boolean;
/**
* 余额
*/
surplus: number;
/**
*/
token: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Account } from "../../account/entity/Account";
// region 前端扩展导入包 // region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { Account_CertifiedState, Account_AccountType } from "../../account/entity/Account";
import { Account_AccountType, Account_CertifiedState } from "../../account/entity/Account";
// endregion // endregion
/** /**
...@@ -16,13 +14,18 @@ export class AccountProfile { ...@@ -16,13 +14,18 @@ export class AccountProfile {
*/ */
accountName: string; accountName: string;
/** /**
* 账户类型
*/ */
mobile: string; accountType: Account_AccountType;
/** /**
* 头像 * 头像
*/ */
avatar: FileInfo; avatar: FileInfo;
/** /**
* 参数数量
*/
bidCount: number;
/**
* 认证状态 * 认证状态
*/ */
certifiedState: Account_CertifiedState; certifiedState: Account_CertifiedState;
...@@ -31,21 +34,16 @@ export class AccountProfile { ...@@ -31,21 +34,16 @@ export class AccountProfile {
*/ */
favoriteCount: number; favoriteCount: number;
/** /**
* 浏览数量
*/ */
viewCount: number; mobile: string;
/**
* 参数数量
*/
bidCount: number;
/** /**
* 订单数量 * 订单数量
*/ */
orderCount: number; orderCount: number;
/** /**
* 账户类型 * 浏览数量
*/ */
accountType: Account_AccountType; viewCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -10,18 +8,6 @@ export class AccountStat { ...@@ -10,18 +8,6 @@ export class AccountStat {
*/ */
accountId: number; accountId: number;
/** /**
* 订单待支付金额
*/
orderPayAmount: number;
/**
* 冻结金额
*/
freezeAmount: number;
/**
* 提现中金额
*/
withdrawingAmount: number;
/**
* 累计参拍次数 * 累计参拍次数
*/ */
auctionVehicleCount: number; auctionVehicleCount: number;
...@@ -34,13 +20,25 @@ export class AccountStat { ...@@ -34,13 +20,25 @@ export class AccountStat {
*/ */
completedOrderCount: number; completedOrderCount: number;
/** /**
* 累计成交总额 * 冻结金额
*/ */
totalAmount: number; freezeAmount: number;
/** /**
* 所有合同数量 * 所有合同数量
*/ */
orderCount: number; orderCount: number;
/**
* 订单待支付金额
*/
orderPayAmount: number;
/**
* 累计成交总额
*/
totalAmount: number;
/**
* 提现中金额
*/
withdrawingAmount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -15,17 +13,17 @@ export class AccountTotalStat { ...@@ -15,17 +13,17 @@ export class AccountTotalStat {
*/ */
activeCount: number; activeCount: number;
/** /**
* 新增注册(本周) * 待审核车商
*/ */
newCount: number; certificatingCount: number;
/** /**
* 成交车商(本周) * 成交车商(本周)
*/ */
dealCount: number; dealCount: number;
/** /**
* 待审核车商 * 新增注册(本周)
*/ */
certificatingCount: number; newCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
// endregion // endregion
...@@ -11,32 +9,32 @@ export class Certification { ...@@ -11,32 +9,32 @@ export class Certification {
*/ */
accountName: string; accountName: string;
/** /**
* 开户银行
*/ */
idCard: string; bank: string;
/** /**
* 身份证人像面 * 银行卡号
*/ */
idCardPortrait: FileInfo; bankAccount: string;
/** /**
* 身份证国徽面 * 银行预留号码
*/ */
idCardNationalEmblem: FileInfo; bankMobile: string;
/** /**
* 营业执照 * 营业执照
*/ */
businessLicense: FileInfo; businessLicense: FileInfo;
/** /**
* 开户银行
*/ */
bank: string; idCard: string;
/** /**
* 银行卡号 * 身份证国徽面
*/ */
bankAccount: string; idCardNationalEmblem: FileInfo;
/** /**
* 银行预留号码 * 身份证人像面
*/ */
bankMobile: string; idCardPortrait: FileInfo;
/** /**
* 推荐码 * 推荐码
*/ */
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
/** /**
*/ */
export class ProvinceCount { export class ProvinceCount {
accountCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
provinceCode: string; provinceCode: string;
accountCount: number;
// endregion // endregion
} }
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,10 +6,10 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,10 +6,10 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
export class UploadFileInfo { export class UploadFileInfo {
/** /**
*/ */
id: number; fileInfos: FileInfo[];
/** /**
*/ */
fileInfos: FileInfo[]; id: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
// region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Favorite } from "./Favorite"; import { BidStat } from "../../auction/domain/BidStat";
import { AccountTag } from "./AccountTag";
import { AuctionOrder } from "../../auction/entity/AuctionOrder"; import { AuctionOrder } from "../../auction/entity/AuctionOrder";
import { Bid } from "../../auction/entity/Bid"; import { Bid } from "../../auction/entity/Bid";
import { Withdraw } from "../../finance/entity/Withdraw";
import { BidStat } from "../../auction/domain/BidStat";
import { Transaction } from "../../finance/entity/Transaction"; import { Transaction } from "../../finance/entity/Transaction";
// region 前端扩展导入包 import { Withdraw } from "../../finance/entity/Withdraw";
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { AccountTag } from "./AccountTag";
import { Favorite } from "./Favorite";
// endregion // endregion
/** /**
...@@ -24,58 +25,30 @@ export class Account extends AuditingTimeEntity { ...@@ -24,58 +25,30 @@ export class Account extends AuditingTimeEntity {
*/ */
accountName: string; accountName: string;
/** /**
* 手机号 * account_groups
*/
mobile: string;
/**
* 微信ID
*/
openId: string;
/**
* 身份证
*/
idCard: string;
/**
* 身份证人像面
*/ */
idCardPortrait: FileInfo; accountTags: AccountTag[];
/** /**
* 身份证国徽面 * 账户类型
*/ */
idCardNationalEmblem: FileInfo; accountType: Account_AccountType;
/** /**
* 营业执照 * 支付宝账号
*/ */
businessLicense: FileInfo; alipayAccount: string;
/** /**
* 申请认证时间 * 申请认证时间
*/ */
applyCertifiedTime: Dayjs | string; applyCertifiedTime: Dayjs | string;
/** /**
* 认证状态 * auction_order
*/ */
certifiedState: Account_CertifiedState; auctionOrders: AuctionOrder[];
/** /**
* 头像 * 头像
*/ */
avatar: FileInfo; avatar: FileInfo;
/** /**
* 昵称
*/
nickName: string;
/**
* 账号状态
*/
enabled: boolean;
/**
* 余额
*/
surplus: number;
/**
* 支付宝账号
*/
alipayAccount: string;
/**
* 开户银行 * 开户银行
*/ */
bank: string; bank: string;
...@@ -88,17 +61,21 @@ export class Account extends AuditingTimeEntity { ...@@ -88,17 +61,21 @@ export class Account extends AuditingTimeEntity {
*/ */
bankMobile: string; bankMobile: string;
/** /**
* 推荐码 * bid
*/ */
recommendCode: string; bids: Bid[];
/** /**
* 账户类型 * 竞标统计
*/ */
accountType: Account_AccountType; bidStat: BidStat;
/** /**
* 最后登录时间 * 营业执照
*/ */
lastLoginTime: Dayjs | string; businessLicense: FileInfo;
/**
* 认证状态
*/
certifiedState: Account_CertifiedState;
/** /**
* 城市编码 * 城市编码
用于定位城市 用于定位城市
...@@ -106,49 +83,73 @@ export class Account extends AuditingTimeEntity { ...@@ -106,49 +83,73 @@ export class Account extends AuditingTimeEntity {
*/ */
cityCode: string; cityCode: string;
/** /**
* 是否是超级用户 * 累计成交数量
*/ */
supper: boolean; dealCount: number;
/** /**
* 禁用原因 * 禁用原因
*/ */
disableReason: string; disableReason: string;
/** /**
* account_groups * 账号状态
*/ */
accountTags: AccountTag[]; enabled: boolean;
/** /**
* auction_order * favorite
*/ */
auctionOrders: AuctionOrder[]; favorites: Favorite[];
/** /**
* bid * 冻结保证金
*/ */
bids: Bid[]; frozenDeposit: number;
/** /**
* favorite * 身份证
*/ */
favorites: Favorite[]; idCard: string;
/** /**
* transaction * 身份证国徽面
*/ */
transactions: Transaction[]; idCardNationalEmblem: FileInfo;
/** /**
* withdraw * 身份证人像面
*/ */
withdraws: Withdraw[]; idCardPortrait: FileInfo;
/** /**
* 累计成交数量 * 最后登录时间
*/ */
dealCount: number; lastLoginTime: Dayjs | string;
/** /**
* 冻结保证金 * 手机号
*/ */
frozenDeposit: number; mobile: string;
/** /**
* 竞标统计 * 昵称
*/ */
bidStat: BidStat; nickName: string;
/**
* 微信ID
*/
openId: string;
/**
* 推荐码
*/
recommendCode: string;
/**
* 是否是超级用户
*/
supper: boolean;
/**
* 余额
*/
surplus: number;
/**
* transaction
*/
transactions: Transaction[];
/**
* withdraw
*/
withdraws: Withdraw[];
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -161,13 +162,13 @@ export class Account extends AuditingTimeEntity { ...@@ -161,13 +162,13 @@ export class Account extends AuditingTimeEntity {
* CERTIFY_FAILED 认证失败 * CERTIFY_FAILED 认证失败
* CERTIFIED 认证成功 * CERTIFIED 认证成功
*/ */
export type Account_CertifiedState = "UNCERTIFIED" | "CERTIFICATING" | "CERTIFY_FAILED" | "CERTIFIED"; export type Account_CertifiedState = "CERTIFICATING" | "CERTIFIED" | "CERTIFY_FAILED" | "UNCERTIFIED";
export const ACCOUNT_CERTIFIED_STATES = ["UNCERTIFIED", "CERTIFICATING", "CERTIFY_FAILED", "CERTIFIED"]; export const ACCOUNT_CERTIFIED_STATES = [ "UNCERTIFIED", "CERTIFICATING", "CERTIFY_FAILED", "CERTIFIED" ];
/** /**
* COMMON 未认证用户 * COMMON 未认证用户
* PERSON 个人用户 * PERSON 个人用户
* COMPANY 车商用户 * COMPANY 车商用户
*/ */
export type Account_AccountType = "COMMON" | "PERSON" | "COMPANY"; export type Account_AccountType = "COMMON" | "COMPANY" | "PERSON";
export const ACCOUNT_ACCOUNT_TYPES = ["COMMON", "PERSON", "COMPANY"]; export const ACCOUNT_ACCOUNT_TYPES = [ "COMMON", "PERSON", "COMPANY" ];
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Auction } from "../../auction/entity/Auction";
import { Account } from "./Account"; import { Account } from "./Account";
import { CommissionRule } from "./CommissionRule"; import { CommissionRule } from "./CommissionRule";
import { Auction } from "../../auction/entity/Auction";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -11,25 +11,27 @@ import { Auction } from "../../auction/entity/Auction"; ...@@ -11,25 +11,27 @@ import { Auction } from "../../auction/entity/Auction";
*/ */
export class AccountTag extends AuditingEntity { export class AccountTag extends AuditingEntity {
/** /**
* GROUP_ID * 关联用户数
*/ */
tagId: number; accountCount: number;
/** /**
* 标签名称 * account_groups
*/ */
tagName: string; accounts: Account[];
/** /**
* 分组名称
*/ */
groupName: string; auctions: Auction[];
/** /**
* 颜色 * 颜色
*/ */
color: string; color: string;
/** /**
* 备注
*/ */
remark: string; commissionRules: CommissionRule[];
/**
* 分组名称
*/
groupName: string;
/** /**
* 是否推荐 * 是否推荐
*/ */
...@@ -39,19 +41,17 @@ export class AccountTag extends AuditingEntity { ...@@ -39,19 +41,17 @@ export class AccountTag extends AuditingEntity {
*/ */
recommendCode: string; recommendCode: string;
/** /**
* 关联用户数 * 备注
*/
accountCount: number;
/**
* account_groups
*/ */
accounts: Account[]; remark: string;
/** /**
* GROUP_ID
*/ */
auctions: Auction[]; tagId: number;
/** /**
* 标签名称
*/ */
commissionRules: CommissionRule[]; tagName: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AccountTag } from "./AccountTag";
import { Account } from "./Account"; import { Account } from "./Account";
import { AccountTag } from "./AccountTag";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -10,52 +11,52 @@ import { Account } from "./Account"; ...@@ -10,52 +11,52 @@ import { Account } from "./Account";
*/ */
export class CommissionRule extends AuditingEntity { export class CommissionRule extends AuditingEntity {
/** /**
* RULE_ID * account_groups
*/
ruleId: number;
/**
* 规则名称
*/ */
ruleName: string; accounts: Account[];
/** /**
* 规则详情 * account_groups
*/ */
remark: string; accountTags: AccountTag[];
/** /**
* 启用状态 * 适用人群类型
*/ */
enabled: boolean; applicableType: CommissionRule_ApplicableType;
/** /**
* 规则类型 * 佣金(比例/固定金额)
*/ */
ruleType: CommissionRule_RuleType; commission: number;
/** /**
* 生效日期 * 生效日期
*/ */
effectiveDate: Dayjs | string; effectiveDate: Dayjs | string;
// region 前端扩展定义属性及方法区
effectiveDateRange: any[];
/**
* 启用状态
*/
enabled: boolean;
/** /**
* 结束日期 * 结束日期
*/ */
expireDate: Dayjs | string; expireDate: Dayjs | string;
/** /**
* 佣金(比例/固定金额) * 规则详情
*/ */
commission: number; remark: string;
/** /**
* 适用人群类型 * RULE_ID
*/ */
applicableType: CommissionRule_ApplicableType; ruleId: number;
/** /**
* account_groups * 规则名称
*/ */
accounts: Account[]; ruleName: string;
/** /**
* account_groups * 规则类型
*/ */
accountTags: AccountTag[]; ruleType: CommissionRule_RuleType;
// region 前端扩展定义属性及方法区
effectiveDateRange: any[];
// endregion // endregion
} }
...@@ -63,13 +64,13 @@ export class CommissionRule extends AuditingEntity { ...@@ -63,13 +64,13 @@ export class CommissionRule extends AuditingEntity {
* RATIO 按比例 * RATIO 按比例
* FIXED 固定差价 * FIXED 固定差价
*/ */
export type CommissionRule_RuleType = "RATIO" | "FIXED"; export type CommissionRule_RuleType = "FIXED" | "RATIO";
export const COMMISSION_RULE_RULE_TYPES = ["RATIO", "FIXED"]; export const COMMISSION_RULE_RULE_TYPES = [ "RATIO", "FIXED" ];
/** /**
* ACCOUNT 指定用户 * ACCOUNT 指定用户
* TAG 指定标签用户 * TAG 指定标签用户
* ALL 所有用户 * ALL 所有用户
*/ */
export type CommissionRule_ApplicableType = "ACCOUNT" | "TAG" | "ALL"; export type CommissionRule_ApplicableType = "ACCOUNT" | "ALL" | "TAG";
export const COMMISSION_RULE_APPLICABLE_TYPES = ["ACCOUNT", "TAG", "ALL"]; export const COMMISSION_RULE_APPLICABLE_TYPES = [ "ACCOUNT", "TAG", "ALL" ];
import { Dayjs } from "dayjs"; import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { FavoriteId } from "./FavoriteId";
import { AuctionVehicle } from "../../auction/entity/AuctionVehicle"; import { AuctionVehicle } from "../../auction/entity/AuctionVehicle";
import { Account } from "./Account"; import { Account } from "./Account";
import { FavoriteId } from "./FavoriteId";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -11,16 +11,16 @@ import { Account } from "./Account"; ...@@ -11,16 +11,16 @@ import { Account } from "./Account";
*/ */
export class Favorite extends AuditingTimeEntity { export class Favorite extends AuditingTimeEntity {
/** /**
* FAVORITE_ID
*/
id: FavoriteId;
/**
* ACCOUNT_ID * ACCOUNT_ID
*/ */
account: Account; account: Account;
/** /**
*/ */
auctionVehicle: AuctionVehicle; auctionVehicle: AuctionVehicle;
/**
* FAVORITE_ID
*/
id: FavoriteId;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
/** /**
*/ */
export class AuctionVehicleRate { export class AuctionVehicleRate {
// region 前端扩展定义属性及方法区 accountCount: number;
vehicleId: number;
auctionId: number; auctionId: number;
browserHistoryCount: number;
carSeriesName: string; carSeriesName: string;
carTypeName: string; carTypeName: string;
accountCount: number; // region 前端扩展定义属性及方法区
vehicleId: number;
browserHistoryCount: number;
// endregion // endregion
} }
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
/** /**
*/ */
export class DashboardStat { export class DashboardStat {
// 待入库 auctionStat: CountStat;
inventoryCount: number;
// 待维护
venueCount: number;
// 已成交 // 已成交
completedCount: number; completedCount: number;
// 待入库
vehicleStat: CountStat; inventoryCount: number;
auctionStat: CountStat;
orderStat: CountStat; orderStat: CountStat;
transactionStat: CountStat; transactionStat: CountStat;
vehicleStat: CountStat;
// 待维护
venueCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
} }
export class CountStat { export class CountStat {
totalCount: number;
thisWeekCount: number;
lastWeekCount: number; lastWeekCount: number;
thisMonthCount: number;
thisWeekCount: number;
todayCount: number; todayCount: number;
totalCount: number;
yesterdayCount: number; yesterdayCount: number;
thisMonthCount: number;
} }
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
/** /**
*/ */
export class DateCount { export class DateCount {
count: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
date: string; date: string;
count: number;
// endregion // endregion
} }
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -13,7 +12,7 @@ export class DateValue { ...@@ -13,7 +12,7 @@ export class DateValue {
/** /**
* 数值 * 数值
*/ */
value: Number; value: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,25 +5,25 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,25 +5,25 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class FinanceStat { export class FinanceStat {
/** /**
* 总成交金额 * 平均利润
*/ */
totalAmount: number; avgProfit: number;
/** /**
* 已成交车辆数 * 平均购买价格
*/ */
transferredVehicleCount: number; avgPurchasePrice: number;
/** /**
* 总利润 * 总成交金额
*/ */
totalProfit: number; totalAmount: number;
/** /**
* 平均利润 * 总利润
*/ */
avgProfit: number; totalProfit: number;
/** /**
* 平均购买价格 * 已成交车辆数
*/ */
avgPurchasePrice: number; transferredVehicleCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -11,7 +9,7 @@ export class IndexValue { ...@@ -11,7 +9,7 @@ export class IndexValue {
index: number; index: number;
/** /**
*/ */
value: Number; value: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,16 +6,16 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,16 +6,16 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class NameCount { export class NameCount {
/** /**
* 数量
*/
count: number;
/**
*/ */
id: number; id: number;
/** /**
* 名字 * 名字
*/ */
name: string; name: string;
/**
* 数量
*/
count: Number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
/** /**
* 利润构成 * 利润构成
*/ */
/* eslint-disable */
export class ProfitRadioProjection { export class ProfitRadioProjection {
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,19 +6,19 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,19 +6,19 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
export class ProvinceRate { export class ProvinceRate {
/** /**
*/ */
provinceCode: string; accountCount: number;
/**
*/
accountCount: number; accountCount: number;
/** /**
*/ */
browserHistoryCount: number; browserHistoryCount: number;
// region 前端扩展定义属性及方法区 browserHistoryCount: number;
provinceCode: string;
accountCount: number; /**
*/
provinceCode: string;
browserHistoryCount: number; // region 前端扩展定义属性及方法区
provinceCode: string;
// endregion // endregion
} }
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,16 +7,16 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,16 +7,16 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
export class TimePeriod { export class TimePeriod {
/** /**
*/ */
startTime: Dayjs | string; bidCount: number;
/** /**
*/ */
endTime: Dayjs | string; endTime: Dayjs | string;
/** /**
*/ */
viewCount: number; startTime: Dayjs | string;
/** /**
*/ */
bidCount: number; viewCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Auction } from "../../auction/entity/Auction";
// region 前端扩展导入包 // region 前端扩展导入包
import { Auction_AuctionState, Auction_AuctionType } from "../../auction/entity/Auction"; import { Auction_AuctionState, Auction_AuctionType } from "../../auction/entity/Auction";
// endregion // endregion
...@@ -9,36 +8,28 @@ import { Auction_AuctionState, Auction_AuctionType } from "../../auction/entity/ ...@@ -9,36 +8,28 @@ import { Auction_AuctionState, Auction_AuctionType } from "../../auction/entity/
*/ */
export class AuctionControl { export class AuctionControl {
/** /**
* 总参拍人数
*/ */
auctionId: number; accountCount: number;
/**
* 场次名称
*/
auctionName: string;
/** /**
* 拍卖开始时间 * 已拍数量
*/ */
auctionStartTime: Dayjs | string; auctionedCount: number;
/** /**
* 拍卖结束时间 * 拍卖结束时间
*/ */
auctionEndTime: Dayjs | string; auctionEndTime: Dayjs | string;
/** /**
* 车辆数量
*/ */
vehicleCount: number; auctionId: number;
/**
* 已拍数量
*/
auctionedCount: number;
/** /**
* 总参拍人数 * 场次名称
*/ */
accountCount: number; auctionName: string;
/** /**
* 实时成交额 * 拍卖开始时间
*/ */
transactionVolume: number; auctionStartTime: Dayjs | string;
/** /**
* 拍卖状态 * 拍卖状态
*/ */
...@@ -46,6 +37,14 @@ export class AuctionControl { ...@@ -46,6 +37,14 @@ export class AuctionControl {
/** /**
*/ */
auctionType: Auction_AuctionType; auctionType: Auction_AuctionType;
/**
* 实时成交额
*/
transactionVolume: number;
/**
* 车辆数量
*/
vehicleCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,10 +6,10 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,10 +6,10 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
export class BidOrder { export class BidOrder {
/** /**
*/ */
orderId: number; bidId: number;
/** /**
*/ */
bidId: number; orderId: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -19,11 +17,14 @@ export class DeliveryStatus { ...@@ -19,11 +17,14 @@ export class DeliveryStatus {
*/ */
orderStatus: number; orderStatus: number;
/** /**
* 用于UI界面直接展示的、本地化的状态描述文本。 * remarks
string
可选
交付过程中的备注信息
示例值: 示例值:
准备交付 SRC202410120001
*/ */
statusText: string; remarks: string;
/** /**
* 车源号(平台唯一识别编号) * 车源号(平台唯一识别编号)
示例值: 示例值:
...@@ -31,6 +32,12 @@ SRC202410120001 ...@@ -31,6 +32,12 @@ SRC202410120001
*/ */
sourceNo: string; sourceNo: string;
/** /**
* 用于UI界面直接展示的、本地化的状态描述文本。
示例值:
准备交付
*/
statusText: string;
/**
* vin * vin
string string
车辆的车架号 车辆的车架号
...@@ -39,15 +46,6 @@ string ...@@ -39,15 +46,6 @@ string
LSVXN65N0E2031152 LSVXN65N0E2031152
*/ */
vin: string; vin: string;
/**
* remarks
string
可选
交付过程中的备注信息
示例值:
SRC202410120001
*/
remarks: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { ContractTemplate } from "../../auction/entity/ContractTemplate";
// region 前端扩展导入包 // region 前端扩展导入包
import { ContractTemplate_TemplateType } from "../../auction/entity/ContractTemplate"; import { ContractTemplate_TemplateType } from "../../auction/entity/ContractTemplate";
// endregion // endregion
...@@ -10,19 +7,19 @@ import { ContractTemplate_TemplateType } from "../../auction/entity/ContractTemp ...@@ -10,19 +7,19 @@ import { ContractTemplate_TemplateType } from "../../auction/entity/ContractTemp
export class SignOrder { export class SignOrder {
/** /**
*/ */
orderId: number; accountName: string;
/** /**
*/ */
templateType: ContractTemplate_TemplateType; idCard: string;
/** /**
*/ */
accountName: string; mobile: string;
/** /**
*/ */
mobile: string; orderId: number;
/** /**
*/ */
idCard: string; templateType: ContractTemplate_TemplateType;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User";
import { AuctionOrder } from "./AuctionOrder";
// region 前端扩展导入包 // region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { Diction } from "autumn-vue/lib/core/dictionary/Diction"; import { Diction } from "autumn-vue/lib/core/dictionary/Diction";
import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User";
import { AuctionOrder } from "./AuctionOrder";
// endregion // endregion
/** /**
...@@ -12,18 +12,6 @@ import { Diction } from "autumn-vue/lib/core/dictionary/Diction"; ...@@ -12,18 +12,6 @@ import { Diction } from "autumn-vue/lib/core/dictionary/Diction";
*/ */
export class Appeal extends AuditingTimeEntity { export class Appeal extends AuditingTimeEntity {
/** /**
* APPEAL_ID
*/
appealId: number;
/**
* ORDER_ID
*/
auctionOrder: AuctionOrder;
/**
* 处理专员
*/
user: User;
/**
* 申诉单号 * 申诉单号
*/ */
appealCode: string; appealCode: string;
...@@ -32,33 +20,29 @@ export class Appeal extends AuditingTimeEntity { ...@@ -32,33 +20,29 @@ export class Appeal extends AuditingTimeEntity {
*/ */
appealContent: string; appealContent: string;
/** /**
* APPEAL_ID
*/
appealId: number;
/**
* 申诉原因 * 申诉原因
*/ */
appealReason: Diction; appealReason: Diction;
/** /**
* 附件 * 申诉裁决结果
*/ */
attachments: FileInfo[]; appealResult: Appeal_AppealResult;
/** /**
* 申诉状态 * 申诉状态
*/ */
appealState: Appeal_AppealState; appealState: Appeal_AppealState;
/** /**
* 备注 * 附件
*/
remark: string;
/**
* 申诉裁决结果
*/
appealResult: Appeal_AppealResult;
/**
* 解决方案
*/ */
solution: Appeal_Solution; attachments: FileInfo[];
/** /**
* 解决方案说明 * ORDER_ID
*/ */
solutionDesc: string; auctionOrder: AuctionOrder;
/** /**
* 补偿金额 * 补偿金额
*/ */
...@@ -71,6 +55,22 @@ export class Appeal extends AuditingTimeEntity { ...@@ -71,6 +55,22 @@ export class Appeal extends AuditingTimeEntity {
* 退款金额 * 退款金额
*/ */
refundAmount: number; refundAmount: number;
/**
* 备注
*/
remark: string;
/**
* 解决方案
*/
solution: Appeal_Solution;
/**
* 解决方案说明
*/
solutionDesc: string;
/**
* 处理专员
*/
user: User;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -81,8 +81,8 @@ export class Appeal extends AuditingTimeEntity { ...@@ -81,8 +81,8 @@ export class Appeal extends AuditingTimeEntity {
* PROCESSING 处理中 * PROCESSING 处理中
* CLOSED 已关闭 * CLOSED 已关闭
*/ */
export type Appeal_AppealState = "ACCEPTANCE" | "PROCESSING" | "CLOSED"; export type Appeal_AppealState = "ACCEPTANCE" | "CLOSED" | "PROCESSING";
export const APPEAL_APPEAL_STATES = ["ACCEPTANCE", "PROCESSING", "CLOSED"]; export const APPEAL_APPEAL_STATES = [ "ACCEPTANCE", "PROCESSING", "CLOSED" ];
/** /**
* 申诉裁决结果 * 申诉裁决结果
...@@ -91,8 +91,8 @@ export const APPEAL_APPEAL_STATES = ["ACCEPTANCE", "PROCESSING", "CLOSED"]; ...@@ -91,8 +91,8 @@ export const APPEAL_APPEAL_STATES = ["ACCEPTANCE", "PROCESSING", "CLOSED"];
* MUTUAL 双方责任 * MUTUAL 双方责任
* PLATFORM 平台责任 * PLATFORM 平台责任
*/ */
export type Appeal_AppealResult = "SELLER" | "BUYER" | "MUTUAL" | "PLATFORM"; export type Appeal_AppealResult = "BUYER" | "MUTUAL" | "PLATFORM" | "SELLER";
export const APPEAL_APPEAL_RESULTS = ["SELLER", "BUYER", "MUTUAL", "PLATFORM"]; export const APPEAL_APPEAL_RESULTS = [ "SELLER", "BUYER", "MUTUAL", "PLATFORM" ];
/** /**
* DEPOSIT 扣除保证金 * DEPOSIT 扣除保证金
...@@ -100,5 +100,5 @@ export const APPEAL_APPEAL_RESULTS = ["SELLER", "BUYER", "MUTUAL", "PLATFORM"]; ...@@ -100,5 +100,5 @@ export const APPEAL_APPEAL_RESULTS = ["SELLER", "BUYER", "MUTUAL", "PLATFORM"];
* RETURN 支持退车 * RETURN 支持退车
* REJECT 驳回申诉 * REJECT 驳回申诉
*/ */
export type Appeal_Solution = "DEPOSIT" | "COMPENSATION" | "RETURN" | "REJECT"; export type Appeal_Solution = "COMPENSATION" | "DEPOSIT" | "REJECT" | "RETURN";
export const APPEAL_SOLUTIONS = ["DEPOSIT", "COMPENSATION", "RETURN", "REJECT"]; export const APPEAL_SOLUTIONS = [ "DEPOSIT", "COMPENSATION", "RETURN", "REJECT" ];
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditState } from "../../enum_types";
import { User } from "../../security/entity/User"; import { User } from "../../security/entity/User";
import { Vehicle } from "../../vehicle/entity/Vehicle"; import { Vehicle } from "../../vehicle/entity/Vehicle";
import { AuditState } from "../../enum_types";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -11,35 +11,35 @@ import { AuditState } from "../../enum_types"; ...@@ -11,35 +11,35 @@ import { AuditState } from "../../enum_types";
*/ */
export class AppraisePrice extends AuditingEntity { export class AppraisePrice extends AuditingEntity {
/** /**
* 评估备注
*/ */
appraiseId: number; appraisalRemark: string;
/** /**
*/ */
vehicle: Vehicle; appraiseId: number;
/** /**
* 申请人 * 审核状态(待评估已驳回已评估待审核)
*/ */
user: User; auditState: AuditState;
/** /**
* 起拍价 * 基础参考价(=市场参考价)
*/ */
startingBidPrice: number; referencePrice: number;
/** /**
* 保留价 * 保留价
*/ */
reservePrice: number; reservePrice: number;
/** /**
* 基础参考价(=市场参考价) * 起拍价
*/ */
referencePrice: number; startingBidPrice: number;
/** /**
* 评估备注 * 申请人
*/ */
appraisalRemark: string; user: User;
/** /**
* 审核状态(待评估已驳回已评估待审核)
*/ */
auditState: AuditState; vehicle: Vehicle;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User";
import { AuctionVehicle } from "./AuctionVehicle";
import { AuctionOrder } from "./AuctionOrder";
import { AccountTag } from "../../account/entity/AccountTag"; import { AccountTag } from "../../account/entity/AccountTag";
import { AuditState } from "../../enum_types"; import { AuditState } from "../../enum_types";
import { User } from "../../security/entity/User";
import { AuctionOrder } from "./AuctionOrder";
import { AuctionVehicle } from "./AuctionVehicle";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -13,114 +14,114 @@ import { AuditState } from "../../enum_types"; ...@@ -13,114 +14,114 @@ import { AuditState } from "../../enum_types";
*/ */
export class Auction extends AuditingEntity { export class Auction extends AuditingEntity {
/** /**
* AUCTION_ID * 访问范围
*/
auctionId: number;
/**
* 管理员
*/ */
user: User; accessScope: Auction_AccessScope;
/** /**
* 场次名称 * 总参拍人数
*/ */
auctionName: string; accountCount: number;
/** /**
* 简称 * 拍场关联用户标签
*/ */
shortName: string; accountTags: AccountTag[];
/** /**
* 车辆数量 * 拍卖日期
*/ */
vehicleCount: number; auctionDate: Dayjs | string;
/** /**
* 已拍数量 * 已拍数量
*/ */
auctionedCount: number; auctionedCount: number;
/** /**
* 总出价次数 * 拍卖结束时间
*/
bidCount: number;
/**
* 总参拍人数
*/ */
accountCount: number; auctionEndTime: Dayjs | string;
/** /**
* 拍卖日期 * AUCTION_ID
*/ */
auctionDate: Dayjs | string; auctionId: number;
/** /**
* 是否明拍 * 场次名称
*/ */
auctionType: Auction_AuctionType; auctionName: string;
/** /**
* 预展开始时间 * auction_order
*/ */
previewStartTime: Dayjs | string; auctionOrders: AuctionOrder[];
/** /**
* 拍卖开始时间 * 拍卖开始时间
*/ */
auctionStartTime: Dayjs | string; auctionStartTime: Dayjs | string;
/** /**
* 拍卖结束时间 * 状态
*/ */
auctionEndTime: Dayjs | string; auctionState: Auction_AuctionState;
/** /**
* 保证金 * 是否明拍
*/ */
deposit: number; auctionType: Auction_AuctionType;
/**
* auction_vehicle
*/
auctionVehicles: AuctionVehicle[];
/**
* 审核状态(待评估已驳回已评估待审核)
*/
auditState: AuditState;
/** /**
* 预计结束前(分钟) * 预计结束前(分钟)
*/ */
beforeEndMinute: number; beforeEndMinute: number;
/** /**
* 自动化延时(分钟) * 总出价次数
*/ */
delayMinute: number; bidCount: number;
/** /**
* 可参拍城市 * 围观人数
*/ */
cities: string[]; browsingCount: number;
/** /**
* 状态 * 可参拍城市
*/ */
auctionState: Auction_AuctionState; cities: string[];
/** /**
* 审核状态(待评估已驳回已评估待审核) * 自动化延时(分钟)
*/ */
auditState: AuditState; delayMinute: number;
/** /**
* 拍场说明 * 保证金
*/ */
remark: string; deposit: number;
// region 前端扩展定义属性及方法区
// auctionDateRange: any[];
// 持续分钟
durationMinute: number;
/** /**
* 实时成交额 * 预展开始时间
*/ */
transactionVolume: number; previewStartTime: Dayjs | string;
/** /**
* 访问范围 * 拍场说明
*/ */
accessScope: Auction_AccessScope; remark: string;
/** /**
* auction_order * 简称
*/ */
auctionOrders: AuctionOrder[]; shortName: string;
/** /**
* auction_vehicle * 实时成交额
*/ */
auctionVehicles: AuctionVehicle[]; transactionVolume: number;
/** /**
* 拍场关联用户标签 * 管理员
*/ */
accountTags: AccountTag[]; user: User;
/** /**
* 围观人数 * 车辆数量
*/ */
browsingCount: number; vehicleCount: number;
// region 前端扩展定义属性及方法区
// auctionDateRange: any[];
//持续分钟
durationMinute: number;
// endregion // endregion
} }
...@@ -128,8 +129,8 @@ export class Auction extends AuditingEntity { ...@@ -128,8 +129,8 @@ export class Auction extends AuditingEntity {
* LIGHT 明拍 * LIGHT 明拍
* DARK 暗拍 * DARK 暗拍
*/ */
export type Auction_AuctionType = "LIGHT" | "DARK"; export type Auction_AuctionType = "DARK" | "LIGHT";
export const AUCTION_AUCTION_TYPES = ["LIGHT", "DARK"]; export const AUCTION_AUCTION_TYPES = [ "LIGHT", "DARK" ];
/** /**
* PENDING_AUCTION 待上拍 * PENDING_AUCTION 待上拍
...@@ -140,12 +141,12 @@ export const AUCTION_AUCTION_TYPES = ["LIGHT", "DARK"]; ...@@ -140,12 +141,12 @@ export const AUCTION_AUCTION_TYPES = ["LIGHT", "DARK"];
* CANCELLED 已取消 * CANCELLED 已取消
*/ */
export type Auction_AuctionState = export type Auction_AuctionState =
| "PENDING_AUCTION"
| "WAIT_AUCTION"
| "PREVIEW"
| "AUCTIONING" | "AUCTIONING"
| "CANCELLED"
| "CLOSED" | "CLOSED"
| "CANCELLED"; | "PENDING_AUCTION"
| "PREVIEW"
| "WAIT_AUCTION";
export const AUCTION_AUCTION_STATES = [ export const AUCTION_AUCTION_STATES = [
"PENDING_AUCTION", "PENDING_AUCTION",
"WAIT_AUCTION", "WAIT_AUCTION",
...@@ -160,4 +161,4 @@ export const AUCTION_AUCTION_STATES = [ ...@@ -160,4 +161,4 @@ export const AUCTION_AUCTION_STATES = [
* TAGS 按标签 * TAGS 按标签
*/ */
export type Auction_AccessScope = "GLOBAL" | "TAGS"; export type Auction_AccessScope = "GLOBAL" | "TAGS";
export const AUCTION_ACCESS_SCOPES = ["GLOBAL", "TAGS"]; export const AUCTION_ACCESS_SCOPES = [ "GLOBAL", "TAGS" ];
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User";
import { AuditState } from "../../enum_types"; import { AuditState } from "../../enum_types";
import { User } from "../../security/entity/User";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -9,11 +9,19 @@ import { AuditState } from "../../enum_types"; ...@@ -9,11 +9,19 @@ import { AuditState } from "../../enum_types";
*/ */
export class AuctionBaseChange extends AuditingEntity { export class AuctionBaseChange extends AuditingEntity {
/** /**
* 审核备注
*/ */
changeId: number; auditRemark: string;
/** /**
*/ */
user: User; auditState: AuditState;
/**
* 中止分类
*/
category: Diction;
/**
*/
changeId: number;
/** /**
* 变更类型 * 变更类型
*/ */
...@@ -22,25 +30,17 @@ export class AuctionBaseChange extends AuditingEntity { ...@@ -22,25 +30,17 @@ export class AuctionBaseChange extends AuditingEntity {
* 延时 * 延时
*/ */
delay: number; delay: number;
/** // region 前端扩展定义属性及方法区
* 中止分类 delayHour: number;
*/ delayMinute: number;
category: Diction;
/** /**
* 申请备注 * 申请备注
*/ */
remark: string; remark: string;
/** /**
* 审核备注
*/
auditRemark: string;
/**
*/ */
auditState: AuditState; user: User;
// region 前端扩展定义属性及方法区
delayHour: number;
delayMinute: number;
// endregion // endregion
} }
...@@ -48,5 +48,5 @@ export class AuctionBaseChange extends AuditingEntity { ...@@ -48,5 +48,5 @@ export class AuctionBaseChange extends AuditingEntity {
* DELAY 延时申请 * DELAY 延时申请
* CANCEL 中止申请 * CANCEL 中止申请
*/ */
export type AuctionBaseChange_ChangeType = "DELAY" | "CANCEL"; export type AuctionBaseChange_ChangeType = "CANCEL" | "DELAY";
export const AUCTION_BASE_CHANGE_CHANGE_TYPES = ["DELAY", "CANCEL"]; export const AUCTION_BASE_CHANGE_CHANGE_TYPES = [ "DELAY", "CANCEL" ];
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Auction } from "./Auction"; import { Auction } from "./Auction";
import { AuctionBaseChange } from "./AuctionBaseChange"; import { AuctionBaseChange } from "./AuctionBaseChange";
// region 前端扩展导入包 // region 前端扩展导入包
......
// region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Auction } from "./Auction";
import { Appeal } from "./Appeal";
import { Vehicle } from "../../vehicle/entity/Vehicle";
import { Account } from "../../account/entity/Account"; import { Account } from "../../account/entity/Account";
import { Contract } from "./Contract";
import { AuditState } from "../../enum_types"; import { AuditState } from "../../enum_types";
// region 前端扩展导入包 import { Vehicle } from "../../vehicle/entity/Vehicle";
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { Appeal } from "./Appeal";
import { Auction } from "./Auction";
import { Contract } from "./Contract";
// endregion // endregion
/** /**
...@@ -15,89 +16,89 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; ...@@ -15,89 +16,89 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
*/ */
export class AuctionOrder extends AuditingEntity { export class AuctionOrder extends AuditingEntity {
/** /**
* ORDER_ID
*/
orderId: number;
/**
* ACCOUNT_ID * ACCOUNT_ID
*/ */
account: Account; account: Account;
/** /**
* VEHICLE_ID * appeal
*/ */
vehicle: Vehicle; appeals: Appeal[];
/** /**
* AUCTION_ID * AUCTION_ID
*/ */
auction: Auction; auction: Auction;
/** /**
* 订单编号 * 审核状态
*/ */
orderCode: string; auditState: AuditState;
/**
* 取消原因
*/
cancelReason: string;
/**
* 佣金
*/
commissionPrice: number;
/**
* 拍卖合同
*/
contract: Contract;
/** /**
* 提车码 * 提车码
*/ */
deliveryCode: string; deliveryCode: string;
/** /**
* 交付合同
*/
deliveryContract: Contract;
/**
* 新车牌号 * 新车牌号
*/ */
newPlateNumber: string; newPlateNumber: string;
/** /**
* 机动车登记证书 * 是否在申诉中
*/ */
registrationCertificate: FileInfo[]; onAppeal: boolean;
/** /**
* 新的机动车行驶证 * 订单编号
*/ */
vehicleLicense: FileInfo[]; orderCode: string;
/**
* ORDER_ID
*/
orderId: number;
/** /**
* 成交价 * 成交价
*/ */
orderPrice: number; orderPrice: number;
/** /**
* 佣金 * 订单状态(待支付|待提车|待过户|申诉中)
*/ */
commissionPrice: number; orderState: AuctionOrder_OrderState;
/** /**
* 支付凭证 * 支付凭证
*/ */
payVouchers: FileInfo[]; payVouchers: FileInfo[];
/** /**
* 是否结算 * 机动车登记证书
*/
settlement: boolean;
/**
* 拍卖合同
*/
contract: Contract;
/**
* 交付合同
*/
deliveryContract: Contract;
/**
* 审核状态
*/ */
auditState: AuditState; registrationCertificate: FileInfo[];
/** /**
* 订单状态(待支付|待提车|待过户|申诉中) * 是否结算
*/ */
orderState: AuctionOrder_OrderState; settlement: boolean;
/** /**
* 过户时间(即成交时间) * 过户时间(即成交时间)
*/ */
transferredTime: Dayjs | string; transferredTime: Dayjs | string;
/** /**
* 是否在申诉中 * VEHICLE_ID
*/
onAppeal: boolean;
/**
* 取消原因
*/ */
cancelReason: string; vehicle: Vehicle;
/** /**
* appeal * 新的机动车行驶证
*/ */
appeals: Appeal[]; vehicleLicense: FileInfo[];
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -113,12 +114,12 @@ export class AuctionOrder extends AuditingEntity { ...@@ -113,12 +114,12 @@ export class AuctionOrder extends AuditingEntity {
* CANCELED 已取消 * CANCELED 已取消
*/ */
export type AuctionOrder_OrderState = export type AuctionOrder_OrderState =
| "CANCELED"
| "COMPLETED"
| "CONTRACT_UNSIGNED" | "CONTRACT_UNSIGNED"
| "UNPAID"
| "WAIT_PICKUP"
| "TRANSFERRING" | "TRANSFERRING"
| "COMPLETED" | "UNPAID"
| "CANCELED"; | "WAIT_PICKUP";
export const AUCTION_ORDER_ORDER_STATES = [ export const AUCTION_ORDER_ORDER_STATES = [
"CONTRACT_UNSIGNED", "CONTRACT_UNSIGNED",
"UNPAID", "UNPAID",
......
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Auction } from "./Auction"; import { AuditState } from "../../enum_types";
import { Vehicle } from "../../vehicle/entity/Vehicle"; import { Vehicle } from "../../vehicle/entity/Vehicle";
import { Auction } from "./Auction";
import { Bid } from "./Bid"; import { Bid } from "./Bid";
import { AuditState } from "../../enum_types";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -12,86 +12,86 @@ import { AuditState } from "../../enum_types"; ...@@ -12,86 +12,86 @@ import { AuditState } from "../../enum_types";
*/ */
export class AuctionVehicle { export class AuctionVehicle {
/** /**
* AUCVEH_ID * 出价用户数
*/ */
aucvehId: number; accountCount: number;
/** /**
* AUCTION_ID * AUCTION_ID
*/ */
auction: Auction; auction: Auction;
/** /**
* VEHICLE_ID * 拍卖结束时间,需要根据规则来进行计算
*/
vehicle: Vehicle;
/**
* 预展开始时间
*/ */
previewStartTime: Dayjs | string; auctionEndTime: Dayjs | string;
auctionEndTimeModified = false;
/** /**
* 拍卖开始时间 * 拍卖开始时间
*/ */
auctionStartTime: Dayjs | string; auctionStartTime: Dayjs | string;
/** auctionStartTimeModified = false;
* 拍卖结束时间,需要根据规则来进行计算
*/
auctionEndTime: Dayjs | string;
/** /**
* 拍卖状态(预展中竞价中已成交) * 拍卖状态(预展中竞价中已成交)
*/ */
auctionState: AuctionVehicle_AuctionState; auctionState: AuctionVehicle_AuctionState;
/** /**
* 出价次数 * AUCVEH_ID
*/ */
bidCount: number; aucvehId: number;
/** /**
* 出价用户数 * 审核状态(待评估已驳回已评估待审核)
*/ */
accountCount: number; auditState: AuditState;
/** /**
* 浏览访问记录数 * 出价次数
*/ */
browserHistoryCount: number; bidCount: number;
/** /**
* 最高价 * 距拍卖结束剩余时间
*/ */
highestPrice: number; bidEndRemaining: number;
/** /**
* 自动化延时(分钟) * bid
*/ */
delayMinute: number; bids: Bid[];
// region 前端扩展定义属性及方法区
/** /**
* 审核状态(待评估已驳回已评估待审核) * 距开拍剩余时间
*/ */
auditState: AuditState; bidStartRemaining: number;
/** /**
* bid * 浏览访问记录数
*/ */
bids: Bid[]; browserHistoryCount: number;
/** /**
* 收藏
*/ */
favorite: boolean; cancelChanging: boolean;
/** /**
* 延时申请中 * 延时申请中
*/ */
delayChanging: boolean; delayChanging: boolean;
/** /**
* 自动化延时(分钟)
*/ */
cancelChanging: boolean; delayMinute: number;
// region 前端扩展定义属性及方法区
/** /**
* 距开拍剩余时间 * 收藏
*/ */
bidStartRemaining: number; favorite: boolean;
/** /**
* 距拍卖结束剩余时间 * 最高价
*/ */
bidEndRemaining: number; highestPrice: number;
/**
* 预展开始时间
*/
previewStartTime: Dayjs | string;
previewStartTimeModified = false; previewStartTimeModified = false;
auctionStartTimeModified = false; /**
auctionEndTimeModified = false; * VEHICLE_ID
*/
vehicle: Vehicle;
// endregion // endregion
} }
...@@ -105,13 +105,13 @@ export class AuctionVehicle { ...@@ -105,13 +105,13 @@ export class AuctionVehicle {
* CANCELLED 已撤消 * CANCELLED 已撤消
*/ */
export type AuctionVehicle_AuctionState = export type AuctionVehicle_AuctionState =
| "AUCTIONING"
| "CANCELLED"
| "PENDING_AUCTION" | "PENDING_AUCTION"
| "WAIT_AUCTION"
| "PREVIEW" | "PREVIEW"
| "AUCTIONING"
| "SOLD" | "SOLD"
| "UNSOLD" | "UNSOLD"
| "CANCELLED"; | "WAIT_AUCTION";
export const AUCTION_VEHICLE_AUCTION_STATES = [ export const AUCTION_VEHICLE_AUCTION_STATES = [
"PENDING_AUCTION", "PENDING_AUCTION",
"WAIT_AUCTION", "WAIT_AUCTION",
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuctionVehicle } from "./AuctionVehicle";
import { AuctionBaseChange } from "./AuctionBaseChange"; import { AuctionBaseChange } from "./AuctionBaseChange";
import { AuctionVehicle } from "./AuctionVehicle";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuctionVehicle } from "./AuctionVehicle";
import { Account } from "../../account/entity/Account"; import { Account } from "../../account/entity/Account";
import { AuctionVehicle } from "./AuctionVehicle";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -10,38 +11,38 @@ import { Account } from "../../account/entity/Account"; ...@@ -10,38 +11,38 @@ import { Account } from "../../account/entity/Account";
*/ */
export class Bid extends AuditingTimeEntity { export class Bid extends AuditingTimeEntity {
/** /**
* BID_ID * ACCOUNT_ID
*/ */
bidId: number; account: Account;
/** /**
* AUCVEH_ID * 延时结束时间
*/ */
auctionVehicle: AuctionVehicle; auctionEndTime: Dayjs | string;
/** /**
* ACCOUNT_ID * AUCVEH_ID
*/ */
account: Account; auctionVehicle: AuctionVehicle;
/** /**
* 竞价号 * 竞价号
*/ */
bidCode: string; bidCode: string;
// region 前端扩展定义属性及方法区
/** /**
* 出价金额 * 距拍卖结束剩余时间
*/ */
bidPrice: number; bidEndRemaining;
/** /**
* 是否成交 * BID_ID
*/ */
deal: boolean; bidId: number;
/** /**
* 延时结束时间 * 出价金额
*/ */
auctionEndTime: Dayjs | string; bidPrice: number;
// region 前端扩展定义属性及方法区
/** /**
* 距拍卖结束剩余时间 * 是否成交
*/ */
bidEndRemaining; deal: boolean;
// endregion // endregion
} }
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuctionOrder } from "./AuctionOrder"; import { AuctionOrder } from "./AuctionOrder";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -9,10 +9,10 @@ import { AuctionOrder } from "./AuctionOrder"; ...@@ -9,10 +9,10 @@ import { AuctionOrder } from "./AuctionOrder";
export class BreachRecord extends AuditingEntity { export class BreachRecord extends AuditingEntity {
/** /**
*/ */
breachId: number; auctionOrder: AuctionOrder;
/** /**
*/ */
auctionOrder: AuctionOrder; breachId: number;
/** /**
* 违约场景 * 违约场景
*/ */
...@@ -22,12 +22,12 @@ export class BreachRecord extends AuditingEntity { ...@@ -22,12 +22,12 @@ export class BreachRecord extends AuditingEntity {
*/ */
depositDeduct: number; depositDeduct: number;
/** /**
* 违约备注
*/ */
remark: string; depositId: number;
/** /**
* 违约备注
*/ */
depositId: number; remark: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -39,5 +39,5 @@ export class BreachRecord extends AuditingEntity { ...@@ -39,5 +39,5 @@ export class BreachRecord extends AuditingEntity {
* PAY_TIMEOUT 超时未支付车款 * PAY_TIMEOUT 超时未支付车款
* OTHER 其它(请在备注中说明) * OTHER 其它(请在备注中说明)
*/ */
export type BreachRecord_BreachScene = "PAY_DEPOSIT_TIMEOUT" | "REGRET" | "PAY_TIMEOUT" | "OTHER"; export type BreachRecord_BreachScene = "OTHER" | "PAY_DEPOSIT_TIMEOUT" | "PAY_TIMEOUT" | "REGRET";
export const BREACH_RECORD_BREACH_SCENES = ["PAY_DEPOSIT_TIMEOUT", "REGRET", "PAY_TIMEOUT", "OTHER"]; export const BREACH_RECORD_BREACH_SCENES = [ "PAY_DEPOSIT_TIMEOUT", "REGRET", "PAY_TIMEOUT", "OTHER" ];
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuctionOrder } from "./AuctionOrder"; import { AuctionOrder } from "./AuctionOrder";
import { ContractTemplate } from "./ContractTemplate";
// region 前端扩展导入包 // region 前端扩展导入包
import { ContractTemplate_TemplateType } from "./ContractTemplate"; import { ContractTemplate_TemplateType } from "./ContractTemplate";
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
// endregion // endregion
/** /**
...@@ -12,9 +12,9 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; ...@@ -12,9 +12,9 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
*/ */
export class Contract extends AuditingTimeEntity { export class Contract extends AuditingTimeEntity {
/** /**
* CONTRACT_ID * 签署人
*/ */
contractId: number; accountName: string;
/** /**
* 关联订单 * 关联订单
*/ */
...@@ -24,53 +24,53 @@ export class Contract extends AuditingTimeEntity { ...@@ -24,53 +24,53 @@ export class Contract extends AuditingTimeEntity {
*/ */
contractCode: string; contractCode: string;
/** /**
* 合同名称 * 合同内容
*/
contractName: string;
/**
* 签署人
*/ */
accountName: string; contractContent: string;
/** /**
* 签署人手机号 * 合同附件
*/ */
mobile: string; contractFiles: FileInfo[];
/** /**
* 签署人身份证 * CONTRACT_ID
*/ */
idCard: string; contractId: number;
/** /**
* 合同类型 * 合同名称
*/ */
templateType: ContractTemplate_TemplateType; contractName: string;
/** /**
* 合同内容 * e签宝文件ID
*/ */
contractContent: string; fileId: string;
/** /**
* 合同附件 * 合同附件路径(本地临时文件路径)
*/ */
contractFiles: FileInfo[]; filePath: string;
/** /**
* e签宝文件ID * 签署人身份证
*/ */
fileId: string; idCard: string;
/** /**
* 合同签署流程ID * 签署人手机号
*/ */
signFlowId: string; mobile: string;
/** /**
* 合同是否已签署 * 合同是否已签署
*/ */
signed: boolean; signed: boolean;
/** /**
* 合同签署流程ID
*/
signFlowId: string;
/**
* 合同签署时间 * 合同签署时间
*/ */
signTime: Dayjs | string; signTime: Dayjs | string;
/** /**
* 合同附件路径(本地临时文件路径) * 合同类型
*/ */
filePath: string; templateType: ContractTemplate_TemplateType;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,6 +7,18 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,6 +7,18 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class ContractTemplate extends AuditingEntity { export class ContractTemplate extends AuditingEntity {
/** /**
* 启用状态
*/
enabled: boolean;
/**
* 易签宝ID
*/
esignId: string;
/**
* 合同内容
*/
templateContent: string;
/**
* TEMPLATE_ID * TEMPLATE_ID
*/ */
templateId: number; templateId: number;
...@@ -20,25 +31,13 @@ export class ContractTemplate extends AuditingEntity { ...@@ -20,25 +31,13 @@ export class ContractTemplate extends AuditingEntity {
*/ */
templateType: ContractTemplate_TemplateType; templateType: ContractTemplate_TemplateType;
/** /**
* 合同内容
*/
templateContent: string;
/**
* 版本说明
*/
versionDesc: string;
/**
* 版本号 * 版本号
*/ */
versionCode: number; versionCode: number;
/** /**
* 启用状态 * 版本说明
*/
enabled: boolean;
/**
* 易签宝ID
*/ */
esignId: string; versionDesc: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -49,4 +48,4 @@ export class ContractTemplate extends AuditingEntity { ...@@ -49,4 +48,4 @@ export class ContractTemplate extends AuditingEntity {
* DELIVERY 交付合同 * DELIVERY 交付合同
*/ */
export type ContractTemplate_TemplateType = "AUCTION" | "DELIVERY"; export type ContractTemplate_TemplateType = "AUCTION" | "DELIVERY";
export const CONTRACT_TEMPLATE_TEMPLATE_TYPES = ["AUCTION", "DELIVERY"]; export const CONTRACT_TEMPLATE_TEMPLATE_TYPES = [ "AUCTION", "DELIVERY" ];
// region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User"; import { User } from "../../security/entity/User";
import { AuctionOrder } from "./AuctionOrder"; import { AuctionOrder } from "./AuctionOrder";
// region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
// endregion // endregion
/** /**
...@@ -11,69 +12,69 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; ...@@ -11,69 +12,69 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
*/ */
export class DeliveryOrder extends AuditingTimeEntity { export class DeliveryOrder extends AuditingTimeEntity {
/** /**
* ORDER_ID * 预约时间
*/ */
deliveryOrderId: number; appointmentTime: Dayjs | string;
/** /**
* AUCTION_ID * 指派时间
*/ */
auctionOrder: AuctionOrder; assignedTime: Dayjs | string;
/** /**
* AUCTION_ID * AUCTION_ID
*/ */
user: User; auctionOrder: AuctionOrder;
/**
* 工单状态
*/
orderState: DeliveryOrder_OrderState;
/**
* 备注
*/
remark: string;
/** /**
* 预约时间 * 取消原因
*/ */
appointmentTime: Dayjs | string; cancelReason: string;
/** /**
* 指派时间 * 交付车辆所有权证及登记证
*/ */
assignedTime: Dayjs | string; checkCertificate: boolean;
/** /**
* 凭证 * 签署车辆交接确认单
*/ */
vouchers: FileInfo[]; checkHandover: boolean;
/** /**
* 核验买家身份证原件 * 核验买家身份证原件
*/ */
checkIdCard: boolean; checkIdCard: boolean;
/** /**
* 签署车辆交接确认单
*/
checkHandover: boolean;
/**
* 交付车辆钥匙(主/备) * 交付车辆钥匙(主/备)
*/ */
checkKey: boolean; checkKey: boolean;
/** /**
* 交付车辆所有权证及登记证 * ORDER_ID
*/ */
checkCertificate: boolean; deliveryOrderId: number;
/**
* 工单状态
*/
orderState: DeliveryOrder_OrderState;
/** /**
* 交付工单的当前状态:准备交付/交付中/过户中/已完成/已取消 * 交付工单的当前状态:准备交付/交付中/过户中/已完成/已取消
*/ */
orderStatus: number; orderStatus: number;
/** /**
* 用于UI界面直接展示的、本地化的状态描述文本。 * 备注
*/ */
statusText: string; remark: string;
/** /**
* 交付过程中的备注信息 * 交付过程中的备注信息
*/ */
remarks: string; remarks: string;
/** /**
* 取消原因 * 用于UI界面直接展示的、本地化的状态描述文本。
*/ */
cancelReason: string; statusText: string;
/**
* AUCTION_ID
*/
user: User;
/**
* 凭证
*/
vouchers: FileInfo[];
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -85,5 +86,5 @@ export class DeliveryOrder extends AuditingTimeEntity { ...@@ -85,5 +86,5 @@ export class DeliveryOrder extends AuditingTimeEntity {
* DELIVERED 已交付 * DELIVERED 已交付
* CANCELLED 已取消 * CANCELLED 已取消
*/ */
export type DeliveryOrder_OrderState = "UNASSIGNED" | "UNDELIVERED" | "DELIVERED" | "CANCELLED"; export type DeliveryOrder_OrderState = "CANCELLED" | "DELIVERED" | "UNASSIGNED" | "UNDELIVERED";
export const DELIVERY_ORDER_ORDER_STATES = ["UNASSIGNED", "UNDELIVERED", "DELIVERED", "CANCELLED"]; export const DELIVERY_ORDER_ORDER_STATES = [ "UNASSIGNED", "UNDELIVERED", "DELIVERED", "CANCELLED" ];
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User";
import { Vehicle } from "../../vehicle/entity/Vehicle";
// region 前端扩展导入包 // region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User";
import { Vehicle } from "../../vehicle/entity/Vehicle";
// endregion // endregion
/** /**
...@@ -11,41 +11,41 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; ...@@ -11,41 +11,41 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
*/ */
export class ReleaseOrder extends AuditingEntity { export class ReleaseOrder extends AuditingEntity {
/** /**
* ORDER_ID * 图片
*/ */
orderId: number; attachments: FileInfo[];
/** /**
* ACCOUNT_ID * 抵押银行
*/ */
vehicle: Vehicle; bank: string;
/** /**
* 处理专员 * 联系电话
*/ */
user: User; contactNumber: string;
/** /**
* 无注释 * 无注释
*/ */
orderCode: string; orderCode: string;
/** /**
* 抵押银行 * ORDER_ID
*/ */
bank: string; orderId: number;
/** /**
* 备注 * 订单状态(待支付|待提车|待过户|申诉中)
*/ */
remark: string; orderState: ReleaseOrder_OrderState;
/** /**
* 联系电话 * 备注
*/ */
contactNumber: string; remark: string;
/** /**
* 图片 * 处理专员
*/ */
attachments: FileInfo[]; user: User;
/** /**
* 订单状态(待支付|待提车|待过户|申诉中) * ACCOUNT_ID
*/ */
orderState: ReleaseOrder_OrderState; vehicle: Vehicle;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -59,11 +59,11 @@ export class ReleaseOrder extends AuditingEntity { ...@@ -59,11 +59,11 @@ export class ReleaseOrder extends AuditingEntity {
* CLOSED 已关闭 * CLOSED 已关闭
*/ */
export type ReleaseOrder_OrderState = export type ReleaseOrder_OrderState =
| "UNASSIGNED"
| "MATERIAL_PREPARATION"
| "BANK_PROCESSING" | "BANK_PROCESSING"
| "CLOSED"
| "COMPLETED" | "COMPLETED"
| "CLOSED"; | "MATERIAL_PREPARATION"
| "UNASSIGNED";
export const RELEASE_ORDER_ORDER_STATES = [ export const RELEASE_ORDER_ORDER_STATES = [
"UNASSIGNED", "UNASSIGNED",
"MATERIAL_PREPARATION", "MATERIAL_PREPARATION",
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { DarkPriceRange } from "./DarkPriceRange"; import { DarkPriceRange } from "./DarkPriceRange";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,17 +5,17 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,17 +5,17 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class DarkPriceRange { export class DarkPriceRange {
/** /**
* 最小价格 * 最高上限,上浮系数
*/ */
minPrice: number; increaseRate: number;
/** /**
* 最大价格 * 最大价格
*/ */
maxPrice: number; maxPrice: number;
/** /**
* 最高上限,上浮系数 * 最小价格
*/ */
increaseRate: number; minPrice: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { LightPriceRange } from "./LightPriceRange"; import { LightPriceRange } from "./LightPriceRange";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,9 +5,9 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,9 +5,9 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class LightPriceRange { export class LightPriceRange {
/** /**
* 最小价格 * 最大加价
*/ */
minPrice: number; maxIncrease: number;
/** /**
* 最大价格 * 最大价格
*/ */
...@@ -19,9 +17,9 @@ export class LightPriceRange { ...@@ -19,9 +17,9 @@ export class LightPriceRange {
*/ */
minIncrease: number; minIncrease: number;
/** /**
* 最大加价 * 最小价格
*/ */
maxIncrease: number; minPrice: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -12,29 +11,29 @@ export class Agreement extends AuditingEntity { ...@@ -12,29 +11,29 @@ export class Agreement extends AuditingEntity {
*/ */
agreementId: number; agreementId: number;
/** /**
* 协议名称
*/
agreementName: string;
/**
* 协议标识KEY * 协议标识KEY
*/ */
agreementKey: Agreement_AgreementKey; agreementKey: Agreement_AgreementKey;
/** /**
* 版本说明 * 协议名称
*/ */
versionDesc: string; agreementName: string;
/** /**
* 版本号 * 协议状态(草稿/已发布/历史)
*/ */
versionCode: number; agreementState: Agreement_AgreementState;
/** /**
* 协议内容 * 协议内容
*/ */
content: string; content: string;
/** /**
* 协议状态(草稿/已发布/历史) * 版本号
*/ */
agreementState: Agreement_AgreementState; versionCode: number;
/**
* 版本说明
*/
versionDesc: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -50,13 +49,13 @@ export class Agreement extends AuditingEntity { ...@@ -50,13 +49,13 @@ export class Agreement extends AuditingEntity {
* ABOUT_US 关于我们 * ABOUT_US 关于我们
*/ */
export type Agreement_AgreementKey = export type Agreement_AgreementKey =
| "ABOUT_US"
| "ACCOUNT"
| "AUCTION" | "AUCTION"
| "TRANSACTION"
| "VIOLATION"
| "CONTRACT" | "CONTRACT"
| "ACCOUNT"
| "PRIVACY" | "PRIVACY"
| "ABOUT_US"; | "TRANSACTION"
| "VIOLATION";
export const AGREEMENT_AGREEMENT_KEYS = [ export const AGREEMENT_AGREEMENT_KEYS = [
"AUCTION", "AUCTION",
"TRANSACTION", "TRANSACTION",
...@@ -72,5 +71,5 @@ export const AGREEMENT_AGREEMENT_KEYS = [ ...@@ -72,5 +71,5 @@ export const AGREEMENT_AGREEMENT_KEYS = [
* PUBLISHED 已发布 * PUBLISHED 已发布
* HISTORY 历史 * HISTORY 历史
*/ */
export type Agreement_AgreementState = "DRAFT" | "PUBLISHED" | "HISTORY"; export type Agreement_AgreementState = "DRAFT" | "HISTORY" | "PUBLISHED";
export const AGREEMENT_AGREEMENT_STATES = ["DRAFT", "PUBLISHED", "HISTORY"]; export const AGREEMENT_AGREEMENT_STATES = [ "DRAFT", "PUBLISHED", "HISTORY" ];
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs";
// endregion // endregion
/** /**
...@@ -21,44 +21,44 @@ export class Carousel extends AuditingEntity { ...@@ -21,44 +21,44 @@ export class Carousel extends AuditingEntity {
*/ */
carouselType: Carousel_CarouselType; carouselType: Carousel_CarouselType;
/** /**
* 排序 * 展示APP
*/ */
sortIndex: number; displayApp: boolean;
/** /**
* 生效日期 * 展示小程序
*/ */
effectiveDate: Dayjs | string; displayMiniapp: boolean;
/** /**
* 过期日期 * 展示WEB网站
*/ */
expireDate: Dayjs | string; displayWeb: boolean;
/** /**
* 轮播图 * 生效日期
*/ */
photos: FileInfo[]; effectiveDate: Dayjs | string;
// region 前端扩展定义属性及方法区
effectiveDateRange: any[];
/** /**
* 链接类型(内部页面/外部链接/不跳转) * 过期日期
*/ */
linkType: Carousel_LinkType; expireDate: Dayjs | string;
/** /**
* 跳转链接 * 跳转链接
*/ */
link: string; link: string;
/** /**
* 展示APP * 链接类型(内部页面/外部链接/不跳转)
*/ */
displayApp: boolean; linkType: Carousel_LinkType;
/** /**
* 展示小程序 * 轮播图
*/ */
displayMiniapp: boolean; photos: FileInfo[];
/** /**
* 展示WEB网站 * 排序
*/ */
displayWeb: boolean; sortIndex: number;
// region 前端扩展定义属性及方法区
effectiveDateRange: any[];
// endregion // endregion
} }
...@@ -66,12 +66,12 @@ export class Carousel extends AuditingEntity { ...@@ -66,12 +66,12 @@ export class Carousel extends AuditingEntity {
* HOMEPAGE 首页轮播图 * HOMEPAGE 首页轮播图
*/ */
export type Carousel_CarouselType = "HOMEPAGE"; export type Carousel_CarouselType = "HOMEPAGE";
export const CAROUSEL_CAROUSEL_TYPES = ["HOMEPAGE"]; export const CAROUSEL_CAROUSEL_TYPES = [ "HOMEPAGE" ];
/** /**
* INTERNAL_PAGE 内部页面 * INTERNAL_PAGE 内部页面
* EXTERNAL_LINK 外部链接 * EXTERNAL_LINK 外部链接
* NO_JUMP 不跳转 * NO_JUMP 不跳转
*/ */
export type Carousel_LinkType = "INTERNAL_PAGE" | "EXTERNAL_LINK" | "NO_JUMP"; export type Carousel_LinkType = "EXTERNAL_LINK" | "INTERNAL_PAGE" | "NO_JUMP";
export const CAROUSEL_LINK_TYPES = ["INTERNAL_PAGE", "EXTERNAL_LINK", "NO_JUMP"]; export const CAROUSEL_LINK_TYPES = [ "INTERNAL_PAGE", "EXTERNAL_LINK", "NO_JUMP" ];
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { NoticeTemplate } from "./NoticeTemplate"; import { NoticeTemplate } from "./NoticeTemplate";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,6 +8,14 @@ import { NoticeTemplate } from "./NoticeTemplate"; ...@@ -8,6 +8,14 @@ import { NoticeTemplate } from "./NoticeTemplate";
*/ */
export class NoticeMessage { export class NoticeMessage {
/** /**
* 请求内容
*/
content: string;
/**
* 推送时间
*/
createTime: Dayjs | string;
/**
*/ */
messageId: number; messageId: number;
/** /**
...@@ -15,29 +23,21 @@ export class NoticeMessage { ...@@ -15,29 +23,21 @@ export class NoticeMessage {
*/ */
noticeTemplate: NoticeTemplate; noticeTemplate: NoticeTemplate;
/** /**
* 推送机器人 * 响应内容
*/
robotId: string;
/**
* 触发事件
*/ */
templateType: NoticeTemplate_TemplateType; response: string;
/** /**
* 推送状态 成功, 失败 * 推送状态 成功, 失败
*/ */
result: boolean; result: boolean;
/** /**
* 请求内容 * 推送机器人
*/
content: string;
/**
* 响应内容
*/ */
response: string; robotId: string;
/** /**
* 推送时间 * 触发事件
*/ */
createTime: Dayjs | string; templateType: NoticeTemplate_TemplateType;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,6 +7,13 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,6 +7,13 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class NoticeTemplate extends AuditingTimeEntity { export class NoticeTemplate extends AuditingTimeEntity {
/** /**
*/
enabled: boolean;
/**
* 模板内容
*/
templateContent: string;
/**
* TEMPLATE_ID * TEMPLATE_ID
*/ */
templateId: number; templateId: number;
...@@ -19,13 +25,6 @@ export class NoticeTemplate extends AuditingTimeEntity { ...@@ -19,13 +25,6 @@ export class NoticeTemplate extends AuditingTimeEntity {
* 模板ID * 模板ID
*/ */
templateType: NoticeTemplate_TemplateType; templateType: NoticeTemplate_TemplateType;
/**
* 模板内容
*/
templateContent: string;
/**
*/
enabled: boolean;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -43,15 +42,15 @@ export class NoticeTemplate extends AuditingTimeEntity { ...@@ -43,15 +42,15 @@ export class NoticeTemplate extends AuditingTimeEntity {
* COMPANY_AUDIT 待办 - 企业⻋商认证审批 * COMPANY_AUDIT 待办 - 企业⻋商认证审批
*/ */
export type NoticeTemplate_TemplateType = export type NoticeTemplate_TemplateType =
| "APPEAL"
| "APPRAISE_PRICE" | "APPRAISE_PRICE"
| "AUCTION_AUDIT" | "AUCTION_AUDIT"
| "AUCTION_CONTROL" | "AUCTION_CONTROL"
| "AUCTION_ORDER" | "AUCTION_ORDER"
| "COMPANY_AUDIT"
| "ORDER_TRANSACTION" | "ORDER_TRANSACTION"
| "TRANSFER_AUDIT"
| "APPEAL"
| "PERSON_AUDIT" | "PERSON_AUDIT"
| "COMPANY_AUDIT"; | "TRANSFER_AUDIT";
export const NOTICE_TEMPLATE_TEMPLATE_TYPES = [ export const NOTICE_TEMPLATE_TEMPLATE_TYPES = [
"APPRAISE_PRICE", "APPRAISE_PRICE",
"AUCTION_AUDIT", "AUCTION_AUDIT",
......
...@@ -8,7 +8,7 @@ Time: 16:21 ...@@ -8,7 +8,7 @@ Time: 16:21
* CUSTOMER 自定义 * CUSTOMER 自定义
*/ */
export type SmsType = "COMMON_VERIFICATION" | "CUSTOMER"; export type SmsType = "COMMON_VERIFICATION" | "CUSTOMER";
export const SMS_TYPES = ["COMMON_VERIFICATION", "CUSTOMER"]; export const SMS_TYPES = [ "COMMON_VERIFICATION", "CUSTOMER" ];
/** /**
* UNAUDITED 待审核 * UNAUDITED 待审核
...@@ -16,8 +16,8 @@ export const SMS_TYPES = ["COMMON_VERIFICATION", "CUSTOMER"]; ...@@ -16,8 +16,8 @@ export const SMS_TYPES = ["COMMON_VERIFICATION", "CUSTOMER"];
* AUDITED 已审核 * AUDITED 已审核
* EXCEPTION 异常 * EXCEPTION 异常
*/ */
export type AuditState = "UNAUDITED" | "REJECTED" | "AUDITED" | "EXCEPTION"; export type AuditState = "AUDITED" | "EXCEPTION" | "REJECTED" | "UNAUDITED";
export const AUDIT_STATES = ["UNAUDITED", "REJECTED", "AUDITED", "EXCEPTION"]; export const AUDIT_STATES = [ "UNAUDITED", "REJECTED", "AUDITED", "EXCEPTION" ];
/** /**
* @author 澄泓 * @author 澄泓
...@@ -28,8 +28,8 @@ export const AUDIT_STATES = ["UNAUDITED", "REJECTED", "AUDITED", "EXCEPTION"]; ...@@ -28,8 +28,8 @@ export const AUDIT_STATES = ["UNAUDITED", "REJECTED", "AUDITED", "EXCEPTION"];
* DELETE null * DELETE null
* PUT null * PUT null
*/ */
export type EsignRequestType = "POST" | "GET" | "DELETE" | "PUT"; export type EsignRequestType = "DELETE" | "GET" | "POST" | "PUT";
export const ESIGN_REQUEST_TYPES = ["POST", "GET", "DELETE", "PUT"]; export const ESIGN_REQUEST_TYPES = [ "POST", "GET", "DELETE", "PUT" ];
/** /**
* @author 澄泓 * @author 澄泓
...@@ -47,13 +47,13 @@ export const ESIGN_REQUEST_TYPES = ["POST", "GET", "DELETE", "PUT"]; ...@@ -47,13 +47,13 @@ export const ESIGN_REQUEST_TYPES = ["POST", "GET", "DELETE", "PUT"];
*/ */
export type EsignHeaderConstant = export type EsignHeaderConstant =
| "ACCEPT" | "ACCEPT"
| "DATE" | "AUTHMODE"
| "HEADERS"
| "CONTENTTYPE_FORMDATA" | "CONTENTTYPE_FORMDATA"
| "CONTENTTYPE_JSON" | "CONTENTTYPE_JSON"
| "CONTENTTYPE_PDF" | "CONTENTTYPE_PDF"
| "CONTENTTYPE_STREAM" | "CONTENTTYPE_STREAM"
| "AUTHMODE"; | "DATE"
| "HEADERS";
export const ESIGN_HEADER_CONSTANTS = [ export const ESIGN_HEADER_CONSTANTS = [
"ACCEPT", "ACCEPT",
"DATE", "DATE",
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,14 +5,14 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,14 +5,14 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class DepositStat { export class DepositStat {
/** /**
* 总金额
*/
totalAmount: number;
/**
* 冻结金额 * 冻结金额
*/ */
freezeAmount: number; freezeAmount: number;
/** /**
* 总金额
*/
totalAmount: number;
/**
* 待审核提现金额 * 待审核提现金额
*/ */
unauditedWithdrawAmount: number; unauditedWithdrawAmount: number;
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -11,6 +9,10 @@ export class OrderTransactionAmountStat { ...@@ -11,6 +9,10 @@ export class OrderTransactionAmountStat {
*/ */
totalAmount: number; totalAmount: number;
/** /**
* 买家违约单
*/
totalCanceledOrderCount: number;
/**
* 平台总收入 * 平台总收入
*/ */
totalCompletedAmount: number; totalCompletedAmount: number;
...@@ -18,10 +20,6 @@ export class OrderTransactionAmountStat { ...@@ -18,10 +20,6 @@ export class OrderTransactionAmountStat {
* 总成交订单数 * 总成交订单数
*/ */
totalCompletedOrderCount: number; totalCompletedOrderCount: number;
/**
* 买家违约单
*/
totalCanceledOrderCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,14 +5,6 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,14 +5,6 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class OrderTransactionStat { export class OrderTransactionStat {
/** /**
* 待审核笔数
*/
unauditedCount: number;
/**
* 待审核总金额
*/
unauditedAmount: number;
/**
* 今日已审核笔数 * 今日已审核笔数
*/ */
auditedCount: number; auditedCount: number;
...@@ -22,6 +12,14 @@ export class OrderTransactionStat { ...@@ -22,6 +12,14 @@ export class OrderTransactionStat {
* 异常挂起笔数 * 异常挂起笔数
*/ */
exceptionCount: number; exceptionCount: number;
/**
* 待审核总金额
*/
unauditedAmount: number;
/**
* 待审核笔数
*/
unauditedCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,25 +5,25 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,25 +5,25 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class TransactionStat { export class TransactionStat {
/** /**
* 余额 * 债务余额
*/ */
surplus: number; debt: number;
/** /**
* 冻结余额 * 支出
*/ */
freezeDeposit: number; expenses: number;
/** /**
* 冻结提现余额 * 冻结余额
*/ */
withdraw: number; freezeDeposit: number;
/** /**
* 债务余额 * 余额
*/ */
debt: number; surplus: number;
/** /**
* 支出 * 冻结提现余额
*/ */
expenses: number; withdraw: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User"; import { User } from "../../security/entity/User";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -9,22 +9,18 @@ import { User } from "../../security/entity/User"; ...@@ -9,22 +9,18 @@ import { User } from "../../security/entity/User";
*/ */
export class BankAccount extends AuditingEntity { export class BankAccount extends AuditingEntity {
/** /**
* ACCOUNT_ID * 银行账号
*/ */
accountId: number; accountCode: string;
/** /**
* 账户管理人 * ACCOUNT_ID
*/ */
user: User; accountId: number;
/** /**
* 账户名称(开户名) * 账户名称(开户名)
*/ */
accountName: string; accountName: string;
/** /**
* 银行账号
*/
accountCode: string;
/**
* 账户类型 * 账户类型
*/ */
accountType: BankAccount_AccountType; accountType: BankAccount_AccountType;
...@@ -33,10 +29,6 @@ export class BankAccount extends AuditingEntity { ...@@ -33,10 +29,6 @@ export class BankAccount extends AuditingEntity {
*/ */
bank: string; bank: string;
/** /**
* 开户支行
*/
subBank: string;
/**
* 启用状态 * 启用状态
*/ */
enabled: boolean; enabled: boolean;
...@@ -44,6 +36,14 @@ export class BankAccount extends AuditingEntity { ...@@ -44,6 +36,14 @@ export class BankAccount extends AuditingEntity {
* 付款备注 * 付款备注
*/ */
remark: string; remark: string;
/**
* 开户支行
*/
subBank: string;
/**
* 账户管理人
*/
user: User;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -54,4 +54,4 @@ export class BankAccount extends AuditingEntity { ...@@ -54,4 +54,4 @@ export class BankAccount extends AuditingEntity {
* VEHICLE 车款账户 * VEHICLE 车款账户
*/ */
export type BankAccount_AccountType = "DEPOSIT" | "VEHICLE"; export type BankAccount_AccountType = "DEPOSIT" | "VEHICLE";
export const BANK_ACCOUNT_ACCOUNT_TYPES = ["DEPOSIT", "VEHICLE"]; export const BANK_ACCOUNT_ACCOUNT_TYPES = [ "DEPOSIT", "VEHICLE" ];
import { Dayjs } from "dayjs"; import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuctionVehicle } from "../../auction/entity/AuctionVehicle";
import { Account } from "../../account/entity/Account"; import { Account } from "../../account/entity/Account";
import { AuctionVehicle } from "../../auction/entity/AuctionVehicle";
import { Transaction } from "./Transaction"; import { Transaction } from "./Transaction";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -10,32 +10,32 @@ import { Transaction } from "./Transaction"; ...@@ -10,32 +10,32 @@ import { Transaction } from "./Transaction";
*/ */
export class Deposit extends AuditingTimeEntity { export class Deposit extends AuditingTimeEntity {
/** /**
*/
depositId: number;
/**
* ACCOUNT_ID * ACCOUNT_ID
*/ */
account: Account; account: Account;
/** /**
* 保证金金额
*/
amount: number;
/**
* 参拍车辆 * 参拍车辆
*/ */
auctionVehicle: AuctionVehicle; auctionVehicle: AuctionVehicle;
/** /**
* 账户交易
*/ */
transaction: Transaction; depositId: number;
/** /**
* 订单号(生成订单后赋值) * 保证金状态
*/ */
orderCode: string; depositState: Deposit_DepositState;
/** /**
* 保证金金额 * 订单号(生成订单后赋值)
*/ */
amount: number; orderCode: string;
/** /**
* 保证金状态 * 账户交易
*/ */
depositState: Deposit_DepositState; transaction: Transaction;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -46,4 +46,4 @@ export class Deposit extends AuditingTimeEntity { ...@@ -46,4 +46,4 @@ export class Deposit extends AuditingTimeEntity {
* UNFREEZE 已解冻 * UNFREEZE 已解冻
*/ */
export type Deposit_DepositState = "FREEZE" | "UNFREEZE"; export type Deposit_DepositState = "FREEZE" | "UNFREEZE";
export const DEPOSIT_DEPOSIT_STATES = ["FREEZE", "UNFREEZE"]; export const DEPOSIT_DEPOSIT_STATES = [ "FREEZE", "UNFREEZE" ];
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,18 +7,6 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,18 +7,6 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class DepositRule extends AuditingEntity { export class DepositRule extends AuditingEntity {
/** /**
* RULE_ID
*/
ruleId: number;
/**
* 规则名称
*/
ruleName: string;
/**
* 启用状态
*/
enabled: boolean;
/**
* 适用对象(买家/卖家/所有) * 适用对象(买家/卖家/所有)
*/ */
applicableObject: DepositRule_ApplicableObject; applicableObject: DepositRule_ApplicableObject;
...@@ -28,13 +15,21 @@ export class DepositRule extends AuditingEntity { ...@@ -28,13 +15,21 @@ export class DepositRule extends AuditingEntity {
*/ */
breachScene: string; breachScene: string;
/** /**
* (比例/固定金额)
*/
commission: number;
/**
* 扣除信誉分
*/
deductCredit: boolean;
/**
* 保证金处理 * 保证金处理
*/ */
depositProcess: DepositRule_DepositProcess; depositProcess: DepositRule_DepositProcess;
/** /**
* (比例/固定金额) * 启用状态
*/ */
commission: number; enabled: boolean;
/** /**
* 限制账号 * 限制账号
*/ */
...@@ -44,13 +39,17 @@ export class DepositRule extends AuditingEntity { ...@@ -44,13 +39,17 @@ export class DepositRule extends AuditingEntity {
*/ */
restrictAccountType: DepositRule_RestrictAccountType; restrictAccountType: DepositRule_RestrictAccountType;
/** /**
* 扣除信誉分
*/
deductCredit: boolean;
/**
* 禁止参拍天数 * 禁止参拍天数
*/ */
restrictAccountValue: number; restrictAccountValue: number;
/**
* RULE_ID
*/
ruleId: number;
/**
* 规则名称
*/
ruleName: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -61,21 +60,21 @@ export class DepositRule extends AuditingEntity { ...@@ -61,21 +60,21 @@ export class DepositRule extends AuditingEntity {
* SELLER 卖家 * SELLER 卖家
* ALL 买家/卖家 * ALL 买家/卖家
*/ */
export type DepositRule_ApplicableObject = "BUYER" | "SELLER" | "ALL"; export type DepositRule_ApplicableObject = "ALL" | "BUYER" | "SELLER";
export const DEPOSIT_RULE_APPLICABLE_OBJECTS = ["BUYER", "SELLER", "ALL"]; export const DEPOSIT_RULE_APPLICABLE_OBJECTS = [ "BUYER", "SELLER", "ALL" ];
/** /**
* DEDUCT_ALL 扣除全部保证金 * DEDUCT_ALL 扣除全部保证金
* DEDUCT_PERCENT 按比例扣除保证金 * DEDUCT_PERCENT 按比例扣除保证金
* DEDUCT_FIXED 按固定金额扣除保证金 * DEDUCT_FIXED 按固定金额扣除保证金
*/ */
export type DepositRule_DepositProcess = "DEDUCT_ALL" | "DEDUCT_PERCENT" | "DEDUCT_FIXED"; export type DepositRule_DepositProcess = "DEDUCT_ALL" | "DEDUCT_FIXED" | "DEDUCT_PERCENT";
export const DEPOSIT_RULE_DEPOSIT_PROCESSS = ["DEDUCT_ALL", "DEDUCT_PERCENT", "DEDUCT_FIXED"]; export const DEPOSIT_RULE_DEPOSIT_PROCESSS = [ "DEDUCT_ALL", "DEDUCT_PERCENT", "DEDUCT_FIXED" ];
/** /**
* RESTRICT_AUCTION 禁止参拍 * RESTRICT_AUCTION 禁止参拍
* FORBIDDEN_WITHDRAW 禁止提现 * FORBIDDEN_WITHDRAW 禁止提现
* DISABLE_ACCOUNT 冻结账号 * DISABLE_ACCOUNT 冻结账号
*/ */
export type DepositRule_RestrictAccountType = "RESTRICT_AUCTION" | "FORBIDDEN_WITHDRAW" | "DISABLE_ACCOUNT"; export type DepositRule_RestrictAccountType = "DISABLE_ACCOUNT" | "FORBIDDEN_WITHDRAW" | "RESTRICT_AUCTION";
export const DEPOSIT_RULE_RESTRICT_ACCOUNT_TYPES = ["RESTRICT_AUCTION", "FORBIDDEN_WITHDRAW", "DISABLE_ACCOUNT"]; export const DEPOSIT_RULE_RESTRICT_ACCOUNT_TYPES = [ "RESTRICT_AUCTION", "FORBIDDEN_WITHDRAW", "DISABLE_ACCOUNT" ];
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuctionOrder } from "../../auction/entity/AuctionOrder";
import { AuditState } from "../../enum_types";
// region 前端扩展导入包 // region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuctionOrder } from "../../auction/entity/AuctionOrder";
import { AuditState } from "../../enum_types";
// endregion // endregion
/** /**
...@@ -11,21 +11,21 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; ...@@ -11,21 +11,21 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
*/ */
export class OrderTransaction extends AuditingTimeEntity { export class OrderTransaction extends AuditingTimeEntity {
/** /**
* TRANSACTION_ID * 交易金额(实际到账金额)
*/ */
transactionId: number; amount: number;
/** /**
* ORDER_ID * ORDER_ID
*/ */
auctionOrder: AuctionOrder; auctionOrder: AuctionOrder;
/** /**
* 流水号 * 审核状态
*/ */
transactionCode: string; auditState: AuditState;
/** /**
* 交易说明 * 押金扣除金额
*/ */
transactionDesc: string; depositDeduct: number;
/** /**
* 付款人 * 付款人
*/ */
...@@ -35,29 +35,29 @@ export class OrderTransaction extends AuditingTimeEntity { ...@@ -35,29 +35,29 @@ export class OrderTransaction extends AuditingTimeEntity {
*/ */
paymentAccount: string; paymentAccount: string;
/** /**
* 支付凭证 * 支付类型
*/ */
payVouchers: FileInfo[]; paymentType: OrderTransaction_PaymentType;
/** /**
* 审核状态 * 支付凭证
*/ */
auditState: AuditState; payVouchers: FileInfo[];
/** /**
* 审核备注 * 审核备注
*/ */
remark: string; remark: string;
/** /**
* 交易金额(实际到账金额) * 流水号
*/ */
amount: number; transactionCode: string;
/** /**
* 支付类型 * 交易说明
*/ */
paymentType: OrderTransaction_PaymentType; transactionDesc: string;
/** /**
* 押金扣除金额 * TRANSACTION_ID
*/ */
depositDeduct: number; transactionId: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -69,5 +69,5 @@ export class OrderTransaction extends AuditingTimeEntity { ...@@ -69,5 +69,5 @@ export class OrderTransaction extends AuditingTimeEntity {
* OFFLINE 现场支付 * OFFLINE 现场支付
* BANK_TRANSFER 银行转账 * BANK_TRANSFER 银行转账
*/ */
export type OrderTransaction_PaymentType = "WXPAY" | "OFFLINE" | "BANK_TRANSFER"; export type OrderTransaction_PaymentType = "BANK_TRANSFER" | "OFFLINE" | "WXPAY";
export const ORDER_TRANSACTION_PAYMENT_TYPES = ["WXPAY", "OFFLINE", "BANK_TRANSFER"]; export const ORDER_TRANSACTION_PAYMENT_TYPES = [ "WXPAY", "OFFLINE", "BANK_TRANSFER" ];
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Account } from "../../account/entity/Account"; import { Account } from "../../account/entity/Account";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -9,29 +9,29 @@ import { Account } from "../../account/entity/Account"; ...@@ -9,29 +9,29 @@ import { Account } from "../../account/entity/Account";
export class Recharge { export class Recharge {
/** /**
*/ */
rechargeId: number; account: Account;
/** /**
*/ */
account: Account; amount: number;
/** /**
*/ */
outTradeNo: string; createTime: Dayjs | string;
/** /**
*/ */
openId: string; openId: string;
/** /**
*/ */
amount: number; outTradeNo: string;
/** /**
* 付款类型
*/ */
rechargeType: Recharge_RechargeType; paymentTime: Dayjs | string;
/** /**
*/ */
createTime: Dayjs | string; rechargeId: number;
/** /**
* 付款类型
*/ */
paymentTime: Dayjs | string; rechargeType: Recharge_RechargeType;
/** /**
* 微信支付订单号 * 微信支付订单号
*/ */
...@@ -45,4 +45,4 @@ export class Recharge { ...@@ -45,4 +45,4 @@ export class Recharge {
* DEPOSIT 保证金充值 * DEPOSIT 保证金充值
*/ */
export type Recharge_RechargeType = "DEPOSIT"; export type Recharge_RechargeType = "DEPOSIT";
export const RECHARGE_RECHARGE_TYPES = ["DEPOSIT"]; export const RECHARGE_RECHARGE_TYPES = [ "DEPOSIT" ];
import { Dayjs } from "dayjs"; import { AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Account } from "../../account/entity/Account"; import { Account } from "../../account/entity/Account";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -9,17 +9,25 @@ import { Account } from "../../account/entity/Account"; ...@@ -9,17 +9,25 @@ import { Account } from "../../account/entity/Account";
*/ */
export class Transaction extends AuditingTimeEntity { export class Transaction extends AuditingTimeEntity {
/** /**
* TRANSACTION_ID * ACCOUNT_ID
*/ */
transactionId: number; account: Account;
/**
* 交易金额
*/
amount: number;
/**
* 余额
*/
surplus: number;
/** /**
* 交易编号 * 交易编号
*/ */
transactionCode: string; transactionCode: string;
/** /**
* ACCOUNT_ID * TRANSACTION_ID
*/ */
account: Account; transactionId: number;
/** /**
* 交易内容 * 交易内容
*/ */
...@@ -28,14 +36,6 @@ export class Transaction extends AuditingTimeEntity { ...@@ -28,14 +36,6 @@ export class Transaction extends AuditingTimeEntity {
* 交易类型 * 交易类型
*/ */
transactionType: Transaction_TransactionType; transactionType: Transaction_TransactionType;
/**
* 交易金额
*/
amount: number;
/**
* 余额
*/
surplus: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -48,5 +48,5 @@ export class Transaction extends AuditingTimeEntity { ...@@ -48,5 +48,5 @@ export class Transaction extends AuditingTimeEntity {
* FREEZE 冻结 * FREEZE 冻结
* UNFREEZE 解冻 * UNFREEZE 解冻
*/ */
export type Transaction_TransactionType = "RECHARGE" | "SPENDING" | "WITHDRAW" | "FREEZE" | "UNFREEZE"; export type Transaction_TransactionType = "FREEZE" | "RECHARGE" | "SPENDING" | "UNFREEZE" | "WITHDRAW";
export const TRANSACTION_TRANSACTION_TYPES = ["RECHARGE", "SPENDING", "WITHDRAW", "FREEZE", "UNFREEZE"]; export const TRANSACTION_TRANSACTION_TYPES = [ "RECHARGE", "SPENDING", "WITHDRAW", "FREEZE", "UNFREEZE" ];
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Account } from "../../account/entity/Account"; import { Account } from "../../account/entity/Account";
import { AuditState } from "../../enum_types"; import { AuditState } from "../../enum_types";
// region 前端扩展导入包 // region 前端扩展导入包
...@@ -10,25 +11,25 @@ import { AuditState } from "../../enum_types"; ...@@ -10,25 +11,25 @@ import { AuditState } from "../../enum_types";
*/ */
export class Withdraw extends AuditingEntity { export class Withdraw extends AuditingEntity {
/** /**
* WITHDRAW_ID
*/
withdrawId: number;
/**
* ACCOUNT_ID * ACCOUNT_ID
*/ */
account: Account; account: Account;
/** /**
* 流水号 * 提现金额
*/ */
withdrawCode: string; amount: number;
/**
* 申请时间
*/
applyWithdrawTime: Dayjs | string;
/** /**
* 审核备注 * 审核备注
*/ */
auditRemark: string; auditRemark: string;
/** /**
* 申请时间 * 审核状态
*/ */
applyWithdrawTime: Dayjs | string; auditState: AuditState;
/** /**
* 审核时间 * 审核时间
*/ */
...@@ -38,21 +39,29 @@ export class Withdraw extends AuditingEntity { ...@@ -38,21 +39,29 @@ export class Withdraw extends AuditingEntity {
*/ */
bankAccount: string; bankAccount: string;
/** /**
* 提现金额 * 用户确认时间
*/ */
amount: number; confirmTime: Dayjs | string;
/** /**
* 审核状态 * 失败原因
*/ */
auditState: AuditState; failReason: string;
/** /**
* 驳回原因 * 【微信支付】转账单号
*/ */
rejectReason: string; packageInfo: string;
/** /**
* 付款单号 * 付款金额
*/ */
transferBillNo: string; paymentAmount: number;
/**
* 发起付款时间
*/
paymentTime: Dayjs | string;
/**
* 驳回原因
*/
rejectReason: string;
/** /**
* 【单据状态】 * 【单据状态】
可选取值 可选取值
...@@ -67,59 +76,60 @@ CANCELLED: 转账撤销完成 ...@@ -67,59 +76,60 @@ CANCELLED: 转账撤销完成
*/ */
state: string; state: string;
/** /**
* 失败原因 * 付款单号
*/ */
failReason: string; transferBillNo: string;
/** /**
* 收款用户姓名 * 收款用户姓名
*/ */
transferName: string; transferName: string;
/** /**
* 付款金额 * 付款备注
*/
paymentAmount: number;
/**
* 用户确认时间
*/
confirmTime: Dayjs | string;
/**
* 发起付款时间
*/ */
paymentTime: Dayjs | string; transferRemark: string;
/** /**
* 转账成功时间 * 转账成功时间
*/ */
transferTime: Dayjs | string; transferTime: Dayjs | string;
/** /**
* 付款备注 * 流水号
*/ */
transferRemark: string; withdrawCode: string;
/** /**
* 【微信支付】转账单号 * WITHDRAW_ID
*/ */
packageInfo: string; withdrawId: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
static stateLabel(state: string): string { static stateLabel(state: string): string {
switch (state) { switch (state) {
case "ACCEPTED": case "ACCEPTED": {
return "转账已受理"; return "转账已受理";
case "PROCESSING": }
return "转账处理中"; case "CANCELING": {
case "WAIT_USER_CONFIRM":
return "待收款用户确认";
case "TRANSFERING":
return "微信汇款中";
case "SUCCESS":
return "转账成功";
case "FAIL":
return "转账失败";
case "CANCELING":
return "商户撤销请求受理成功"; return "商户撤销请求受理成功";
case "CANCELLED": }
case "CANCELLED": {
return "转账撤销完成"; return "转账撤销完成";
default: }
case "FAIL": {
return "转账失败";
}
case "PROCESSING": {
return "转账处理中";
}
case "SUCCESS": {
return "转账成功";
}
case "TRANSFERING": {
return "微信汇款中";
}
case "WAIT_USER_CONFIRM": {
return "待收款用户确认";
}
default: {
return "--"; return "--";
}
} }
} }
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,13 +6,7 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,13 +6,7 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
export class MaLoginRequest { export class MaLoginRequest {
/** /**
*/ */
sessionKey: string; code: string;
/**
*/
signature: string;
/**
*/
rawData: string;
/** /**
*/ */
encryptedData: string; encryptedData: string;
...@@ -23,14 +15,20 @@ export class MaLoginRequest { ...@@ -23,14 +15,20 @@ export class MaLoginRequest {
iv: string; iv: string;
/** /**
*/ */
code: string; openId: string;
/**
*/
rawData: string;
/** /**
* 小程序码扫码登录 * 小程序码扫码登录
*/ */
scene: string; scene: string;
/** /**
*/ */
openId: string; sessionKey: string;
/**
*/
signature: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -10,14 +8,14 @@ export class UserPassword { ...@@ -10,14 +8,14 @@ export class UserPassword {
*/ */
id: number; id: number;
/** /**
* 旧密码
*/
oldPassword: string;
/**
* 新密码 * 新密码
*/ */
newPassword: string; newPassword: string;
/** /**
* 旧密码
*/
oldPassword: string;
/**
* 确认密码 * 确认密码
*/ */
verifyPassword: string; verifyPassword: string;
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,21 +5,9 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,21 +5,9 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class UserStatistic { export class UserStatistic {
/** /**
* 剩余积分 * 转换数量
*/
points: number;
/**
* 已用积分
*/
usedPoints: number;
/**
* 已翻译文档数量
*/
translatedDocumentCount: number;
/**
* 已翻译图片数量
*/ */
translatedImageCount: number; conversionCount: number;
/** /**
* 我创建的知识库数量 * 我创建的知识库数量
*/ */
...@@ -35,9 +21,21 @@ export class UserStatistic { ...@@ -35,9 +21,21 @@ export class UserStatistic {
*/ */
noteCount: number; noteCount: number;
/** /**
* 转换数量 * 剩余积分
*/ */
conversionCount: number; points: number;
/**
* 已翻译文档数量
*/
translatedDocumentCount: number;
/**
* 已翻译图片数量
*/
translatedImageCount: number;
/**
* 已用积分
*/
usedPoints: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Role } from "./Role"; import { Role } from "./Role";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -13,13 +11,13 @@ export class Permission { ...@@ -13,13 +11,13 @@ export class Permission {
*/ */
permissionId: number; permissionId: number;
/** /**
* 从属角色
*/
role: Role;
/**
* 资源编码 * 资源编码
*/ */
privilegeCode: string; privilegeCode: string;
/**
* 从属角色
*/
role: Role;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "./User"; import { User } from "./User";
import { Permission } from "./Permission";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -10,37 +9,37 @@ import { Permission } from "./Permission"; ...@@ -10,37 +9,37 @@ import { Permission } from "./Permission";
*/ */
export class Role extends AuditingEntity { export class Role extends AuditingEntity {
/** /**
* ID
*/
roleId: number;
/**
* 角色名称
*/
roleName: string;
/**
* 角色编码
*/
roleCode: string;
/**
* 是否启用 * 是否启用
*/ */
enabled: boolean; enabled: boolean;
/** /**
* 资源编码
*/
privilegeCodes: string[];
/**
* 备注 * 备注
*/ */
remark: string; remark: string;
/** /**
* 角色下的用户 * 角色编码
*/ */
users: User[]; roleCode: string;
/** /**
* 资源编码 * ID
*/ */
privilegeCodes: string[]; roleId: number;
/**
* 角色名称
*/
roleName: string;
/** /**
* 用户数量 * 用户数量
*/ */
userCount: number; userCount: number;
/**
* 角色下的用户
*/
users: User[];
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
...@@ -52,4 +51,4 @@ export class Role extends AuditingEntity { ...@@ -52,4 +51,4 @@ export class Role extends AuditingEntity {
* ROLE_SUPER 系统管理员 * ROLE_SUPER 系统管理员
*/ */
export type Role_DefaultRole = "CUSTOMER" | "CUSTOMER_VIP" | "ROLE_SUPER"; export type Role_DefaultRole = "CUSTOMER" | "CUSTOMER_VIP" | "ROLE_SUPER";
export const ROLE_DEFAULT_ROLES = ["CUSTOMER", "CUSTOMER_VIP", "ROLE_SUPER"]; export const ROLE_DEFAULT_ROLES = [ "CUSTOMER", "CUSTOMER_VIP", "ROLE_SUPER" ];
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Role } from "./Role";
import { Venue } from "../../venue/entity/Venue";
// region 前端扩展导入包 // region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs";
import { Venue } from "../../venue/entity/Venue";
import { Role } from "./Role";
// endregion // endregion
/** /**
...@@ -11,57 +12,57 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; ...@@ -11,57 +12,57 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
*/ */
export class User extends AuditingEntity { export class User extends AuditingEntity {
/** /**
* ID * 头像
*/ */
userId: number; avatar: FileInfo;
/** /**
* 账号名称 * 确认新密码,修改密码用
*/ */
userName: string; confirmPassword: string;
/** /**
* 是否启用 * Email地址
*/ */
enabled: boolean; email: string;
/** /**
* 真实姓名 * 是否启用
*/ */
realName: string; enabled: boolean;
/** /**
* 性别 * 性别
*/ */
gender: boolean; gender: boolean;
/** /**
* Email地址 * 最后一次登录时间
*/ */
email: string; lastTime: Dayjs | string;
/** /**
* 联系电话 * 联系电话
*/ */
mobile: string; mobile: string;
/** /**
* 头像 * 新密码,修改密码用
*/ */
avatar: FileInfo; newPassword: string;
/** /**
* 最后一次登录时间 * 真实姓名
*/ */
lastTime: Dayjs | string; realName: string;
/** /**
* 备注 * 备注
*/ */
remark: string; remark: string;
/** /**
* 新密码,修改密码用 * 角色
*/ */
newPassword: string; roles: Role[];
/** /**
* 确认新密码,修改密码用 * ID
*/ */
confirmPassword: string; userId: number;
/** /**
* 角色 * 账号名称
*/ */
roles: Role[]; userName: string;
/** /**
*/ */
venues: Venue[]; venues: Venue[];
......
import { Dayjs } from "dayjs"; import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { User } from "../../security/entity/User";
import { AuditState } from "../../enum_types"; import { AuditState } from "../../enum_types";
import { User } from "../../security/entity/User";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -9,41 +9,41 @@ import { AuditState } from "../../enum_types"; ...@@ -9,41 +9,41 @@ import { AuditState } from "../../enum_types";
*/ */
export class ApproveHistory extends AuditingEntity { export class ApproveHistory extends AuditingEntity {
/** /**
* 金额
*/ */
historyId: number; amount: number;
/**
* ACCOUNT_ID
*/
user: User;
/** /**
* 审批业务ID * 审批业务ID
*/ */
approveId: number; approveId: number;
/** /**
*/
approveType: ApproveHistory_ApproveType;
/**
* 审批结果 * 审批结果
*/ */
approveResult: AuditState; approveResult: AuditState;
/** /**
* 审批意见
*/ */
remark: string; approveType: ApproveHistory_ApproveType;
/** /**
* 金额
*/ */
amount: number; historyId: number;
/**
*/
ids: number[];
// region 前端扩展定义属性及方法区
rejectOtherReason: string;
/** /**
* 驳回原因 * 驳回原因
*/ */
rejectReason: string; rejectReason: string;
/** /**
* 审批意见
*/ */
ids: number[]; remark: string;
// region 前端扩展定义属性及方法区 /**
rejectOtherReason: string; * ACCOUNT_ID
*/
user: User;
// endregion // endregion
} }
...@@ -59,15 +59,15 @@ export class ApproveHistory extends AuditingEntity { ...@@ -59,15 +59,15 @@ export class ApproveHistory extends AuditingEntity {
* AUCTION_VEHICLE_CHANGE 拍卖车辆变更 * AUCTION_VEHICLE_CHANGE 拍卖车辆变更
*/ */
export type ApproveHistory_ApproveType = export type ApproveHistory_ApproveType =
| "ACCOUNT"
| "APPRAISE_PRICE" | "APPRAISE_PRICE"
| "AUCTION" | "AUCTION"
| "AUCTION_CHANGE"
| "AUCTION_VEHICLE" | "AUCTION_VEHICLE"
| "ACCOUNT" | "AUCTION_VEHICLE_CHANGE"
| "PAYMENT" | "PAYMENT"
| "TRANSFER" | "TRANSFER"
| "AUCTION_CHANGE" | "WITHDRAW";
| "WITHDRAW"
| "AUCTION_VEHICLE_CHANGE";
export const APPROVE_HISTORY_APPROVE_TYPES = [ export const APPROVE_HISTORY_APPROVE_TYPES = [
"APPRAISE_PRICE", "APPRAISE_PRICE",
"AUCTION", "AUCTION",
......
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { ApproveHistory } from "./ApproveHistory";
// region 前端扩展导入包 // region 前端扩展导入包
import { ApproveHistory_ApproveType } from "./ApproveHistory"; import { ApproveHistory_ApproveType } from "./ApproveHistory";
// endregion // endregion
...@@ -9,24 +8,24 @@ import { ApproveHistory_ApproveType } from "./ApproveHistory"; ...@@ -9,24 +8,24 @@ import { ApproveHistory_ApproveType } from "./ApproveHistory";
*/ */
export class ApproveView { export class ApproveView {
/** /**
* 审批业务ID
*/ */
id: string; approveId: number;
/** /**
*/ */
name: string; approveType: ApproveHistory_ApproveType;
/** /**
*/ */
createTime: Dayjs | string; createBy: string;
/** /**
*/ */
createBy: string; createTime: Dayjs | string;
/** /**
* 审批业务ID
*/ */
approveId: number; id: string;
/** /**
*/ */
approveType: ApproveHistory_ApproveType; name: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AuctionVehicle } from "../../auction/entity/AuctionVehicle";
import { Account } from "../../account/entity/Account"; import { Account } from "../../account/entity/Account";
import { AuctionVehicle } from "../../auction/entity/AuctionVehicle";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -9,19 +9,19 @@ import { Account } from "../../account/entity/Account"; ...@@ -9,19 +9,19 @@ import { Account } from "../../account/entity/Account";
*/ */
export class VehicleBrowserHistory { export class VehicleBrowserHistory {
/** /**
* ACCOUNT_ID
*/ */
historyId: number; account: Account;
/** /**
* 参拍车辆 * 参拍车辆
*/ */
auctionVehicle: AuctionVehicle; auctionVehicle: AuctionVehicle;
/** /**
* ACCOUNT_ID
*/ */
account: Account; createTime: Dayjs | string;
/** /**
*/ */
createTime: Dayjs | string; historyId: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
/** /**
*/ */
/* eslint-disable */
export class CarImageListConverter { export class CarImageListConverter {
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
/** /**
*/ */
export class VehicleHistoryProjection { export class VehicleHistoryProjection {
/**
*/
createTime: Dayjs | string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
/** /**
* VEHICLE_ID * VEHICLE_ID
...@@ -14,8 +16,5 @@ export class VehicleHistoryProjection { ...@@ -14,8 +16,5 @@ export class VehicleHistoryProjection {
/** /**
*/ */
updateBy: string; updateBy: string;
/**
*/
createTime: Dayjs | string;
// endregion // endregion
} }
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,13 +6,13 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,13 +6,13 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
export class VehicleVenue { export class VehicleVenue {
/** /**
*/ */
vehicleId: number;
/**
*/
areaId: number; areaId: number;
/** /**
*/ */
parkingSpace: string; parkingSpace: string;
/**
*/
vehicleId: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
venueAreaSpace: string[]; venueAreaSpace: string[];
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
/** /**
*/ */
export class BaseInfo { export class BaseInfo {
/** // region 前端扩展定义属性及方法区
* 车辆品牌id brandIds: string[];
*/
carBrandId: number;
/** /**
* 车辆品牌名称 示例值: * 车辆品牌名称 示例值:
奔驰 奔驰
*/ */
carBrand: string; carBrand: string;
/** /**
* 车辆品牌id
*/
carBrandId: number;
/**
* 子品牌id * 子品牌id
*/ */
carChildsBrandId: number; carChildsBrandId: number;
...@@ -40,22 +40,22 @@ export class BaseInfo { ...@@ -40,22 +40,22 @@ export class BaseInfo {
*/ */
carTypeName: string; carTypeName: string;
/** /**
* 表显里程
*/
mileage: number;
/**
* 车架号
*/
vin: string;
/**
* 发动机号 * 发动机号
*/ */
engineNumber: string; engineNumber: string;
/** /**
* 新车指导价(元)
*/
guidePrice: number;
/**
* 车牌号 * 车牌号
*/ */
licensePlate: string; licensePlate: string;
/** /**
* 表显里程
*/
mileage: number;
/**
* 车源号(平台唯一识别编号) * 车源号(平台唯一识别编号)
*/ */
sourceNo: string; sourceNo: string;
...@@ -63,12 +63,10 @@ export class BaseInfo { ...@@ -63,12 +63,10 @@ export class BaseInfo {
* 标签(如:准新车) * 标签(如:准新车)
*/ */
tags: string[]; tags: string[];
/** /**
* 新车指导价(元) * 车架号
*/ */
guidePrice: number; vin: string;
// region 前端扩展定义属性及方法区
brandIds: string[];
// endregion // endregion
} }
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,45 +6,41 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,45 +6,41 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class CoreSpecs { export class CoreSpecs {
/** /**
* 出厂日期 * 变速箱类型
*/
productionDate: Dayjs | string;
/**
* 排放标准(3-国3/4-国4/5-国5/6-国6)
*/ */
emissionStandard: number; bxslx: string;
/** /**
* 排量(T/L) * 排量(T/L)
*/ */
displacement: string; displacement: string;
/** /**
* 进气形式(自然吸气/涡轮增压等) * 排放标准(3-国3/4-国4/5-国5/6-国6)
*/ */
jqxs: string; emissionStandard: number;
/** /**
* 燃料形式(汽油/柴油等) * 车身颜色
*/ */
rlxs: string; exteriorColor: string;
/** /**
* 变速箱类型 * 内饰颜色
*/ */
bxslx: string; interiorColor: string;
/** /**
* 驱动方式(前驱/后驱/四驱等) * 进气形式(自然吸气/涡轮增压等)
*/ */
qdfs: string; jqxs: string;
/** /**
* 车型分类名称(级别) * 出厂日期
*/ */
vehicleClass: string; productionDate: Dayjs | string;
/** /**
* 车身颜色 * 驱动方式(前驱/后驱/四驱等)
*/ */
exteriorColor: string; qdfs: string;
/** /**
* 内饰颜色 * 燃料形式(汽油/柴油等)
*/ */
interiorColor: string; rlxs: string;
/** /**
* 座位数 * 座位数
*/ */
...@@ -54,6 +49,10 @@ export class CoreSpecs { ...@@ -54,6 +49,10 @@ export class CoreSpecs {
* 天窗:1-无天窗/2-普通天窗/3-全景天窗 * 天窗:1-无天窗/2-普通天窗/3-全景天窗
*/ */
sunroof: number; sunroof: number;
/**
* 车型分类名称(级别)
*/
vehicleClass: string;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,13 +5,17 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,13 +5,17 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class EvaluationTransaction { export class EvaluationTransaction {
/** /**
* 评估意见
*/
evalOpinion: string;
/**
* 评估单编号 * 评估单编号
*/ */
evalOrderNo: string; evalOrderNo: string;
/** /**
* 评估意见 * 综合评价:1-优/2-良/3-中/4-差
*/ */
evalOpinion: string; overallRating: number;
/** /**
* 收购价格(元) * 收购价格(元)
*/ */
...@@ -26,10 +28,6 @@ export class EvaluationTransaction { ...@@ -26,10 +28,6 @@ export class EvaluationTransaction {
* 销售顾问 * 销售顾问
*/ */
sellerName: string; sellerName: string;
/**
* 综合评价:1-优/2-良/3-中/4-差
*/
overallRating: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -7,21 +5,21 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -7,21 +5,21 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class HistoryCondition { export class HistoryCondition {
/** /**
* 是否事故:1-是/0-否 * 车况描述
*/
hasAccident: number;
/**
* 水泡检测:1-是/0-否
*/ */
floodCheck: number; conditionDescription: string;
/** /**
* 火烧检测:1-是/0-否 * 火烧检测:1-是/0-否
*/ */
fireCheck: number; fireCheck: number;
/** /**
* 车况描述 * 水泡检测:1-是/0-否
*/ */
conditionDescription: string; floodCheck: number;
/**
* 是否事故:1-是/0-否
*/
hasAccident: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -11,21 +10,21 @@ export class LicenseInfo { ...@@ -11,21 +10,21 @@ export class LicenseInfo {
*/ */
annualInspectionExpiry: Dayjs | string; annualInspectionExpiry: Dayjs | string;
/** /**
* 交强险到期
*/
compulsoryInsuranceExpiry: Dayjs | string;
/**
* 商业险到期日 * 商业险到期日
*/ */
commercialInsuranceExpiry: Dayjs | string; commercialInsuranceExpiry: Dayjs | string;
/** /**
* 钥匙数 * 交强险到期
*/ */
keyCount: number; compulsoryInsuranceExpiry: Dayjs | string;
/** /**
* 钥匙编码 * 钥匙编码
*/ */
keyCode: string; keyCode: string;
/**
* 钥匙数
*/
keyCount: number;
// region 前端扩展定义属性及方法区 // region 前端扩展定义属性及方法区
// endregion // endregion
......
import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
......
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
import { Vehicle } from "./Vehicle"; import { Vehicle } from "./Vehicle";
// endregion // endregion
...@@ -8,6 +8,16 @@ import { Vehicle } from "./Vehicle"; ...@@ -8,6 +8,16 @@ import { Vehicle } from "./Vehicle";
*/ */
export class Ownership { export class Ownership {
/** /**
* 车辆所在地城市ID
*/
carCityId: number;
/**
* 车辆所在地城市名称
*/
carCityName: string;
// region 前端扩展定义属性及方法区
carProvinceCity: string[];
/**
* 车辆所在地省份ID * 车辆所在地省份ID
*/ */
carProvinceId: number; carProvinceId: number;
...@@ -16,13 +26,17 @@ export class Ownership { ...@@ -16,13 +26,17 @@ export class Ownership {
*/ */
carProvinceName: string; carProvinceName: string;
/** /**
* 车辆所在地城市ID * 是否有抵押:true/false
*/ */
carCityId: number; hasMortgage: boolean;
/** /**
* 车辆所在地城市名称 * 最近过户时间
*/ */
carCityName: string; lastTransferDate: Dayjs | string;
/**
* 所有人性质:1-个人/2-单位
*/
ownerType: number;
/** /**
* 首次上牌时间 * 首次上牌时间
*/ */
...@@ -31,36 +45,26 @@ export class Ownership { ...@@ -31,36 +45,26 @@ export class Ownership {
* 过户次数 * 过户次数
*/ */
transferCount: number; transferCount: number;
/**
* 最近过户时间
*/
lastTransferDate: Dayjs | string;
/** /**
* 使用性质:1-非营运/2-营运/3-营转非 * 使用性质:1-非营运/2-营运/3-营转非
*/ */
usageType: number; usageType: number;
/**
* 所有人性质:1-个人/2-单位
*/
ownerType: number;
/**
* 是否有抵押:true/false
*/
hasMortgage: boolean;
// region 前端扩展定义属性及方法区
carProvinceCity: string[];
static usageTypeLabel(vehicle: Vehicle): string { static usageTypeLabel(vehicle: Vehicle): string {
switch (vehicle.ownership.usageType) { switch (vehicle.ownership.usageType) {
case 1: case 1: {
return "非营运"; return "非营运";
case 2: }
case 2: {
return "营运"; return "营运";
case 3: }
case 3: {
return "营转非"; return "营转非";
default: }
default: {
return ""; return "";
}
} }
} }
// endregion // endregion
......
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
// region 前端扩展导入包 // region 前端扩展导入包
// endregion // endregion
...@@ -8,36 +8,36 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi ...@@ -8,36 +8,36 @@ import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/Audi
*/ */
export class PriceRule extends AuditingEntity { export class PriceRule extends AuditingEntity {
/** /**
* RULE_ID * 生效日期
*/ */
ruleId: number; effectiveDate: Dayjs | string;
// region 前端扩展定义属性及方法区
effectiveDateRange: any[];
/** /**
* 最低估值 * 过期日期
*/ */
minPrice: number; expireDate: Dayjs | string;
/** /**
* 最高估值 * 最高估值
*/ */
maxPrice: number; maxPrice: number;
/** /**
* 规则类型(比例下限固定差价) * 最低估值
*/ */
ruleType: PriceRule_RuleType; minPrice: number;
/** /**
* 生效日期 * RULE_ID
*/ */
effectiveDate: Dayjs | string; ruleId: number;
/** /**
* 过期日期 * 规则类型(比例下限固定差价)
*/ */
expireDate: Dayjs | string; ruleType: PriceRule_RuleType;
/** /**
* 起拍价(比例/固定值) * 起拍价(比例/固定值)
*/ */
startPrice: number; startPrice: number;
// region 前端扩展定义属性及方法区
effectiveDateRange: any[];
// endregion // endregion
} }
...@@ -45,5 +45,5 @@ export class PriceRule extends AuditingEntity { ...@@ -45,5 +45,5 @@ export class PriceRule extends AuditingEntity {
* RATIO 比例下限 * RATIO 比例下限
* FIXED 固定差价 * FIXED 固定差价
*/ */
export type PriceRule_RuleType = "RATIO" | "FIXED"; export type PriceRule_RuleType = "FIXED" | "RATIO";
export const PRICE_RULE_RULE_TYPES = ["RATIO", "FIXED"]; export const PRICE_RULE_RULE_TYPES = [ "RATIO", "FIXED" ];
// region 前端扩展导入包
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
import { AuditingEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { Dayjs } from "dayjs"; import { Dayjs } from "dayjs";
import { AuditingEntity, AuditingTimeEntity } from "autumn-vue/lib/core/orm/AuditingEntity";
import { AppraisePrice } from "../../auction/entity/AppraisePrice";
import { AuctionOrder } from "../../auction/entity/AuctionOrder";
import { AuctionVehicle } from "../../auction/entity/AuctionVehicle"; import { AuctionVehicle } from "../../auction/entity/AuctionVehicle";
import { ReleaseOrder } from "../../auction/entity/ReleaseOrder"; import { ReleaseOrder } from "../../auction/entity/ReleaseOrder";
import { HistoryCondition } from "./HistoryCondition"; import { CarImage } from "../../vehicle/domain/CarImage";
import { Ownership } from "./Ownership";
import { OwnerInfo } from "./OwnerInfo";
import { Venue } from "../../venue/entity/Venue";
import { EvaluationTransaction } from "./EvaluationTransaction";
import { AuctionOrder } from "../../auction/entity/AuctionOrder";
import { CustodianInfo } from "./CustodianInfo";
import { Area } from "../../venue/entity/Area"; import { Area } from "../../venue/entity/Area";
import { Venue } from "../../venue/entity/Venue";
import { Warehousing } from "../../venue/entity/Warehousing"; import { Warehousing } from "../../venue/entity/Warehousing";
import { LicenseInfo } from "./LicenseInfo";
import { CarImage } from "../../vehicle/domain/CarImage";
import { AppraisePrice } from "../../auction/entity/AppraisePrice";
import { BaseInfo } from "./BaseInfo"; import { BaseInfo } from "./BaseInfo";
import { CoreSpecs } from "./CoreSpecs"; import { CoreSpecs } from "./CoreSpecs";
// region 前端扩展导入包 import { CustodianInfo } from "./CustodianInfo";
import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; import { EvaluationTransaction } from "./EvaluationTransaction";
import { HistoryCondition } from "./HistoryCondition";
import { LicenseInfo } from "./LicenseInfo";
import { OwnerInfo } from "./OwnerInfo";
import { Ownership } from "./Ownership";
// endregion // endregion
/** /**
...@@ -25,148 +26,148 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo"; ...@@ -25,148 +26,148 @@ import { FileInfo } from "autumn-vue/lib/core/bean/FileInfo";
*/ */
export class Vehicle extends AuditingEntity { export class Vehicle extends AuditingEntity {
/** /**
* VEHICLE_ID * 图库
*/
vehicleId: number;
/**
* 基础信息
*/ */
baseInfo: BaseInfo; albums: FileInfo[];
/** /**
* 核心参数 * 评估备注
*/ */
coreSpecs: CoreSpecs; appraisalRemark: string;
/** /**
* 权属与状态
*/ */
ownership: Ownership; appraisePrices: AppraisePrice[];
/** /**
* 牌证信息 * 车辆所属区域
*/ */
licenseInfo: LicenseInfo; area: Area;
/** /**
* 历史与车况 * auction_order
*/ */
historyCondition: HistoryCondition; auctionOrders: AuctionOrder[];
/** /**
* 评估与交易 * auction_vehicle
*/ */
evaluationTransaction: EvaluationTransaction; auctionVehicles: AuctionVehicle[];
/** /**
* 车辆属地关联关系(车辆保管信息) * 基础信息
*/ */
custodianInfo: CustodianInfo; baseInfo: BaseInfo;
/** /**
* 车主信息 * 车辆图片列表
*/ */
ownerInfo: OwnerInfo; carImages: CarImage[];
/** /**
* 车型数据json, * 车型数据json,
json字段参考查博士文档https://doc.chaboshi.cn/web/shareDoc/f98cbf2e13c37f7fd39ccdaf2b61a295 json字段参考查博士文档https://doc.chaboshi.cn/web/shareDoc/f98cbf2e13c37f7fd39ccdaf2b61a295
*/ */
carModelData: string; carModelData: string;
/** /**
* 车辆所属场地 * 核心参数
*/ */
venue: Venue; coreSpecs: CoreSpecs;
/** /**
* 车辆所属区域 * 封面
*/ */
area: Area; cover: FileInfo;
/** /**
* 车位号 * 车辆属地关联关系(车辆保管信息)
*/ */
parkingSpace: string; custodianInfo: CustodianInfo;
// region 前端扩展定义属性及方法区
disabled: boolean;
/** /**
* 车商手机号 * 评估与交易
*/ */
mobile: string; evaluationTransaction: EvaluationTransaction;
/**
* 历史与车况
*/
historyCondition: HistoryCondition;
/**
* 牌证信息
*/
licenseInfo: LicenseInfo;
/** /**
* 贷款评估状态 * 贷款评估状态
*/ */
loanEvaluationState: string; loanEvaluationState: string;
/** /**
* 行驶证照片 * 车商手机号
*/ */
vehicleLicensePhotos: string; mobile: string;
/** /**
* 是否有车辆登记证 * 车主信息
*/ */
registrationCertificate: string; ownerInfo: OwnerInfo;
/** /**
* 车辆登记证颜色 * 权属与状态
*/ */
registrationCertificateColor: string; ownership: Ownership;
/** /**
* 是否有行驶证 * 车位号
*/ */
vehicleLicense: boolean; parkingSpace: string;
/** /**
* 封面 * 基础参考价
*/ */
cover: FileInfo; referencePrice: number;
/** /**
* 图库 * 是否有车辆登记证
*/ */
albums: FileInfo[]; registrationCertificate: string;
/** /**
* 车辆状态 * 车辆登记证颜色
*/ */
vehicleState: Vehicle_VehicleState; registrationCertificateColor: string;
/** /**
* 起拍价 * release_order
*/ */
startingBidPrice: number; releaseOrders: ReleaseOrder[];
/** /**
* 保留价 * 保留价
*/ */
reservePrice: number; reservePrice: number;
/** /**
* 基础参考价 * 起拍价
*/ */
referencePrice: number; startingBidPrice: number;
/** /**
* 评估备注 * 过户时间(即成交时间)
*/ */
appraisalRemark: string; transferredTime: Dayjs | string;
/** /**
* 车辆图片列表 * VEHICLE_ID
*/ */
carImages: CarImage[]; vehicleId: number;
/** /**
* 过户时间(即成交时间) * 是否有行驶证
*/ */
transferredTime: Dayjs | string; vehicleLicense: boolean;
/** /**
* 入库时间 * 行驶证照片
*/ */
warehousingTime: Dayjs | string; vehicleLicensePhotos: string;
/** /**
* 车辆来源 * 车辆来源
*/ */
vehicleSource: Vehicle_VehicleSource; vehicleSource: Vehicle_VehicleSource;
/** /**
* auction_order * 车辆状态
*/ */
auctionOrders: AuctionOrder[]; vehicleState: Vehicle_VehicleState;
/** /**
* auction_vehicle * 车辆所属场地
*/ */
auctionVehicles: AuctionVehicle[]; venue: Venue;
/** /**
* warehousing * warehousing
*/ */
warehousings: Warehousing[]; warehousings: Warehousing[];
/** /**
* release_order * 入库时间
*/
releaseOrders: ReleaseOrder[];
/**
*/ */
appraisePrices: AppraisePrice[]; warehousingTime: Dayjs | string;
// region 前端扩展定义属性及方法区
disabled: boolean;
// endregion // endregion
} }
...@@ -187,20 +188,20 @@ json字段参考查博士文档https://doc.chaboshi.cn/web/shareDoc/f98cbf2e13c3 ...@@ -187,20 +188,20 @@ json字段参考查博士文档https://doc.chaboshi.cn/web/shareDoc/f98cbf2e13c3
* CANCELED 已取消 * CANCELED 已取消
*/ */
export type Vehicle_VehicleState = export type Vehicle_VehicleState =
| "AUCTIONING"
| "CANCELED"
| "COMPLETED"
| "CONTRACT_UNSIGNED"
| "INVENTORY" | "INVENTORY"
| "VENUE"
| "TO_BE_PRICED"
| "PRICED"
| "PENDING_AUCTION" | "PENDING_AUCTION"
| "WAIT_AUCTION"
| "PREVIEW" | "PREVIEW"
| "AUCTIONING" | "PRICED"
| "CONTRACT_UNSIGNED" | "TO_BE_PRICED"
| "UNPAID"
| "WAIT_PICKUP"
| "TRANSFERRING" | "TRANSFERRING"
| "COMPLETED" | "UNPAID"
| "CANCELED"; | "VENUE"
| "WAIT_AUCTION"
| "WAIT_PICKUP";
export const VEHICLE_VEHICLE_STATES = [ export const VEHICLE_VEHICLE_STATES = [
"INVENTORY", "INVENTORY",
"VENUE", "VENUE",
...@@ -222,5 +223,5 @@ export const VEHICLE_VEHICLE_STATES = [ ...@@ -222,5 +223,5 @@ export const VEHICLE_VEHICLE_STATES = [
* RECEIVE 收车端 * RECEIVE 收车端
* AUCTION 拍卖端 * AUCTION 拍卖端
*/ */
export type Vehicle_VehicleSource = "RECEIVE" | "AUCTION"; export type Vehicle_VehicleSource = "AUCTION" | "RECEIVE";
export const VEHICLE_VEHICLE_SOURCES = ["RECEIVE", "AUCTION"]; export const VEHICLE_VEHICLE_SOURCES = [ "RECEIVE", "AUCTION" ];
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!