using SqlSugar;
namespace YBDevice.Entity
{
///
/// 出货系统
///
[SugarTable("YB_OutProduct", TableDescription = "出货系统", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
public class YB_OutProduct
{
///
///
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public System.Int32 Id { get; set; }
///
/// 出货类型,1-出货,2-退货
///
[SugarColumn(ColumnDescription = "出货类型,1-出货,2-退货")]
public OutProductType Type { get; set; }
///
/// 支付类型,1-发货付款,2-到付
///
[SugarColumn(ColumnDescription = "支付类型,1-发货付款,2-到付")]
public OutProductPayType PayType { get; set; }
///
/// 设备类型,参考设备类型表
///
[SugarColumn(ColumnDescription = "设备类型,参考设备类型表")]
public System.Int32 DevType { get; set; }
///
/// 快递公司
///
[SugarColumn(ColumnDescription = "快递公司")]
public System.Int32 Express { get; set; }
///
/// 快递单号
///
[SugarColumn(ColumnDescription = "快递单号", ColumnDataType = "varchar(50)")]
public System.String ExpressNo { get; set; }
///
/// 物流费用
///
[SugarColumn(ColumnDescription = "物流费用", ColumnDataType = "decimal(18,2)")]
public System.Decimal ExpressAmount { get; set; }
///
/// 服务商ID
///
[SugarColumn(ColumnDescription = "服务商ID")]
public System.Int32 BusinessId { get; set; }
///
/// 设备数量
///
[SugarColumn(ColumnDescription = "设备数量")]
public System.Int32 Cnt { get; set; }
///
/// 发件人
///
[SugarColumn(ColumnDescription = "发件人", ColumnDataType = "nvarchar(50)")]
public System.String Sender { get; set; }
///
/// 发件人电话
///
[SugarColumn(ColumnDescription = "发件人电话", ColumnDataType = "varchar(20)")]
public System.String SenderPhone { get; set; }
///
/// 发送地址
///
[SugarColumn(ColumnDescription = "发送地址", ColumnDataType = "nvarchar(200)")]
public System.String SenderAddress { get; set; }
///
/// 收件人
///
[SugarColumn(ColumnDescription = "收件人", ColumnDataType = "nvarchar(50)")]
public System.String Recver { get; set; }
///
/// 收件电话
///
[SugarColumn(ColumnDescription = "收件电话", ColumnDataType = "varchar(20)")]
public System.String RecverPhone { get; set; }
///
/// 收货地址
///
[SugarColumn(ColumnDescription = "收货地址", ColumnDataType = "nvarchar(200)")]
public System.String RecverAdderess { get; set; }
///
/// 发货备注
///
[SugarColumn(ColumnDescription = "发货备注", ColumnDataType = "nvarchar(200)")]
public System.String SenderRemark { get; set; }
///
/// 收货备注
///
[SugarColumn(ColumnDescription = "收货备注", ColumnDataType = "nvarchar(200)")]
public System.String RecverRemark { get; set; }
///
/// 取消原因
///
[SugarColumn(ColumnDescription = "取消原因", ColumnDataType = "nvarchar(200)")]
public System.String CancelRemark { get; set; }
///
/// 收货时间
///
[SugarColumn(ColumnDescription = "收货时间", IsNullable =true)]
public System.DateTime? RecvTime { get; set; }
///
/// 发货时间
///
[SugarColumn(ColumnDescription = "发货时间", IsNullable =true)]
public System.DateTime? SendTime { get; set; }
///
/// 状态,0-已下单,1-设备已打包,2-已发货,3-运送中,4-已收货,5-取消
///
[SugarColumn(ColumnDescription = "状态,0-已下单,1-设备已打包,2-已发货,3-运送中,4-已收货,5-取消")]
public OutProductStatus Status { get; set; }
///
/// 上传的设备文件
///
[SugarColumn(ColumnDescription = "上传的设备文件", ColumnDataType = "varchar(100)")]
public System.String FilePath { get; set; }
///
/// 上传失败的文件
///
[SugarColumn(ColumnDescription = "上传失败的文件", ColumnDataType = "varchar(100)")]
public System.String FailPath { get; set; }
///
/// 下单时间
///
[SugarColumn(ColumnDescription = "下单时间")]
public System.DateTime CreateTime { get; set; }
}
}