using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Repository.Domain
{
    [SugarTable("lasa_algorithmsrepository")]
    public class LasaAlgorithmsRepository
    {
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }
        public string Name { get; set; }
        public string Describe { get; set; }
        public string Pic { get; set; }
        public string Size { get; set; }
        public int Type { get; set; }
        public string Path { get; set; }
        public DateTime? CreateTime { get; set; }
        public string PushUrl { get; set; }
        public string PullUrl { get; set; }
        public string ServiceUrl { get; set; }
        public string SecretKey { get; set; }
        [Navigate(NavigateType.OneToMany, nameof(LasaModelLabel.PId))]
        public List<LasaModelLabel> ModelLabels { get; set; }
    }
}
