1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- using Ant.Core.SqlServer.BaseEntities;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Web;
- namespace Central.Control.WebApi.DbEntity
- {
-
-
-
- public class YW_OrderDetails : SoftBaseEntity
- {
-
-
-
- [Key]
- [MaxLength(50)]
- public string Id { set; get; } = string.Empty;
-
-
-
- [MaxLength(50)]
- [Required(AllowEmptyStrings = true)]
- public string OrderId { set; get; } = string.Empty;
-
-
-
- [MaxLength(50)]
- [Required(AllowEmptyStrings = true)]
- public string ProductId { set; get; } = string.Empty;
-
-
-
- [MaxLength(100)]
- [Required(AllowEmptyStrings = true)]
- public string Name { set; get; } = string.Empty;
-
-
-
- [MaxLength(50)]
- [Required(AllowEmptyStrings = true)]
- public string Code { set; get; } = string.Empty;
-
-
-
- [MaxLength(200)]
- [Required(AllowEmptyStrings = true)]
- public string Img { set; get; } = string.Empty;
-
-
-
- [MaxLength(200)]
- [Required(AllowEmptyStrings = true)]
- public string Info { set; get; } = string.Empty;
-
-
-
- public decimal Price { set; get; }
-
-
-
- public decimal BuyingPrice { set; get; }
-
-
-
- public int Count { set; get; }
- }
- }
|