From 484de131314a90144cceac6ea721e345ad014f08 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 04 十二月 2025 09:20:56 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentApi
---
LifePayment/LifePayment.Application.Contracts/LifePay/LifePayRateInput.cs | 69 ++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayRateInput.cs b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayRateInput.cs
new file mode 100644
index 0000000..03bcd67
--- /dev/null
+++ b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayRateInput.cs
@@ -0,0 +1,69 @@
+锘縰sing LifePayment.Domain.Shared;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+
+namespace LifePayment.Application.Contracts.LifePay;
+
+public class CreateEditRateChannelInput
+{
+ public Guid? Id { get; set; }
+
+ /// <summary>
+ /// 鍏呭�肩被鍨�
+ /// </summary>
+ [Required(ErrorMessage = "鍏呭�肩被鍨嬫槸蹇呭~椤广��")]
+ public LifePayOrderTypeEnum LifePayOrderType { get; set; }
+
+ /// <summary>
+ /// 閫氶亾
+ /// </summary>
+ [Required(ErrorMessage = "閫氶亾鏄繀濉」銆�")]
+ public string RateChannelName { get; set; }
+
+ /// <summary>
+ /// ID
+ /// </summary>
+ [Required(ErrorMessage = "ID鏄繀濉」銆�")]
+ public string Code { get; set; }
+
+ /// <summary>
+ /// 渚涘簲鍟嗘姌鎵�
+ /// </summary>
+ [Required(ErrorMessage = "渚涘簲鍟嗘姌鎵f槸蹇呭~椤广��")]
+ public decimal SupplierRate { get; set; }
+
+ /// <summary>
+ /// 骞冲彴鎶樻墸
+ /// </summary>
+ [Required(ErrorMessage = "骞冲彴鎶樻墸鏄繀濉」銆�")]
+ public decimal PlatformRate { get; set; }
+
+ /// <summary>
+ /// 閫氶亾鐘舵��
+ /// </summary>
+ [Required(ErrorMessage = "閫氶亾鐘舵�佹槸蹇呭~椤广��")]
+ public LifePayRateChannelStatus Status { get; set; }
+
+ /// <summary>
+ /// 閫氱煡鍐呭
+ /// </summary>
+ [Required(ErrorMessage = "閫氱煡鍐呭鏄繀濉」銆�")]
+ public string Remark { get; set; }
+}
+
+public class CreateEditRateChannelOutput: CreateEditRateChannelInput
+{
+ public DateTime CreationTime { get; set; }
+}
+
+public class QueryRateChannelInput
+{
+ public LifePayRateChannelStatus? Status { get; set; }
+
+ /// <summary>
+ /// 鍏呭�肩被鍨�
+ /// </summary>
+ public LifePayOrderTypeEnum? LifePayOrderType { get; set; }
+}
\ No newline at end of file
--
Gitblit v1.9.1