123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using Ant.Core.SqlServer.BaseEntities;
- using Central.Control.WebApi.Enum;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Web;
- namespace Central.Control.WebApi.DbEntity
- {
-
-
-
- public class YW_Order : SoftBaseEntity
- {
-
-
-
- [Key]
- [MaxLength(50)]
- public string Id { set; get; } = string.Empty;
-
-
-
- [MaxLength(50)]
- [Required(AllowEmptyStrings = true)]
- public string DeviceId { set; get; } = string.Empty;
-
-
-
- [MaxLength(100)]
- [Required(AllowEmptyStrings = true)]
- public string Name { set; get; } = string.Empty;
-
-
-
- public decimal Price { set; get; }
-
-
-
- public PayStatusEnum PayStatus { set; get; } = PayStatusEnum.UnPay;
-
-
-
- public OrderStatusEnum OrderStatus { set; get; } = OrderStatusEnum.UnPay;
-
-
-
- [MaxLength(100)]
- [Required(AllowEmptyStrings = true)]
- public string PaySerialId { set; get; } = string.Empty;
-
-
-
- public PayWayEnum PayWay { set; get; } = PayWayEnum.UnKnow;
- }
- }
|