using System; using System.ComponentModel.DataAnnotations; namespace CRM.Core.Model.Entity { public class Mon_Order_Act { public Mon_Order_Act() { } public Mon_Order_Act(string id, DateTime actDay, string userName, int midProductId, string midProductName, string teaCher, decimal? payPrice, decimal? usePrice, decimal actPrice, int dayCount, int orderId, string remark, DateTime oTime) { Id = id; ActDay = actDay; UserName = userName; MidProductId = midProductId; MidProductName = midProductName; TeaCher = teaCher; PayPrice = payPrice; UsePrice = usePrice; ActPrice = actPrice; DayCount = dayCount; Status = 0; OrderId = orderId; CTime = DateTime.Now; Remark = remark; OTime = oTime; } [Key] public int XuHao { get; set; } public string Id { get; set; } public DateTime ActDay { get; set; } public string UserName { get; set; } public int MidProductId { get; set; } public string MidProductName { get; set; } public string TeaCher { get; set; } public decimal? PayPrice { get; set; } public decimal? UsePrice { get; set; } public decimal ActPrice { get; set; } public int DayCount { get; set; } public int Status { get; set; } public int OrderId { get; set; } public DateTime CTime { get; set; } public string Remark { get; set; } public DateTime OTime { get; set; } } }