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_ProductPromotion
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public Rule_ProductPromotion()
|
{
|
Rule_ProductPromotionGift = new HashSet<Rule_ProductPromotionGift>();
|
Rule_ProductPromotionList = new HashSet<Rule_ProductPromotionList>();
|
}
|
|
[Key]
|
public long Promotion_Id { get; set; }
|
|
[StringLength(500)]
|
public string PromotionName { get; set; }
|
|
[StringLength(50)]
|
public string PromotionType { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? DiscountedValue { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? SaleAmount { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? StandByAmount { get; set; }
|
|
public int? BuyQuantity { get; set; }
|
|
public int? GiftQuantity { get; set; }
|
|
public DateTime? StartDate { get; set; }
|
|
public DateTime? EndDate { get; set; }
|
|
[StringLength(50)]
|
public string MembershipLevel { get; set; }
|
|
public string PromotionDetails { 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; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Rule_ProductPromotionGift> Rule_ProductPromotionGift { get; set; }
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
public virtual ICollection<Rule_ProductPromotionList> Rule_ProductPromotionList { get; set; }
|
}
|
}
|