1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- 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;
-
-
-
- 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;
- }
- }
|