namespace EVCB_OCPP.Domain.Models.Database { using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; /// /// 版本發佈 /// [Table("PublishVersion")] public partial class PublishVersion { public PublishVersion() { PublishVersionFiles = new List(); } [Key] public int Id { get; set; } [Required] public DateTime CreatedOn { get; set; } /// /// 自動遞增的版號 /// [DisplayName("Version")] [Required] public int Version { get; set; } /// /// 客戶所使用的機器元件 /// [Required] public int CustomerMachineComponentId { get; set; } public virtual ICollection PublishVersionFiles { get; set; } public virtual CustomerMachineComponent CustomerMachineComponent { get; set; } } }