91 lines
2.3 KiB
C#
91 lines
2.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SqlSugar;
|
|
using OfficeOpenXml.Attributes;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ARW.Model.Models.Business.OrderTasks
|
|
{
|
|
/// <summary>
|
|
/// 订单取消任务,数据实体对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-10-23
|
|
/// </summary>
|
|
[SugarTable("tb_order_task")]
|
|
public class OrderTask : BusinessBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 描述 :订单取消任务id
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "order_task_id")]
|
|
public int OrderTaskId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :订单取消任务guid
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "order_task_guid")]
|
|
public long OrderTaskGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :客户guid(外键)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "customer_guid")]
|
|
public long CustomerGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :订单guid(外键)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "order_guid")]
|
|
public long OrderGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :订单结束时间
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "end_time")]
|
|
public DateTime? EndTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :订单支付状态(1未支付 2已支付)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "pay_status")]
|
|
public int PayStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :订单取消状态(1待取消 2已取消)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "cancel_status")]
|
|
public int CancelStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :失败原因
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "error_msg")]
|
|
public string ErrorMsg { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |