Zxd.Core/code/Zxd.Entity/Crm/Product.cs

65 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zxd.Entity.Crm
{
[Table("t_product")]
public class Product
{
[Key]
public int Pk { get; set; }
public string Id { get; set; }
public string? Name { get; set; }
public decimal Price { get; set; }
public int? Day { get; set; }
public string? Moduleid { get; set; }
public string? Remark { get; set; }
public string? Extinfo { get; set; }
public string? Appextinfo { get; set; }
public string? Appext { get; set; }
[Column("webimgurl")]
public string? WebImgUrl { get; set; }
[Column("appimgurl")]
public string? AppImgUrl { get; set; }
public int Active { get; set; }
public bool? Old { get; set; }
public int? Groupid { get; set; }
public DateTime Ctime { get; set; }
[Column("update_time")]
public DateTime UpdateTime { get; set; }
public int? BusinessType { get; set; }
public string? Ext { get; set; }
public bool? Compliance { get; set; }
[Column("effective_immediately")]
public bool? EffectiveImmediately { get; set; }
public virtual ProductGroup? ProductGroup { get; set; }
public virtual Module? Module { get; set; }
public virtual List<ProductTeacher>? ProductTeachers { get; set; }
}
}