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_Coupon
|
{
|
[Key]
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
public long Coupon_Id { get; set; }
|
|
[StringLength(500)]
|
public string CouponName { get; set; }
|
|
public DateTime? StartDate { get; set; }
|
|
public DateTime? EndDate { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal MeetAmount { get; set; }
|
|
[Column(TypeName = "money")]
|
public decimal? DeductibleAmount { get; set; }
|
|
public int? CouponQuantity { get; set; }
|
|
public int? UseCouponQuantity { get; set; }
|
|
public int? ConvertPoint { 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; }
|
}
|
}
|