添加项目文件。
This commit is contained in:
43
Atomx.Common/Entities/ManufacturerProductRelation.cs
Normal file
43
Atomx.Common/Entities/ManufacturerProductRelation.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Atomx.Common.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 制造商产品关系
|
||||
/// </summary>
|
||||
[Table("ManufacturerProductRelations")]
|
||||
public class ManufacturerProductRelation
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据ID
|
||||
/// </summary>
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
[Key]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产品ID
|
||||
/// </summary>
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 供应制造商ID
|
||||
/// </summary>
|
||||
public long ManufacturerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 预设默认制造加工费
|
||||
/// </summary>
|
||||
[Column(TypeName = "decimal(18,4)")]
|
||||
public decimal ProcessingFee { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 预设默认附加工费
|
||||
/// </summary>
|
||||
[Column(TypeName = "decimal(18,4)")]
|
||||
public decimal AdditionalFee { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user