/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email:
* CreateTime: 2021/7/12 0:34:54
* Description: 暂无
***********************************************************************/
using Chuanyin.Attribute;
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 发货单表
///
public partial class CoreCmsBillDelivery
{
///
/// 构造函数
///
public CoreCmsBillDelivery()
{
}
///
/// 发货单序列
///
[Display(Name = "发货单序列")]
[SugarColumn(IsPrimaryKey = true)]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
public System.String deliveryId { get; set; }
///
/// 订单号
///
[Display(Name = "订单号")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String orderId { get; set; }
///
/// 物流公司编码
///
[Display(Name = "物流公司编码")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String logiCode { get; set; }
///
/// 物流单号
///
[Display(Name = "物流单号")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String logiNo { get; set; }
///
/// 第三方对接物流编码
///
[Display(Name = "第三方对接物流编码")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String thirdPartylogiCode { get; set; }
///
/// 快递物流信息
///
[Display(Name = "快递物流信息")]
public System.String logiInformation { get; set; }
///
/// 快递是否不更新
///
[Display(Name = "快递是否不更新")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean logiStatus { get; set; }
///
/// 收货地区ID
///
[Display(Name = "收货地区ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 shipAreaId { get; set; }
///
/// 收货详细地址
///
[Display(Name = "收货详细地址")]
[StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
public System.String shipAddress { get; set; }
///
/// 收货人姓名
///
[Display(Name = "收货人姓名")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String shipName { get; set; }
///
/// 收货电话
///
[Display(Name = "收货电话")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String shipMobile { get; set; }
///
/// 状态
///
[Display(Name = "状态")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 status { get; set; }
///
/// 备注
///
[Display(Name = "备注")]
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String memo { get; set; }
///
/// 确认收货时间
///
[Display(Name = "确认收货时间")]
public System.DateTime? confirmTime { get; set; }
///
/// 创建时间
///
[Display(Name = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
///
/// 更新时间
///
[Display(Name = "更新时间")]
public System.DateTime? updateTime { get; set; }
///
/// SendDistributionID 发货经销商ID
///
[SugarColumn(ColumnDescription = "发货经销商ID")]
public int? sendDistributionID { get; set; }
///
/// 送货代理商用户ID
///
public int? sendDistributionUserID { get; set; }
///
/// sendDistributionAccept 经销商发货确认状态
///
[SugarColumn(ColumnDescription = "经销商发货确认状态")]
public sendDistributionAcceptType? sendDistributionAccept { get; set; }
}
///
/// 供应商送货确认状态
///
public enum sendDistributionAcceptType
{
///
/// 订单已被创建,等待处理。
///
[Description("接受")]
Accepted,
///
/// 订单商品已打包,准备或已经发出。
///
[Description("发货")]
Shipped,
///
/// 订单商品已成功送达客户手中。 客户确认收货
///
[Description("送达")]
Delivered,
///
/// 订单被用户或系统取消。
///
[Description("取消")]
Cancelled,
///
/// 订单处理超过了预定的时间限制,自动取消。
///
[Description("超时")]
TimedOut,
///
/// 等待确认接受
///
[Description("等待确认接受")]
NoAccted,
///
/// 奖励确认
///
[Description("奖励确认")]
OderFreeComplete,
}
}