namespace wcftest.orm
|
{
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
using System.Data.Entity.Spatial;
|
|
public partial class Rule_FlashSale
|
{
|
[Key]
|
public long FlashSale_Id { get; set; }
|
|
public long Product_Id { get; set; }
|
|
[Required]
|
[StringLength(50)]
|
public string ProductCode { get; set; }
|
|
[Required]
|
[StringLength(500)]
|
public string ProductName { get; set; }
|
|
public DateTime? StartDate { get; set; }
|
|
public DateTime? EndDate { get; set; }
|
|
public int? FlashSaleQuantity { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? SalePrice { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? FlashSalePrice { get; set; }
|
|
public string Explain { get; set; }
|
|
public int? Enable { get; set; }
|
|
public string Remark { get; set; }
|
|
public int? OrderNo { get; set; }
|
|
public int? CreateID { get; set; }
|
|
[StringLength(50)]
|
public string Creator { get; set; }
|
|
public DateTime? CreateDate { get; set; }
|
|
public int? ModifyID { get; set; }
|
|
[StringLength(50)]
|
public string Modifier { get; set; }
|
|
public DateTime? ModifyDate { get; set; }
|
|
public string ExpandFields { get; set; }
|
}
|
}
|