mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 05:05:00 +00:00
14 lines
389 B
C#
14 lines
389 B
C#
using System;
|
|
|
|
namespace SourceGit.Models
|
|
{
|
|
public class Stash
|
|
{
|
|
public string Name { get; set; } = "";
|
|
public string SHA { get; set; } = "";
|
|
public ulong Time { get; set; } = 0;
|
|
public string Message { get; set; } = "";
|
|
|
|
public string TimeStr => DateTime.UnixEpoch.AddSeconds(Time).ToLocalTime().ToString("yyyy/MM/dd HH:mm:ss");
|
|
}
|
|
}
|