36 lines
909 B
C#
36 lines
909 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Atomx.Common.Entities
|
|
{
|
|
/// <summary>
|
|
/// 企业供应商关系
|
|
/// </summary>
|
|
[Table("CorporationManufacturerRelations")]
|
|
public class CorporationManufacturerRelation
|
|
{
|
|
/// <summary>
|
|
/// 产品属性关联数据ID
|
|
/// </summary>
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
[Key]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 企业ID
|
|
/// </summary>
|
|
public long CorporationId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 供应制造商ID
|
|
/// </summary>
|
|
public long ManufacturerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Column(TypeName = "timestamptz")]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|