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_Gift
|
{
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
public Rule_Gift()
|
{
|
Rule_GiftImage = new HashSet<Rule_GiftImage>();
|
}
|
|
[Key]
|
public long Gift_Id { get; set; }
|
|
[StringLength(50)]
|
public string GiftName { get; set; }
|
|
[StringLength(3000)]
|
public string DefaultImage { get; set; }
|
|
[StringLength(50)]
|
public string Unit { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? PurchasePrice { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? SalePrice { get; set; }
|
|
public int? ConvertPoint { get; set; }
|
|
public byte? IsAllowDownload { get; set; }
|
|
public byte? IsPromotion { get; set; }
|
|
[StringLength(300)]
|
public string Brief { get; set; }
|
|
[StringLength(4000)]
|
public string Details { get; set; }
|
|
[StringLength(500)]
|
public string DetailsTitle { get; set; }
|
|
[StringLength(500)]
|
public string DetailsKeyword { get; set; }
|
|
[StringLength(4000)]
|
public string DetailedDescription { 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_GiftImage> Rule_GiftImage { get; set; }
|
}
|
}
|