44 lines
888 B
C#
44 lines
888 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Dlhis.Canteen.Order.Response;
|
|
|
|
public class OrderResultResponse
|
|
{
|
|
/// <summary>
|
|
/// 用户工号
|
|
/// </summary>
|
|
public string UserCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户名称
|
|
/// </summary>
|
|
public string UserName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 部门号
|
|
/// </summary>
|
|
public string DepartmentNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 部门名称
|
|
/// </summary>
|
|
public string DepartmentName { get; set; }
|
|
|
|
|
|
[JsonIgnore]
|
|
public decimal CurrentBalance { get; set; }
|
|
|
|
/// <summary>
|
|
/// 余额
|
|
/// </summary>
|
|
public string Balance => CurrentBalance.ToString("f2");
|
|
|
|
|
|
[JsonIgnore]
|
|
public decimal CurrentTotalBalance { get; set; }
|
|
|
|
/// <summary>
|
|
/// 总余额
|
|
/// </summary>
|
|
public string TotalBalance => CurrentTotalBalance.ToString("f2");
|
|
} |