zhengyiming
1 天以前 f99f2d0410f811f6679149e6a8eea6037b80474a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using 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 int Code { get; set; }
 
    /// <summary>
    /// 供应商折扣
    /// </summary>
    [Required(ErrorMessage = "供应商折扣是必填项。")]
    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; }
}