using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System;

namespace Ropin.Inspection.Model.Entities
{
    public class TDEV_DevStore
    {
        [Key]
        [MaxLength(50)]
        public string C_ID { get; set; }
        [MaxLength(100)]
        [Required]
        public string C_Name { get; set; }
        [MaxLength(50)]
        [Required]
        public string C_DevTempCode { get; set; }

        [MaxLength(50)]
        [Required]
        public string C_StoreCode { get; set; }
        [MaxLength(50)]
        public string C_NumberCode { get; set; }
        [MaxLength(50)]
        public string C_OpsTempCode { get; set; }
        [MaxLength(50)]
        public string C_RepairTempCode { get; set; }
        public string C_RunTempCode { get; set; }
        public string C_PlanTempCode { get; set; }
        public string C_ContractNumber { get; set; }
        public DateTime? D_DevOpsStart { get; set; }
        public DateTime? D_DevOpsEnd { get; set; }
        public string C_DevQRUrl { get; set; }
        public string C_GPS { get; set; }
        public string C_RunSpotConfig { get; set; }
        public string C_UserConfig { get; set; }
        [MaxLength(255)]
        public string C_Url { get; set; }

        [MaxLength(255)]
        public string C_StaticUrl { get; set; }

        public string C_RunRecord { get; set; }

        [Display(Name = "备注")]
        [MaxLength(1024)]
        public string C_Remark { get; set; }
        [Display(Name = "创建人")]
        [Required]
        public Guid C_CreateBy { get; set; }
        [Display(Name = "创建时间")]
        [Required]
        public DateTime D_CreateOn { get; set; }
        [Display(Name = "更新者")]
        public Guid? C_LastUpdatedBy { get; set; }
        [Display(Name = "更新时间")]
        public DateTime? D_LastUpdatedOn { get; set; }
        [Display(Name = "状态")]
        [Required]
        [MaxLength(1)]
        public string C_Status { get; set; } = "1";

        public int I_Sort { get; set; }
    }
}