You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

129 lines
3.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ys.Core.Common;
using FreeSql.DataAnnotations;
namespace djy.Paas.Model
{/// <summary>
/// 提箱小票日志
/// </summary>
public class tb_txxp_BillPrintLogs : DataBase
{
/// <summary>
/// 提箱小票Guid
/// </summary>
public Guid? TxxpGid { get; set; }
/// <summary>
/// 提货单gid
/// </summary>
[Column(IsIgnore =true)]
public string billOrderId { get; set; }
/// <summary>
/// 提单号
/// </summary>
[Column(IsIgnore = true)]
public string SendOrderCode { get; set; }
/// <summary>
/// <summary>
/// 操作员
/// </summary>
public string OperatorName { get; set; }
/// <summary>
/// 打印的货柜情况 C40*2 H20*3
/// </summary>
public string BoxInfo { get; set; }
/// <summary>
/// 日志类型 0 正常操作日志 1订阅调用日志
/// </summary>
public int Types { get; set; }
/// <summary>
/// 订阅Email
/// </summary>
public string Email { get; set; }
/// <summary>
/// Email发送状态
/// </summary>
public short EmailPullStatus { get; set; }
/// <summary>
/// 微信订阅openid 多个,间隔
/// </summary>
public string WxOpenId { get; set; }
/// <summary>
///微信消息推送状态
/// </summary>
public short WxPullStatus { get; set; }
/// <summary>
/// 任务重试次数
/// </summary>
public int TaskInt { get; set; }
/// <summary>
/// 启动的任务ID
/// </summary>
public string TaskId { get; set; }
/// <summary>
/// 是否启动任务
/// </summary>
public bool TaskStatus { get; set; } = false;
/// <summary>
/// 生成的打印PDF
/// </summary>
[Column(StringLength =500)]
public string PdfUrl { get; set; }
/// <summary>
/// 上传的文件保函
/// </summary>
[Column(StringLength =500)]
public string FileUrl { get; set; }
/// <summary>
/// 计费费用
/// </summary>
[Column(Scale =2)]
public decimal Money { get; set; }
/// <summary>
/// 是否已经支付同步到大简云 0 没有 1 已经同步
/// </summary>
public int PayStatus { get; set; } = 0;
/// <summary>
/// 备注说明
/// </summary>
[Column(StringLength = 4000)]
public string Memo { get; set; }
/// <summary>
/// 小票有效期
/// </summary>
public long EndTime { get; set; }
/// <summary>
/// 请求的返回数据
/// </summary>
[Column(StringLength =2000)]
public string GetHtml { get; set; }
/// <summary>
/// 返回的消息
/// </summary>
[Column(IsIgnore =true)]
public string Getmessage { get {
var msg = "";
try
{
if (GetHtml.IsNotNull()) {
msg = System.Text.Json.JsonSerializer.Deserialize<System.Text.Json.JsonElement>(GetHtml).GetProperty("message").GetString();
}
}
catch { }
return msg;
} }
/// <summary>
///父级gId 用于事务
/// </summary>
public Guid? FatherGid { get; set; }
}
}