using Chuanyin.Attribute;
|
using CoreCms.Net.Model.Entities.baseModel;
|
using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace CoreCms.Net.Model.Entities.Order
|
{
|
/// <summary>
|
/// 计划订单表
|
/// </summary>
|
[SqlCodeFirst]
|
public class CoreCmsPlanOrder : BFBaseModel
|
{
|
|
/// <summary>
|
/// 构造函数
|
/// </summary>
|
public CoreCmsPlanOrder()
|
{
|
}
|
|
/// <summary>
|
/// 订单号
|
/// </summary>
|
[Display(Name = "订单号")]
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
|
|
public System.String orderId { get; set; }
|
|
|
/// <summary>
|
/// 省Id
|
/// </summary>
|
[Display(Name = "省Id")]
|
|
|
|
public System.Int32 shengId { get; set; }
|
|
|
/// <summary>
|
/// 市Id
|
/// </summary>
|
[Display(Name = "市Id")]
|
|
|
|
public System.Int32 shiId { get; set; }
|
|
|
|
/// <summary>
|
/// 市
|
/// </summary>
|
[Display(Name = "市")]
|
|
|
|
public System.String shi { get; set; }
|
|
|
/// <summary>
|
/// 区县Id
|
/// </summary>
|
[Display(Name = "区县Id")]
|
|
|
|
public System.Int32 quxianId { get; set; }
|
|
|
/// <summary>
|
/// 区县名称
|
/// </summary>
|
[Display(Name = "区县名称")]
|
|
|
|
public System.String quxian { get; set; }
|
|
|
/// <summary>
|
/// 片区
|
/// </summary>
|
[Display(Name = "片区")]
|
|
|
public System.String pianqu { get; set; }
|
|
/// <summary>
|
/// 调整订单金额
|
/// </summary>
|
[Display(Name = "调整订单金额")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Decimal orderAmount { get; set; }
|
|
/// <summary>
|
/// 订单状态
|
/// </summary>
|
[Display(Name = "订单状态")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Int32 status { get; set; }
|
|
|
/// <summary>
|
/// 用户ID 关联user.id
|
/// </summary>
|
[Display(Name = "用户ID 关联user.id")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Int32 userId { get; set; }
|
|
|
|
/// <summary>
|
/// 学校
|
/// </summary>
|
[Display(Name = "学校")]
|
|
|
[StringLength(maximumLength: 200, ErrorMessage = "{0}不能超过{1}字")]
|
|
|
public System.String shipAddress { get; set; }
|
|
|
/// <summary>
|
/// 联系人
|
/// </summary>
|
[Display(Name = "联系人")]
|
|
|
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String shipName { get; set; }
|
|
|
/// <summary>
|
/// 收货电话
|
/// </summary>
|
[Display(Name = "联系电话")]
|
|
|
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
|
|
public System.String shipMobile { get; set; }
|
|
|
|
/// <summary>
|
/// 收货地址
|
/// </summary>
|
[Display(Name = "收货地址")]
|
|
[StringLength(maximumLength: 200, ErrorMessage = "{0}不能超过{1}字")]
|
|
public System.String shouhuoAddress { get; set; }
|
|
|
|
|
|
|
/// <summary>
|
/// 计划订单金额
|
/// </summary>
|
[Display(Name = "计划订单金额")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Decimal oldOrderAmount { get; set; }
|
|
|
|
/// <summary>
|
/// 可用余额
|
/// </summary>
|
[Display(Name = "可用余额")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Decimal keYongAmount { get; set; }
|
|
|
/// <summary>
|
/// 状态说明
|
/// </summary>
|
[SugarColumn(IsIgnore = true)]
|
public string statusText { get; set; }
|
|
|
/// <summary>
|
/// 已花费金额
|
/// </summary>
|
[Display(Name = "已花费金额")]
|
|
[Required(ErrorMessage = "请输入{0}")]
|
|
|
|
public System.Decimal huaFeiAmount { get; set; }
|
}
|
}
|