using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HRM.BO { public class TaxReturn: BasicBaseObject { public int EmployeeID { get; set; } public int TaxParamID { get; set; } public string Circle { get; set; } public string TaxZone { get; set; } public string TaxUnit { get; set; } public string Serial { get; set; } public TaxReturnAttachment TaxAttachment { get; set; } public EnumReturnStatus ReturnStatus { get; set; } public DateTime ReturnSubmissionDate { get; set; } public DateTime TimeExtension { get; set; } public string? Reason { get; set; } public int? AcknowledgedBy { get; set; } public DateTime? AcknowledgedDate { get; set; } } public class TaxReturnAttachment : BasicBaseObject { public int EmployeeID { get; set; } public EnumTaxAttachmentType FileType { get; set; } public int ReferenceID { get; set; } public string FileName { get; set; } public string FileTobase64 { get; set; } public EnumFileFormat FileFormat { get; set; } public object FileData { get; set; } } public interface ITaxReturnService { TaxReturn Get(int id); TaxReturn Get(int empId, int taxParamId); DataSet GetTaxReturnByEmpId(int empId); List Get(); DataSet GetByTaxParamId(int taxParamId); DataSet GetByTaxParamId(int taxParamId, EnumReturnStatus returnStatus); int Save(TaxReturn item); int UpdateTaxReturnStatus(TaxReturn oTaxReturn); void Delete(int id); void DeleteByEmployeeAndTaxParamId(int empId, int taxParamId); DataTable Get108AReport(string sEmpNo, int taxParamID); void UploadFile(TaxReturnAttachment item); TaxReturnAttachment GetFile(int empId, int referenceId, EnumTaxAttachmentType type); List GetAllFileByReferenceIds(string referenceIds); } }