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_OrderPromotion
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public Rule_OrderPromotion()
|
{
|
Rule_OrderPromotionList = new HashSet<Rule_OrderPromotionList>();
|
}
|
|
[Key]
|
public long OrderPromotion_Id { get; set; }
|
|
[StringLength(500)]
|
public string OrderName { get; set; }
|
|
[StringLength(50)]
|
public string OrderType { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? MeetAmount { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? DiscountedValue { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? StandByAmount { get; set; }
|
|
[StringLength(50)]
|
public string MembershipLevel { get; set; }
|
|
public DateTime? StartDate { get; set; }
|
|
public DateTime? EndDate { 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_OrderPromotionList> Rule_OrderPromotionList { get; set; }
|
}
|
}
|